I am attempting to write a script to prove my backups are good & that I understand the process properly for when I have to do it for real.
I have a VM template with the same operating system & zimbra version of the install on the production server. The script then rsync's the most recent backup over /opt/zimbra.
It then edits some (possibly not all) of the configuration files and replaces the production server IP/Hostname with its own.
I worked through a few issues including using the well documented permissions problem, but I am now stuck at the following:
Output from running the command 'zmcontrol start'
zimbra@zimbratestvm ~]$ zmcontrol start
Host zimbratestvm.testdomain.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-1)
Output from '/var/log/zimbra.log'
Jul 26 14:35:57 zimbratestvm slapd[26246]: hdb_db_open: database "": alock package is unstable.
Jul 26 14:35:57 zimbratestvm slapd[26246]: backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-1)
Jul 26 14:35:57 zimbratestvm slapd[26246]: slapd stopped.
Any suggestions appreciated,
I plan on releasing the script should anyone ever want to do anything similar in the future,
Cheers,
Sharpey


LinkBack URL
About LinkBacks



