[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
make test problems
i can't quite figure out this thing, so bdb compiled fine, and openldap make had no error, but the make test keep failing.
i see couples of instances of this particular issue on google, yet i cant see a good answer to fix this problem
make[1]: Entering directory `/home/source-code/build/openldap-2.1.25/tests'
ln: cannot create ./data: File exists
make[1]: [test-bdb] Error 2 (ignored)
ln: cannot create ./schema: File exists
make[1]: [test-bdb] Error 2 (ignored)
ln: cannot create ucdata/liblunicode: File exists
make[1]: [test-bdb] Error 2 (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...
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: 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 `/home/source-code/build/openldap-2.1.25/tests'
so relevant parts of the master.log says..
@(#) $OpenLDAP: slapd 2.1.25 (Feb 5 2004 18:00:52) $
root@needlefish:/home/source-code/build/openldap-2.1.25/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: bind(7) failed errno=126 (Cannot assign requested address)
daemon: initialized ldap://localhost:9009/
daemon: initialized ldap://localhost:9009/
daemon_init: 2 listeners opened
slapd startup: initiated.
bdb_db_open: o=OpenLDAP Project,l=Internet
bdb_db_open: dbenv_open(./test-db)
bdb(o=OpenLDAP Project,l=Internet): mmap: Resource temporarily unavailable
bdb_db_open: dbenv_open failed: Resource temporarily unavailable (11)
backend_startup: bi_db_open(0) failed! (11)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd shutdown: freeing system resources.
bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
now i thought it was tcp wrapper not letting me start the bdb so i disabled that tag, still no go..
any insights would be appreciated
m