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

DB_PRIVATE flag...



hello,

I want to disable DB_PRIVATE flag from ldap server so that I can use
berkeley db utilities. I am using openldap 2.0.11 and berkeley db 3.2.9
I disabled this flag and rebuilt the ldap server. when I run make test I
get following error. I have also included the "master.log" file created
in test-db directory. please let me know how can I make the environment
"public" so that I can use utilities like db_stat from berkeley db.

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: 364773407: 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
# 


log file generated
-------------------

@(#) $OpenLDAP: slapd 2.0.11-Release (Fri Aug 17 18:38:12 UTC 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