dbTalk Databases Forums  

openldap slapd couldn't start with Berkeley4.2.52

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss openldap slapd couldn't start with Berkeley4.2.52 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gazali@gmail.com
 
Posts: n/a

Default openldap slapd couldn't start with Berkeley4.2.52 - 10-12-2005 , 09:26 PM






Hi,all.
I'm using openldap2.2.20&Berkeley DB4.2.52 at RH7.3.It had worked
well some months,but now,something had happened.slapd couldn't start.
When I typed 'slapd -d 5',it showed:
--------------------------------------
slapd startup: initiated.
backend_startup: starting "o=testca"
bdb_db_open: o=testca
bdb_db_open: dbenv_open(/var/lib/ldap)
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb_db_open: db_open(/var/lib/ldap) failed: Invalid argument (22)
backend_startup: bi_db_open failed! (22)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd shutdown: freeing system resources.
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb(o=testca): txn_checkpoint: failed to flush the buffer cache Invalid
argument
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
bdb(o=testca): Database handles open during environment close
bdb(o=testca): Ignoring log file: /var/lib/ldap/log.0000000020: magic
number 0, not 40988
bdb(o=testca): DB_ENV->log_put: 20: Invalid argument
bdb_db_destroy: close failed: Invalid argument (22)
slapd stopped.
connections_destroy: nothing to destroy.
-------------------------------------------------------------
Is there something wrong with the DB? Can anyone tell me how to
fix it and let slapd start?
thank you.
-------------------------
someone tells me that 'It looks more like somebody manually
truncated the log files. A regular db_recover won't help here, maybe a
catastrophic recovery will. You might want to ask in the
comp.databases.berkeley-db newsgroup about how to recover when your log
files have been manually erased. And you definitely need to read the
SleepyCat documentation, and make sure nobody makes that same mistake
again.'
-------------------------
please help me.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.