Upgrade Clamav 0.93 in Zimbra 5

Upgrade Clamav 0.93 in Zimbra 5

My friend had this problem with his zimbra installation. After upgrade Clamav to version 0.93 Zimbra service for antivirus could not be started.

Information about the Zimbra Installation

ZIMBRA Release 5.0.5_GA_2201.RHEL5_20080417012110 CentOS5 FOSS edition. Run on Centos 5.

zmclamdctl start

cp: cannot stat `/opt/zimbra/clamav/db/daily.cvd.init': No such file or directory
cp: cannot stat `/opt/zimbra/clamav/db/main.cvd.init': No such file or directory
ClamAV update process started at Mon May 5 05:09:26 2008
main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
daily.cld is up to date (version: 7025, sigs: 45717, f-level: 26, builder: ccordes)
clamd failed to start

The first two lines Zimbra startup script try to find two files daily.cvd.init and main.cvd.init inside /opt/zimbra/clamav/db but this files is not part of Clamav installation files. It's part of Zimbra, that may act as skeleton files.

What we did, is to run freshclam, to download the latest daily.cvd and main.cvd and copy them into daily.cvd.init and main.cvd.init.

For the error clamd failed to start. We need to view the error in the clamd log /opt/zimbra/log/clamd.log

ERROR: Parse error at line 241: Unknown option ArchiveMaxFileSize.
ERROR: Can't open/parse the config file /opt/zimbra/conf/clamd.conf

This setup is installed with Zimbra that came with Clamav version 0.90. This option ArchiveMaxFileSize under /opt/zimbra/conf/clamd.conf is not reconize under Clamav 0.93.

My friend stuck with this problem because he did not realize that, the Zimbra startup script will still refer to /opt/zimbra/conf/zimbra.conf.in

Any modification that he did to the file /opt/zimbra/conf/clamd.conf was changed by the Zimbra startup script. He should modify /opt/zimbra/conf/zimbra.conf.in and remark the ArchiveMaxFileSize ie #ArchiveMaxFileSize.

and we resolved the Zimbra Antivirus problem.

Popular Posts


64bit Activity Adempire advocate Akta Apache ASAS Azam backup backuppc Bash Beowulf Big Data Broadband Budget Centos Cinta Cluster CMS cmsfornerd Company Complain computer Computer Operation Conference Contest Data Centre Operation DBmail Digg Digital Certification Discussion Group Django DNS Docker Domain Duit Online Economy Elastic Stack Elasticsearch ELK email email server English Evangelist Events Family Tree Fedora File System Firefox Foss FOSS.my FreeBSD FTX Gesaan Gluster Gmail Godaddy.com Google Google App GTUG Hacking Hadoop hafnie Harisfazillah Jamel horde HP-UX hwclock IBM ICT Service Delivery and Operation Indonesia Internet Internet Tools Itanium Jabatan IT Negara Jaring Java Javascript Jepun Jiwang Joke Joomla K3S K3Sup Kernel Kesihatan Kibana KOSTEM Kubernetes ldap Linux Linux Counter linuxmalaysia Logstash Love Mailman MailScanner Mailwatch Malay Malaysia MAMPU MDeC meetup Melaka Melayu Merdeka Microsoft Migration mirror sites Money Online Monitor MOSC 2010 MOSC2010 mosc2011 MOSC2013 MOSCMY MOSCMY2014 MOSCMY2015 Mozilla MPI MSC Malaysia MSC Malaysia OSCONF MSCOSCONF My Love MyGOSSCON MyMeeting Mypenguin99 mysql Nagios NagiosQL Negaraku nss_ldap ntp OBW2014 Open Office Open Source openldap Openoffice.org OpenStack Opera OS2 OS400 OSCC OSCC MAMPU osdc.my OSS OSS Policy OWASP Parallel Computing People Power Personal Petition PGP PHP Pligg Podman Politik Postfix Postgresql Programming Proxmox Python q1moscmy2015 Questionnaires Research Research tools RPM SASSIAN Sassian 85-89 Sassians 85-89 SCO Security Sekolah Sekolah Alam Shah Shell script Software License Solaris SongketMail SongketMailFilter sourceforge spam spamassassin Spoof Survey SVR4 System Tools Technorati Terjemahan Terminal TMnet Tor Training translation Treasury Malaysia Trend Micro Twitter Ubuntu Unix Virtualization VMS VOIP Wang Web Server Windows Zimbra

LinuxMalaysia Mastodon