Zimbra antivirus not started
This morning (12 Feb 08) my colleague told me that there is a problem with our client’s mail server. All users canoot received emails. This company use Zimbra CS. The POP3 and SMTP service was running. Later on, we checked that all emails are deffered. Those mail are deffered because of the antivirus service are stop processing all those emails.
[zimbra@mail root]$ zmcontrol status
Host mail.domain.com
antispam Running
antivirus Stopped
zmclamdctl is not running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
Starting the zmclamdctl is not help. Even though it is said that the antivirus is running but the zmcontrol show that the antivirus still stop.
[zimbra@mail root]$ zmclamdctl start
Clamd already running
[zimbra@mail root]$ zmcontrol status
Host mail.domain.com
antispam Running
antivirus Stopped
zmclamdctl is not running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
Restarting Zimbra also bring no good. The file /opt/zimbra/log/zmmtaconfig.log shows that the zmclamdctl continuosly try to start up but failed. Some articles in wiki.zimbra.com from aNtiX can help me find the solution.
The solution is to change the watchdog zmmtaconfig interval. I need to change the default interval (120) to a higher value. I choose 180 as the new interval.
Here are the change in /opt/zimbra/libexec/zmmtaconfig
[code]
my %config = (
progname => “zmmtaconfig”,
hostname => $ENV{zimbra_server_hostname},
loglevel => 3,
watchdog => 1,
wd_all => 0,
debug => 0,
interval => 180,
baseDir => “/opt/zimbra”,
logStatus => ( 4 => “Debug”, 3 => “Info”, 2 => “Warning”, 1 => “Error”, 0 =$
);[code]
After this modification, Zimbra works fine.