Server details.
OS: RHEL5.4 x64
version of zimbra: 6.0.7_GA_2473.RHEL5_64 RHE5_64 FOSS edition
This saturday night 10-09-2010 I powered off the server for a scheduled power outage. The next morning when I turned the server back on it would not get past the starting ldap. It puts up the following error.
[root@email ~]# service zimbra start
Host email.gat.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (22)
bdb_db_close: database "": alock_close failed
Here is what the /var/log/zimbra shows when attempting to start
Oct 10 14:04:32 email slapd[10384]: @(#) $OpenLDAP: slapd 2.4.22 (Jun 10 2010 14:02:07) $
build@build11.lab.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.4.22.3z/servers/slapd
Oct 10 14:04:32 email slapd[10384]: hdb_db_open: database "" cannot be opened, err 22. Restore from backup!
Oct 10 14:04:32 email slapd[10384]: bdb(): txn_checkpoint interface requires an environment configured for the transaction subsystem
Oct 10 14:04:32 email slapd[10384]: bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
Oct 10 14:04:32 email slapd[10384]: backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (22)
Oct 10 14:04:32 email slapd[10384]: bdb_db_close: database "": alock_close failed
Oct 10 14:04:32 email slapd[10384]: slapd stopped.
About backups. I make a nightly snapshot of the server @1:45AM. It is based off a method posted here in the forums. The way the snapshot works is that I have a script that does a /sbin/service zimbra stop. It then does an rsync of the /opt/zimbra to another computer. It also rsyncs the / partition minus /opt /proc /sys and /dev to the same computer under /opt/os-backup. So effectivly I have a complete snapshot of the the server in a working state. The night before the shutdown it stopped the processes synced and restarted them without issue.
I searched the zimbra forums for "bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22)." but everything I find seems to be out of date as the solutions to do is posted. Can anyone help me out here?
My next step is to restore from the snapshot on the 8th.