[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: LDAP 2.3.12 is not working!!!
i use Fedora 4, OpenLdap 2.3.12 , DB Berkely 4.4
i made ./configure && make depend && make
when i run "make test" i got the following error:
********************************************************************************
cd tests; make test
make[1]: Entering directory `/0/openldap-2.3.12/tests'
make[2]: Entering directory `/0/openldap-2.3.12/tests'
Initiating LDAP tests for BDB...
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: (9537) - 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 `/0/openldap-2.3.12/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/0/openldap-2.3.12/tests'
make: *** [test] Error 2
*********************************************************************************
i tried to start the slapd "/usr/local/libexec/slapd -u root -d255" and i got the following error:
*********************************************************************************
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: dbenv_open(/usr/local/var/openldap-data)
bdb(dc=example,dc=com): Berkeley DB library configured to support only private environments
bdb_db_open: Recovery needed but environment is missing - assuming recovery was done manually...
bdb(dc=example,dc=com): Berkeley DB library configured to support only private environments
bdb_db_open: dbenv_open failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
slapd shutdown: initiated
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
*********************************************************************************
i hope u can help!
thanks a lot
Amir Saad
Software Engineer
________________________________
From: matthew sporleder [mailto:msporleder@gmail.com]
Sent: Fri 12/2/2005 5:14 PM
To: Amir Saad
Cc: OpenLDAP-software@openldap.org
Subject: Re: LDAP 2.3.12 is not working!!!
Try running slapd with -d ### to get some idea of why it didn't start.
On 12/1/05, Amir Saad <Amir.Saad@bibalex.org> wrote:
> Dear all,
> i used OpenLdap 2.3.11 , i had some troubles with SSL so that i got replies advising to upgrade to version 2.3.12
> i removed the old version and i made the following:
> su root
> ./configure --with-tls --enable-spasswd
> make depend && make && make install
> then i created the database folder and i created the DB_CONFIG in the data folder
> i tried to run slapd as: /usr/local/libexec/slapd -u root
> but it didn't start!
> can u help?
> thanks alot
> Amir Saad
> Software Engineer
>