<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.technologicalwanderings.co.uk"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Technological Wanderings - clamav</title>
 <link>http://www.technologicalwanderings.co.uk/taxonomy/term/39</link>
 <description></description>
 <language>en</language>
<item>
 <title>Zimbra ClamAV failure</title>
 <link>http://www.technologicalwanderings.co.uk/node/24</link>
 <description>&lt;div class=&quot;field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Keywords:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/taxonomy/term/39&quot;&gt;clamav&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/taxonomy/term/40&quot;&gt;clamd&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/taxonomy/term/41&quot;&gt;freshclam&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/taxonomy/term/42&quot;&gt;zimbra&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;I run Zimbra on a virtual machine. It&#039;s not ideal to run it like this; it does like to have a fair bit of CPU time available.&lt;/p&gt;
&lt;p&gt;Sometimes it fails - usually when the VM gets shutdown unexpectedly. Most recently I discovered I wasn&#039;t getting email due to clamav not working - this was sometime after upgrading from 4.5 to 5.0, although 5.0 had been working.. The Zimbra watchdog was attempting to start it every few minutes and the host machine&#039;s CPU time was disappearing rapidly.&lt;/p&gt;
&lt;p&gt;I spent some time looking at the configurations, wasting time wondering why the zimbra/clamav/etc/ files were defaults (it doesn&#039;t matter, they&#039;re not used).&lt;/p&gt;
&lt;p&gt;Eventually I deciphered the log message: ERROR: MD5 verification error&lt;/p&gt;
&lt;p&gt;It means, delete the contents of zimbra/clamav/db/, then run &#039;sudo -u zimbra zimbra/clamav/bin/freshclam&#039;.&lt;/p&gt;
&lt;p&gt;This is the first time I&#039;ve ever seen ClamAV corrupt its database.&lt;/p&gt;
&lt;p&gt;I consider myself an expert on installation, deployment and management of Postfix, amavisd-new, ClamAV... but they&#039;re well integrated with Zimbra so problems like this can often not be as obvious as they should be.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 08 Mar 2008 19:57:15 +0000</pubDate>
 <dc:creator>techuser</dc:creator>
 <guid isPermaLink="false">24 at http://www.technologicalwanderings.co.uk</guid>
 <comments>http://www.technologicalwanderings.co.uk/node/24#comments</comments>
</item>
</channel>
</rss>