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

Re: OpenLdap test fails



Hi,
Few errors that I see in the test-db/master.log  are:

daemon: bind(7) failed errno=126 (Cannot assign requested address)
...........
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)
====> bdb_cache_release_all
slapd stopped.


Do I need to install  "bind" package?

Thanks
Shane

--------- Original Message ---------

DATE: Mon, 26 Jan 2004 19:02:29
From: "Alan Sparks" <asparks@doublesparks.net>
To: <sh302@lycos.com>
Cc: <openldap-software@OpenLDAP.org>

>S D said:
>>
>> Hi, I have a solaris machine, the openldap compile have
>> been successful (configure, make depend, make) but the
>> "make test" fails.
>>
>> $ ./configure --with-cyrus-sasl --with-bdb --with-tls
>> $ make depend
>> $ make
>> $ make test
>> make[1]: Entering directory `/src/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)
>> 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...
>> ./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
>
>First thing: look at the tests/test-db/master.log file.  You may get some
>useful info there.  If it isn't obvious, post what you get there (at least
>anything looking like "bad messages").
>-Alan
>
>===========
>Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>
>
>
>



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005