[Date Prev][Date Next]
RE: slapd service started but no one could enter in server
Please give me a hand here. This should be easy. For sure I'm doing
I've tried to do this:
1 - db_recover to the openLDAP since the files /usr/local/var/openldap-data
>/usr/local/BerkeleyDB.4.4/bin/db_recover -c -h
db_recover: unable to join the environment
( A ) Why does return this error?
( B ) The db_recover ends and the ldap starts to work even with that
2 - Starts the ldap server in debug mode and gives me these last lines
>"bdb_db_open: unclean shutdown detected; attempting recovery.
>daemon: added 4r
>daemon: added 7r
>daemon: added 8r
>daemon: select: listen=7 active_threads=0 tvp=zero
>daemon: select: listen=8 active_threads=0 tvp=zero
( C ) When the ldap server doesn't start didn't gives me the 6 last
( D ) It continues to give me the error "bdb_db_open: unclean shutdown
detected; attempting recovery.".
Why? I didn't do nothing to corrupt the database. I only access
3 - How should we stop ldap server service.
I use the one that the manual indicates: kill the process
( E ) Is there any new method that stops the ldap correctly?
Please give me a hand here
Thks in advance
- OpenLDAP v2.3.20
- SleepyCat v4.4
1 - Use slapadd to restore ldap
2 - start ldap service OK
3 - use ldap server OK
4 - need to shutdown server
5 - restart ldap server in debug mode
6 - in the last lines gives me this
slapd startup: initiated.
backend_startup_one: starting "cn=config"
backend_startup_one: starting "dc=Cimsoft,dc=pt"
bdb(dc=Cimsoft,dc=pt): unable to join the environment
( A ) What is the error "unable to join the environment" ?
( B ) Why it works the first time ?
( C ) What I could do now? I've got all the files in
/usr/local/var/openldap-data/ intact and with all the logs.
Thks in advance
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 15-02-2005