ClamAV

  • Hey there,
    yesterday (I think) the clamav-devs published a new debian wheezy version. After installing this version I cannot use anymore the daemon. My question is wrong here, but maybe someone else had/has the same problems. I get all the time following error:
    [FAIL] There is no configuration file for Clamav. ... failed!


    also the freshclam.conf is corrupt (missing value for the LogRotate parameter). I purged the packages and installed them again, but have still the same errors.


    Atm the plugin is deactivated, because otherwise I cannot send or recieve mails.

  • Hi Ninos,
    currently I have the same behavior under Debian Squeeze.

    Code
    1. vim /etc/clamav/freshclam.conf


    I have changed the line from logrotate to # logrotate and it works for me.


    Under Wheezy the behavior does not occur.

  • Thanks, can you tell me the right permissions and owner of the files (ls -ls).

  • of course

    Code
    1. -r--r--r-- 1 clamav adm 773 18. Mär 08:43 freshclam.confdrwxr-xr-x 2 root root 4096 15. Mär 22:28 onerrorexecute.ddrwxr-xr-x 2 root root 4096 15. Mär 22:28 onupdateexecute.ddrwxr-xr-x 2 root root 4096 15. Mär 22:28 virusevent.d


    my freshclam.conf


    I hope this helps you further ;)

  • Thanks!
    Can you maybe send me the files in /var/lib/clamav? Freshclam can't download the main, mirrors etc. -.-

  • Currently I just got a different error X/ .
    Because the download problem.

    Code
    1. Line25: DatabaseMirror db.local.clamav.net

    change to

    Code
    1. #DatabaseMirror db.local.clamav.net

    and then

    Code
    1. # freshclam
  • THANKS AGAIN! :D


    This fixed the first problem. No I have already a problem with the daemon:

    Quote


    [....] Starting ClamAV daemon: clamd ERROR: Incorrect argument format for option LogRotate
    ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
    failed!


    Can you may post your /etc/clamav/clamd.conf please? :D

  • That's exactly the problem I just had and since hours so also fight. X/
    Here ist my config from Wheezy:


    i'm going to uninstall and then i try again.