Zimbra服务无法正常启动
1. 问题描述
1) zimbra服务状态:
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的/var/log/mail.log日志信息如下:
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
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
修复后的zimbra服务状态如下:
zimbra服务启动后,若还不能正常访问,出现如下图所示现象:
需要更新文件/opt/zimbra/conf/localconfig.xml中zimbra的UIDs,然后重新执行上述步骤进行修复就可以了
注:zimbra的UID可以在 /etc/passwd文件查询
1) zimbra服务状态:
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的/var/log/mail.log日志信息如下:
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.解决步骤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
修复后的zimbra服务状态如下:
zimbra服务启动后,若还不能正常访问,出现如下图所示现象:
需要更新文件/opt/zimbra/conf/localconfig.xml中zimbra的UIDs,然后重新执行上述步骤进行修复就可以了
注:zimbra的UID可以在 /etc/passwd文件查询
>更多相关文章
首页推荐
佛山市东联科技有限公司一直秉承“一切以用户价值为依归
- 01-11全球最受赞誉公司揭晓:苹果连续九年第一
- 12-09罗伯特·莫里斯:让黑客真正变黑
- 12-09谁闯入了中国网络?揭秘美国绝密黑客小组TA
- 12-09警示:iOS6 惊现“闪退”BUG
- 12-05亚马逊推出新一代基础模型 任意模态生成大模
- 12-05OpenAI拓展欧洲业务 将在苏黎世设立办公室
- 12-05微软质疑美国联邦贸易委员会泄露信息 督促其
- 12-05联交所取消宝宝树上市地位 宝宝树:不会对公
- 12-04企业微信致歉:文档打开异常已完成修复
相关文章
24小时热门资讯
24小时回复排行
热门推荐
最新资讯
操作系统
黑客防御