The other day I was setting up failover solution for my clients zimbra server and along the way it stopped showing server status as ‘not running’. I could login to zimbra admin panel, send and receive emails as a regular user and ‘zmcontrol status’ showed everything as running. Later I found the server status error due to logging system which was molested during the failover setup process. To fix the situtation, I ran the following:
As root user:
/opt/zimbra/libexec/zmsyslogsetup
/etc/init.d/rsyslog restart
After that I change into zimbra user with:
su - zimbra
As a zimbra user I ran:
/opt/zimbra/libexec/zmloggerinit
/opt/zimbra/bin/zmsshkeygen
/opt/zimbra/bin/zmupdateauthkeys
Then I restarted zimbra services:
zmcontrol restart
This fixed that false alarm about no service running.