Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-2009, 02:11 PM
Loyal Member
 
Posts: 90
Default [SOLVED] LibClamAV Error: Can't load /opt/zimbra/data/clamav/db//main.cvd: Can't veri

Hi,

Running 6.0.3 on Ubuntu 8.04 64-bit.

I had an out-of-disk-space situation and now clamav won't start anymore causing all mail to be held in the Deferred queue.

/opt/zimbra/clamav/bin/clamscan -d /opt/zimbra/data/clamav/db/ gives me:
Code:
zimbra@mail:~/data/clamav/db$ /opt/zimbra/clamav/bin/clamscan -d /opt/zimbra/data/clamav/db/
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: ***********************************************************
LibClamAV Error: Can't load /opt/zimbra/data/clamav/db//main.cvd: Can't verify database integrity
ERROR: Can't verify database integrity

----------- SCAN SUMMARY -----------
Known viruses: 664778
Engine version: 0.95.2-broken-compiler
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 1.692 sec (0 m 1 s)
zimbra@mail:~/data/clamav/db$
Please advice.

-Bart
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 03:42 PM
Loyal Member
 
Posts: 90
Default

ok, think I solved it.

Code:
cd /opt/zimbra/data/clamav/db
mv main.cvd main.cvd.bak
mv daily.cld.bak daily.cld
mv main.cld main.cld.bak
/opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf
When restarting zimbra:
Code:
zmcontrol stop
zmcontrol start
I got the message that /opt/zimbra/log/clamd.pid could not be written. This was because earlier I had created this file following another post, but did this as root, leaving it unwritable for user zimbra.
I solved this with:
Code:
su - zimbra -c "touch /opt/zimbra/log/clamd.pid"
and rebooting.

All seems to work now.

-Bart
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.