|
I had the
same problem : "LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav/" And freshclam killed clamav-daemon... This bug appeared with update of 18th february 2008 ... It seems that /var/lib/clamav/main.cvd had wrong owner/group : it was set to root:root and should be to clamav:clamav What i did : 1. chown clamav:clamav /var/lib/clamav/main.cvd 2. Set "AllowSupplementaryGroups true" in /etc/clamav/freshclam.conf (i don't know if it's useful) 3. /etc/init.d/clamav-freshclam stop /etc/init.d/clamav-daemon stop /etc/init.d/clamav-freshclam start /etc/init.d/clamav-daemon start 4. Finally flush the mail queue which was blocked, due to the use of amavis with clamav : postqueue -f -- Matthieu PAINEAU _____________________________________________ INTELLIANCE agence web 18, av Albert Einstein BP 3037 17031 - LA ROCHELLE CEDEX 1 http://www.intelliance.fr [EMAIL PROTECTED] Tel : 05 46 45 90 35 Fax : 05 46 45 84 01-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] |

