[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd assertion in OpenLdap 2.0.21 with RH 7.2
At 01:21 PM 2002-01-20, Scott Stanley wrote:
>I am currently using OpenLdap 2.0.11 with RedHat 7.2 and Sleepycat 3.2.9. I
>have been trying to upgrade to OpenLdap 2.0.21, but when I try "make test"
>after a clean compile it fails with a core dump.
>
>Here is the "make test" output:
>
>$ make test
>cd tests; make test
>make[1]: Entering directory `/home/src/openldap-2.0.21/tests'
>ln: `./data': cannot overwrite directory
>make[1]: [test-ldbm] Error 1 (ignored)
>ln: `./schema': File exists
>make[1]: [test-ldbm] Error 1 (ignored)
>Initiating LDAP tests for LDBM...
>>>>>> Executing all LDAP tests...
>>>>>> Test Directory: .
>>>>>> Backend: ldbm
>>>>>> Starting test000-rootdse ...
>running defines.sh . ldbm
>Datadir is ./data
>Cleaning up in ./test-db...
>Starting slapd on TCP/IP port 9009...
>Using ldapsearch to retrieve all the entries...
>Waiting 5 seconds for slapd to start...
>./scripts/test000-rootdse: line 35: 1045 Aborted (core
>dumped) $SLAPD -f $SCHEMACONF -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...
>Waiting 5 seconds for slapd to start...
>Waiting 5 seconds for slapd to start...
>./scripts/test000-rootdse: kill: (1045) - No such pid
>ldap_bind: Can't contact LDAP server
>>>>>> Test failed
>>>>>> ./scripts/test000-rootdse failed (exit 1)
>make[1]: *** [test-ldbm] Error 1
>make[1]: Leaving directory `/home/src/openldap-2.0.21/tests'
>make: *** [test] Error 2
>
>
>The $MASTERLOG output shows a slapd Assertion:
>
>
>@(#) $OpenLDAP: slapd 2.0.21-Release (Sun Jan 20 11:05:10 PST 2002) $
> root@zaphod:/home/src/openldap-2.0.21/servers/slapd
>daemon_init: ldap://localhost:9009/
>daemon_init: listen on ldap://localhost:9009/
>daemon_init: 1 listeners to open...
>ldap_url_parse_ext(ldap://localhost:9009/)
>daemon: initialized ldap://localhost:9009/
>daemon_init: 1 listeners opened
>slapd init: initiated server.
>slap_sasl_init: initialized!
>slapd startup: initiated.
>backend_startup: bi_open 0 failed!
This error implies that the slapd(8) was unable to
open the 0th database. Running tests with more logging
env SLAPD_DEBUG=-1 make test
will print additional information which may indicate the
nature of the error.
>slapd shutdown: initiated
>ldbm backend syncing
>ldbm backend done syncing
>====> cache_release_all
>slapd: rdwr.c:75: ldap_pvt_thread_rdwr_destroy: Assertion `rw != ((void
>*)0)' failed.
This indicates a problem in shutting down, the real problem
is above.
Kurt