The Zimbra service cannot be started normally.

Source: Internet
Author: User

1. Problem Description

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 Running2) zimbra's/var/log/mail. 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/conf
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 such process
Mar 7 20:12:37 mail zmmailboxdmgr [13978]: assuming no other instance is 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 is 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 such process
Mar 7 20:12:37 mail zmmailboxdmgr [13986]: assuming no other instance is 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 is 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 such process
Mar 7 20:12:38 mail zmmailboxdmgr [14215]: assuming no other instance is 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 is 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 such process
Mar 7 20:13:39 mail zmmailboxdmgr [14460]: assuming no other instance is 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 is 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 such process
Mar 7 20:13:39 mail zmmailboxdmgr [14468]: assuming no other instance is 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 is 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 such process
Mar 7 20:14:04 mail zmmailboxdmgr [14923]: assuming no other instance is 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 is running

Mar 7 20:14:04 mail zmmailboxdmgr [14923]: no manager process is running

2. Solution steps

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

After the restoration, the zimbra service status is as follows:

If the zimbra service cannot be accessed after it is started, the following error occurs:

You need to update the zimbra UIDs in the/opt/zimbra/conf/localconfig. xml file, and then re-execute the above steps to fix it.
Note: zimbra UID can be queried in the/etc/passwd file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.