I have observed following error while starting ldap 

"Failed to start slapd.  Attempting debug start to determine error."

[zimbra@amitmaheshwari.in]$ ldap start
Failed to start slapd.  Attempting debug start to determine error.
ldif_read_file: checksum error on "/opt/zimbra/data/ldap/config/cn=config/cn=schema/cn={3}bdb.ldif"
bdb(): PANIC: fatal region error detected; run recovery
bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-30974)
bdb_db_close: database "": alock_close failed 

Possible solution to resolve this issue :-

Run below command as zimbra user.

[zimbra@amitmaheshwari.in]$ ldap stop
[zimbra@amitmaheshwari.in]$ cd /opt/zimbra/data/ldap/accesslog/db/
[zimbra@amitmaheshwari.in]$ /opt/zimbra/bdb/bin/db_recover
[zimbra@amitmaheshwari.in]$ ldap start
Started slapd: pid 12418
[zimbra@amitmaheshwari.in]$

Check : How to remove server from Multi-tier environment in Zimbra 


 
Top
Maintained By Amit Maheshwari