Email-Server

zmconfigd 服務在嘗試按域進行中繼後失敗

  • January 29, 2019

我試圖在 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& nameserverin/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 Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

此問題已通過從 zimbra 中刪除所有證書並安裝新的有效證書來解決

之後zmconfigd服務自行正常啟動

引用自:https://serverfault.com/questions/932985