[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: make test fails
* Michele Cerioni <michele@protocol.it> [27-03-03 10:56]:
> Hi,
> I have a problem with make test.
> I installed openldap on slackware 2.4.19 with BerkeleyDB.4.1.
>
> I typed ./configure --enable-bdb --enable-wrappers --with-cyrus-sasl
> --with-threads --disable-ipv6
> make depend
> make test
>
> this is the output:
>
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start
> cd tests; make test
> make[1]: Entering directory `/download/network/openldap-2.1.12/tests'
> ln: `./data': cannot overwrite directory
> make[1]: [test-bdb] Error 1 (ignored)
> ln: `./schema': File exists
> make[1]: [test-bdb] Error 1 (ignored)
> Initiating LDAP tests for BDB...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: bdb
> >>>>> Starting test000-rootdse ...
> running defines.sh
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve the root DSE...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: line 49: 9768 Segmentation fault $SLAPD
> -f $DBCONF -h $MASTERURI -d $LVL $TIMING >$MASTERLOG 2>&1
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: line 57: kill: (9768) - No such process
> ldap_bind: Can't contact LDAP server (81)
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: *** [test-bdb] Error 1
> make[1]: Leaving directory `/download/network/openldap-2.1.12/tests'
> make: *** [test] Error 2
>
I got the same error when compiling a CVS version (close to 2.1.16 I
think) and the reason was incorrect db4 version (4.0.x), somehow slapd was
linked against db4.0 and segfault'ed on start-up. Check by issuing a
ldd slapd.
You can also check the log ($MASTERLOG from scripts/test000-rootdse)
and see the reason slapd didn't start.
mitu