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

RE: Database cannot be opened



Slight correction, sorry, the message before was if I executed:

/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -d 255

But, if I execute:

make test

I get:

cd tests; make test
make[1]: Entering directory `/usr/local/openldap-2.3.20/tests'
make[2]: Entering directory `/usr/local/openldap-2.3.20/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
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: (8620) - 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/local/openldap-2.3.20/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/openldap-2.3.20/tests'
make: *** [test] Error 2

What can I investigate to help figure this out??

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Dave Horsfall
Sent: Wednesday, March 08, 2006 4:49 PM
To: OpenLDAP Software List
Subject: RE: Database cannot be opened

On Wed, 8 Mar 2006, Anagnost, Ted wrote:

> I put the .tgz under /usr/local and followed the directions from 
> www.openldap.org/doc/admin23/quickstart.html.
> Below is /usr/local/openldap-2.3.30/tests/testrun/slapd.1.log.
> ./testrun/db.1.a only has a file called 'alock' in it.
[...]
> bdb(o=OpenLDAP Project,l=Internet): Berkeley DB library configured to 
> support only DB_PRIVATE environments

This appears to be the nub of the problem, and a little Googling finds:

http://www.openldap.org/lists/openldap-software/200512/msg00101.html

--
Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9552-5509 (d) -5500
(sw) Corinthian Engrng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont
2009, AU