尝试按域执行中继后,zmconfigd 服务失败

尝试按域执行中继后,zmconfigd 服务失败

我试图在 Zimbra 邮件服务器中按域进行邮件中继

使用这个文档

在我完成“ZCS 8.8 说明”部分提到的更改并尝试重新启动 zimbra 的服务后,出现以下错误

Host SERVER NAME
Starting ldap...Done.
Starting zmconfigd...Failed.
Starting dnscache...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Done.
Starting zimbra webapp...Done.
Starting zimbraAdmin webapp...Done.
Starting zimlet webapp...Done.

我恢复了所做的所有更改,但服务仍然无法启动

我还仔细检查了以下内容:

  • DNS 记录
  • 还检查了 Sudoers 配置并确保它符合 Zimbra
  • 从内核和 /etc/hosts 禁用 IPv6
  • 检查权限并运行命令/opt/zimbra/libexec/zmfixperms -verbose -extended
  • 已经设置了search&nameserver/etc/resolvconf/resolv.conf.d/base

日志:

Sep 27 17:39:33 mx zimbramon[185465]: 185465:info: Stopping zmconfigd via 
zmcontrol
Sep 27 17:40:27 mx zimbramon[185465]: 185465:info: Starting zmconfigd via 
zmcontrol
Sep 27 17:40:31 mx zmconfigd[187015]: zmconfigd started on 
mx.serversadmins.net with loglevel=3 pid=187015
Sep 27 17:40:31 mx zmconfigd[187015]: Fetching All configs
Sep 27 17:40:32 mx zmconfigd[187015]: All configs fetched in 0.24 seconds
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/conf/freshclam.conf with mode 600 (0.02 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/conf/opendkim.conf with mode 440 (0.01 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/webapps/service/WEB-INF/web.xml with mode 440 (0.06 
sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/webapps/zimbraAdmin/WEB-INF/jetty-env.xml with mode 
440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/dspam.conf 
with mode 440 (0.02 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/jetty-env.xml with mode 440 
(0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/clamd.conf 
with mode 440 (0.01 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/webapps/zimbraAdmin/WEB-INF/web.xml with mode 440 
(0.02 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/etc/spnego.conf with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/common/conf/tag_as_originating.re with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/conf/unbound.conf with mode 440 (0.01 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: 
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/web.xml with mode 440 (0.02 
sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/mailboxd/etc/jetty.xml with mode 440 (0.05 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/spnego_java_options with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/sasl2/smtpd.conf with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/mailboxd/etc/spnego.properties with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/postfix_header_checks with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/conf/opendkim-localnets.conf with mode 440 (0.00 sec)
Sep 27 17:40:32 mx zmconfigd[187015]: Rewrote: /opt/zimbra/mailboxd/etc/krb5.ini with mode 440 (0.00 sec)

Zimbra 版本:

Zimbra 8.8.8_GA_2009.FOSS

操作系统

Linux 服务器名称 4.15.0-29-generic #31~16.04.1-Ubuntu SMP 2018 年 7 月 18 日星期三 08:54:04 UTC x86_64 x86_64 x86_64 GNU/Linux

答案1

通过从 Zimbra 中删除所有证书并安装新的有效证书,解决了此问题

之后 zmconfigd 服务自行正常启动

相关内容