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

Recovery after system shutdown


When I started adding some entries to openldap server (2.3.36), suddenly my system powered off,

When I started my sytem after rebooting, my slapd with BDB as backend , is unable to recover , I am getting an error as below, Please say , what am I doing wrong




config_build_entry: "olcDatabase={1}bdb"

backend_startup_one: starting "dc=huawei,dc=com"

bdb_db_open: dc=huawei,dc=com

bdb_db_open: dbenv_open(/home/Arunachalam/Res/openldapdb_36)

bdb(dc=huawei,dc=com): file id2entry.bdb (meta pgno = 0) has LSN [32][3600584].

bdb(dc=huawei,dc=com): end of log is [31][937891]

bdb(dc=huawei,dc=com): /home/Arunachalam/Res/openldapdb_36/id2entry.bdb: unexpected file type or format

bdb_db_open: db_open(/home/Arunachalam/Res/openldapdb_36/id2entry.bdb) failed: Invalid argument (22)

====> bdb_cache_release_all

bdb(dc=huawei,dc=com): Unknown locker ID: 0

backend_startup_one: bi_db_open failed! (22)

slapd shutdown: initiated

====> bdb_cache_release_all

bdb_db_close: alock_close failed

slapd destroy: freeing system resources.

slapd stopped.

connections_destroy: nothing to destroy.


 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!