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

question regarding DB_PRIVATE..



hello,

I am using openldap 2.0.11 with berkeleydb 3.2.9 on QNX. I want to use
utilities provided by berkeleydb such as db_stat and others. But this
requires that DB_PRIVATE flag is not set for the environment. So I tried
to compile the openldap package after disabling this option by removing
it from ldbm.c file.

after the package is built, when I run make test, tests fail..

following is the output that I get... I have also included the
master.log file at the end. Please let me know if it is possible to run
openldap with DB_PRIVATE not set. if so, what else needs to be done...

Thanks,
-anish

# make test
cd tests; make test
make[1]: Entering directory `/home/asheth/ldap/openldap-2.0.11/tests'
ln: Destination path is an existing directory. (.//data)
make[1]: [test-ldbm] Error 1 (ignored)
ln: Target file './schema' already exists. Use ln -f or -i to overwrite.
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...
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[37]: kill: 303632423: No such process
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/asheth/ldap/openldap-2.0.11/tests'
make: *** [test] Error 2
# 

master.log file.
----------------

@(#) $OpenLDAP: slapd 2.0.11-Release (Fri Aug 10 08:58:44 GMT 2001) $
        root@transmeta:/home/asheth/ldap/openldap-2.0.11/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.
slapd startup: initiated.
backend_startup: bi_open 0 failed!
slapd shutdown: initiated
ldbm backend syncing
ldbm backend done syncing
====> cache_release_all