I too, had this problem, and after reading this thread, I thought that I might have to wait for the 5.0 RC1 to come out (I am currently running Beta 3) to solve my problem. I did a hard power-down of my Zimbra VM out of impatience (I know, bad plan...hindsight's 20/20). After sifting through what data I could find on this issue, I think that I found an easy solution. I found the bug that was referenced earlier on this post (see
ClamAV: clamd corrupt db. In the bug was a bit of command line code that was offered as a suggestion, and deemed not to work, but after taking another look at it, it (tentatively) seems to have solved my problem without me having to upgrade Zimbra or ClamAV. This is what I did:
I disabled Antivirus in both places on the admin control panel first.
(I don't know if this was important, but I did it...)
(As root)
Code:
su zimbra
mkdir /tmp/clamdb
mv /opt/zimbra/clamav/db/* /tmp/clamdb
zmprov ms mail.mydomainname.com +zimbraServiceEnabled antivirus
/opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf
(Got an error here...Ignored it)
Code:
zmamavisdctl stop
zmamavisdctl start
zmantivirusctl stop
zmantivirusctl start
Hope this helps...everything tests fine, at least for now...