We had a drive problem on our Zimbra server (one of the drives in the raid failed) - which eventually led to the re-installation of the OS (was centos4, now cent5.1) Before the OS was reinstalled, the entire /opt/zimbra directory was saved. After following the backup/restore instructions here:
Open Source Edition Backup Procedure - Zimbra :: Wiki
it appears that mysql does not want to start. I have tried the upgrade method as well as the directory copy. With the upgrade method, my zmsetup.log ends with:
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
UPGRADE FAILED - exiting
I hve tried starting mysql manually with
mysql.server start
which returns no errors - but then if I use 'mysql mysql' - I am unable to connect to the server.
Just for reference:
old server CentOS 4 - ZCS open source 4.5.0_GA_612
new load is CentOS 5.1 - and we have been using the same rev (although we had to create a few lib symlinks since there was not a RHEL_5 release available for 4.5.0
Its possible there was some corruption to the mysql data due to our drive problems - is there anyway to do a repair on that data? or check the mysql data? Or any other advice?