On Wednesday 22 March 2006 21:30, ricardo.ferreira@cimsoft.pt wrote: > Hi, > > #Software Specifications > - OpenLDAP v2.3.20 > - SleepyCat v4.4 AFAIK, very few people are running on 4.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) Database seems to be ok up to here ... > 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 > Seems like you are using an older (4.3) version of db_recover, use the 4.4 version ... Regards, Buchan -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Attachment:
pgp0jOngNHnia.pgp
Description: PGP signature