Results 1 to 2 of 2

Thread: [SOLVED] LibClamAV Error: Can't load /opt/zimbra/data/clamav/db//main.cvd: Can't veri

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    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

  2. #2
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    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

Similar Threads

  1. Clamav
    By physikal in forum Administrators
    Replies: 10
    Last Post: 05-18-2009, 09:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •