1. Description of the problem
1) Zimbra Service Status:
zimbra@mail:~$ Zmcontrol Status
Host mail.example.com
Antispam Running
Antivirus Running
LDAP Running
Logger Running
Mailbox Stopped
Zmmailboxdctl is not running.
MTA Running
SNMP Running
Spell Running
Stats Running
ZMCONFIGD Running
zimbra@mail:~$
2) Zimbra/var/log/mail.log log information is as follows:
Mar 7 20:12:20 Mail zimbramon[10875]: 10875:info:starting SNMP via Zmcontrol
Mar 7 20:12:20 Mail zimbramon[10875]: 10875:info:starting spell via Zmcontrol
Mar 7 20:12:20 Mail zimbramon[10875]: 10875:info:starting MTA via Zmcontrol
Mar 7 20:12:21 Mail postfix/postfix-script[12799]: Warning:not owned by Root:/opt/zimbra/postfix-2.7.7.3z/conf/main.cf
Mar 7 20:12:21 Mail postfix/postfix-script[12800]: Warning:not owned by Root:/opt/zimbra/postfix-2.7.7.3z/conf/ Master.cf
Mar 7 20:12:21 Mail postfix/postfix-script[12801]: Warning:not owned by Root:/opt/zimbra/postfix-2.7.7.3z/conf/ Master.cf.in
Mar 7 20:12:21 Mail postfix/postfix-script[12817]: Starting the Postfix mail system
Mar 7 20:12:21 Mail postfix/master[12818]: Daemon started--version 2.7.7, Configuration/opt/zimbra/postfix-2.7.7.3z/co Nf
Mar 7 20:12:21 Mail saslauthd[12826]: detach_tty:master pid is:12826
Mar 7 20:12:21 Mail saslauthd[12826]: ipc_init:listening on socket:/opt/zimbra/cyrus-sasl-2.1.23.3z/state/mux
Mar 7 20:12:21 Mail zimbramon[10875]: 10875:info:starting stats via Zmcontrol
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: status requested
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: Assuming no other instance are running
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: Assuming no other instance are running
Mar 7 20:12:37 Mail zmmailboxdmgr[13978]: No manager process is running
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: status requested
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: Assuming no other instance are running
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: Assuming no other instance are running
Mar 7 20:12:37 Mail zmmailboxdmgr[13986]: No manager process is running
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: status requested
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: Assuming no other instance are running
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: Assuming no other instance are running
Mar 7 20:12:38 Mail zmmailboxdmgr[14215]: No manager process is running
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: status requested
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: Assuming no other instance are running
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: Assuming no other instance are running
Mar 7 20:13:39 Mail zmmailboxdmgr[14460]: No manager process is running
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: status requested
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: Assuming no other instance are running
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: Assuming no other instance are running
Mar 7 20:13:39 Mail zmmailboxdmgr[14468]: No manager process is running
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: status requested
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: Stale pid 12479 found In/opt/zimbra/log/zmmailboxd_manager.pid:no process
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: Assuming no other instance are running
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: File/opt/zimbra/log/zmmailboxd.pid does not exist
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: Assuming no other instance are running
Mar 7 20:14:04 Mail zmmailboxdmgr[14923]: No manager process is running
2. How to Solve
1) as root-# Mv/opt/zimbra/mailboxd/etc/keystore/root/keystore.old
2) as root-#/opt/zimbra/bin/zmcertmgr DEPLOYCRT Self
3) as root-/opt/zimbra/libexec/zmfixperms--verbose--extended
4) Login as the Zimbra and restart all of Zimbra
The Zimbra service status after repair is as follows:
After the Zimbra service is started, if it is not reachable properly, the following figure shows:
You need to update the Zimbra UIDs in the file/opt/zimbra/conf/localconfig.xml, and then repeat the steps above to fix it.
Note: The UID of Zimbra can be queried in/etc/passwd file