After a little bit of digging, I believe I've found the problem, I just don't know how to fix it. When I stop my server, it reports this:
Code:
Stopping stats...Done
Stopping mta...Done
Stopping spell...Done
Stopping snmp...Done
Stopping archiving...Done
Stopping antivirus...Done
Stopping antispam...Done
Stopping imapproxy...Done
Stopping mailbox...FAILED
Stopping zmmtaconfig...failed.
Stopping mailboxd...done.
Stopping mysqld... done.
Stopping logger...Done
Stopping ldap...Done The reason zmmtaconfig won't stop is because clam(/freshclam) won't stop, and I don't know why.
In the clam log it says it stops, but then starts again while the shutdown is still going...?
Code:
Sun Feb 1 10:09:28 2009 -> Pid file removed.
Sun Feb 1 10:09:28 2009 -> --- Stopped at Sun Feb 1 10:09:28 2009
Sun Feb 1 10:10:49 2009 -> +++ Started at Sun Feb 1 10:10:49 2009
Sun Feb 1 10:10:49 2009 -> clamd daemon 0.94.1-broken-compiler (OS: linux-gnu, ARCH: i386, CPU: i686)
Sun Feb 1 10:10:49 2009 -> Log file size limited to 20971520 bytes.
And here's what zmmtaconfig.log reads:
Code:
Sun Feb 1 10:10:15 2009 Watchdog: adding antivirus to restart list
Sun Feb 1 10:10:15 2009 CONTROL ANTIVIRUS: /opt/zimbra/bin/zmclamdctl restart
Sun Feb 1 10:12:14 2009 Skipping Global system configuration update.
Sun Feb 1 10:12:14 2009 gacf ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:16 2009 Skipping All Reverse Proxy URLs update.
Sun Feb 1 10:12:16 2009 Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:19 2009 Skipping All Reverse Proxy Backends update.
Sun Feb 1 10:12:19 2009 Skipping getAllReverseProxyBackends ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:22 2009 Skipping All Memcached Servers update.
Sun Feb 1 10:12:22 2009 Skipping getAllMemcachedServers ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:25 2009 Skipping All MTA Authentication Target URLs update.
Sun Feb 1 10:12:25 2009 Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:27 2009 Skipping Configuration for server myserver update.
Sun Feb 1 10:12:27 2009 gs:myserver ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:27 2009 Sleeping...Key lookup failed.
Sun Feb 1 10:12:37 2009 Skipping Global system configuration update.
Sun Feb 1 10:12:37 2009 gacf ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:40 2009 Skipping All Reverse Proxy URLs update.
Sun Feb 1 10:12:40 2009 Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:42 2009 Skipping All Reverse Proxy Backends update.
Sun Feb 1 10:12:42 2009 Skipping getAllReverseProxyBackends ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:45 2009 Skipping All Memcached Servers update.
Sun Feb 1 10:12:45 2009 Skipping getAllMemcachedServers ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:48 2009 Skipping All MTA Authentication Target URLs update.
Sun Feb 1 10:12:48 2009 Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:51 2009 Skipping Configuration for server myserver update.
Sun Feb 1 10:12:51 2009 gs:myserver ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:51 2009 Sleeping...Key lookup failed.
Sun Feb 1 10:13:00 2009 Skipping Global system configuration update.
Sun Feb 1 10:13:00 2009 gacf ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:13:03 2009 Skipping All Reverse Proxy URLs update.
Sun Feb 1 10:13:03 2009 Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:25 2009 Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:27 2009 Skipping Configuration for server myserver update.
Sun Feb 1 10:12:27 2009 gs:myserver ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException myserver:389)
Sun Feb 1 10:12:27 2009 Sleeping...Key lookup failed.
Would it be related to this error I found in the clam log:
Code:
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
Or is it something totally different?
And here's from the syslog:
Code:
Feb 1 10:09:25 mccreations zimbramon[22828]: 22828:info: Stopping antivirus via zmcontrol
Feb 1 10:09:28 mccreations clamd[20701]: Pid file removed.
Feb 1 10:09:28 mccreations clamd[20701]: --- Stopped at Sun Feb 1 10:09:28 2009
Feb 1 10:09:29 mccreations zimbramon[22828]: 22828:info: Stopping antispam via zmcontrol
Feb 1 10:09:59 mccreations zimbramon[22828]: 22828:info: Stopping imapproxy via zmcontrol
Feb 1 10:09:59 mccreations zimbramon[22828]: 22828:info: Stopping mailbox via zmcontrol
Feb 1 10:10:01 mccreations zimbramon[23581]: 23581:info: 2009-02-01 10:10:01, QUEUE: 0 0
Feb 1 10:10:03 mccreations zimbramon[23599]: 23599:info: 2009-02-01 10:10:01, DISK: mccreations.us: dev: /dev/sda1, mp: /, tot: 17223, avail: 15057
Feb 1 10:10:03 mccreations zimbramon[23599]: 23599:info: 2009-02-01 10:10:01, DISK: mccreations.us: dev: /dev/sdd1, mp: /backup, tot: 17223, avail: 5499
Feb 1 10:10:03 mccreations zimbramon[23599]: 23599:info: 2009-02-01 10:10:01, DISK: mccreations.us: dev: /dev/sdc1, mp: /opt, tot: 17223, avail: 14561
Feb 1 10:10:03 mccreations zimbramon[23599]: 23599:info: 2009-02-01 10:10:01, DISK: mccreations.us: dev: /dev/sdb1, mp: /usr/local, tot: 17223, avail: 13750
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: antispam: Stopped
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: antivirus: Stopped
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: ldap: Running
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: logger: Running
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: mailbox: Running
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: mta: Stopped
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: snmp: Stopped
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: spell: Stopped
Feb 1 10:10:14 mccreations zimbramon[23595]: 23595:info: 2009-02-01 10:10:01, STATUS: mccreations.us: stats: Stopped
Feb 1 10:10:15 mccreations zimbramon[3489]: 3489:info: zmmtaconfig: Watchdog: adding antivirus to restart list
Feb 1 10:10:15 mccreations zimbramon[3489]: 3489:info: ANTIVIRUS restart initiated from zmmtaconfig
Feb 1 10:10:41 mccreations zimbramon[22828]: 22828:info: Stopping logger via zmcontrol
Feb 1 10:10:46 mccreations zimbramon[22828]: 22828:info: Stopping ldap via zmcontrol
Feb 1 10:10:47 mccreations zimbramon[25917]: 25917:info: zmmtaconfig: Skipping All MTA Authentication Target URLs update.
Feb 1 10:10:47 mccreations zimbramon[25917]: 25917:info: zmmtaconfig: Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException Remote host closed connection during handshake)
Feb 1 10:10:49 mccreations zimbramon[25917]: 25917:info: zmmtaconfig: Skipping Configuration for server mccreations.us update.
Feb 1 10:10:49 mccreations zimbramon[25917]: 25917:info: zmmtaconfig: gs:mccreations.us ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException mccreations.us:389)
Feb 1 10:10:49 mccreations zimbramon[25917]: 25917:info: zmmtaconfig: Key lookup failed.
Why does zmmtaconfig want to restart clam instead of shutting it down?