ldap will not more start
Hello, I run ZCS release 7.2.0_GA_2669.UBUNTU10_64 UBUNTU10_64 FOSS edition operate on a VM machine.
Through a hard drive crash I had to use a secured vmdk.
Unfortunately does not start ldap. The following error message occurs:
Starting ldap ... Done.
Failed to start slapd. Attempting debug start to deter mine error.
5097d7e8 bdb (): Log sequence error: page LSN 1085068 4; previous LSN 4 1098826
5097d7e8 bdb (): Recovery function for LSN 4 1103701 failed on forward pass
5097d7e8 bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
5097d7e8 backend_startup_one (type = hdb, suffix = ""): bi_db_open failed! (-30974)
5097d7e8 bdb_db_close: database "": alock_close failed
zimbra @ zimbra: ~ $ cat / etc / hosts
127.0.0.1 localhost.localdomain localhost
192.168.178.132 xxx.xxx.com zimbra
zimbra @ zimbra: ~ $ cat / etc / resolv.conf
The mx-record is also ok.
db_recover - v shows the following error:
zimbra@zimbra:~/data/ldap/hdb/db$ db_recover -v
Finding last valid log LSN: file: 4 offset 1106940
Recovery starting from 
db_recover: Log sequence error: page LSN 4 1085068; previous LSN 4 1098826
db_recover: Recovery function for LSN 4 1103701 failed on forward pass
db_recover: PANIC: Invalid argument
db_recover: process-private: unable to find environment
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
I hope you can help me.
Many greetings from Germany.
Your LDAP DB is corrupt. You have to restore it from a backup.
I have the same issue. In which directory does the ldap database reside? I have a full backup of the entire /opt/zimbra directory, so it should be pretty easy as long as it wasn't corrupt when I last backed it up.
Originally Posted by quanah
I found the ldap database. However, it was an issue with running out of disk space. Time to increase.