[Date Prev][Date Next] [Chronological] [Thread] [Top]

make test failure




Hello,

I have RedHat ES 4 Update 2  Linux 2.6.9-22.EL
I trying to install openldap-2.3.19  (openldap-stable-20060127)
configure, make depend amb make don't report any error
But make test, yes

cd tests; make test
make[1]: Entering directory `/usr/openldap-2.3.19/tests'
make[2]: Entering directory `/usr/openldap-2.3.19/tests'
Initiating LDAP tests for BDB...
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
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...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 66: kill: (20641) - No such process
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/usr/openldap-2.3.19/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/openldap-2.3.19/tests'
make: *** [test] Error 2

in /var/log/message ->

slapd[20641]: sql_select option missing
slapd[20641]: auxpropfunc error no mechanism available

in /usr/openldap-2.3.19/tests/testrun/sldap.1.log

slapd startup: initiated.
backend_startup_one: starting "cn=config"
backend_startup_one: starting "o=OpenLDAP Project,l=Internet"
bdb_db_open: o=OpenLDAP Project,l=Internet
bdb_db_open: Warning - No DB_CONFIG file found in directory
./testrun/db.1.a: (2)
Expect poor performance for suffix o=OpenLDAP Project,l=Internet.
bdb_db_open: dbenv_open(./testrun/db.1.a)
bdb(o=OpenLDAP Project,l=Internet): Berkeley DB library configured to
support only DB_PRIVATE environments
bdb_db_open: Database cannot be opened, err 22. Restore from backup!
====> bdb_cache_release_all
bdb(o=OpenLDAP Project,l=Internet): DB_ENV->lock_id_free interface requires
an environment configured for the locking subsystem
bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface requires an
environment configured for the transaction subsystem
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
slapd shutdown: initiated
====> bdb_cache_release_all
bdb_db_close: alock_close failed
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.


There's no problem with the owner of the files.

Any idea of which element is the problem?

Thank you,