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

How stop ldap in this version.


#Software Specifications
 - OpenLDAP v2.3.20
 - SleepyCat   v4.4

When i stop ldap by kill the process i canÂt acess my database.

#I try slapd -d -1 and gave me this

backend_startup_one: starting "dc=Cimsoft,dc=pt"
bdb_db_open: dc=Cimsoft,dc=pt
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: dbenv_open(/usr/local/var/openldap-data)
slapd starting
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

#I try db_recover -c -h /usr/local/var/openldap-data/   and gave me this

db_recover: Program version 4.3 doesn't match environment version
db_recover: Unacceptable log file
/usr/local/var/openldap-data/log.0000000001: unsupported log version 11
db_recover: Invalid log file: log.0000000001: Invalid argument
db_recover: PANIC: Invalid argument
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery

My database will be corrupted when i kill the process?
How stop ldap in this version?

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: 14-02-2005