help clamav after debian 8 update

Discussion in 'General' started by momo1240, Jul 3, 2018.

  1. momo1240

    momo1240 Member

    Hello guys, hope someone can help me
    yesterday, I updated my debian 8 (apt-get update and upgrade), and there was a new update for clamav

    But today I noticed that my clamav log file in ispconfig is empty, so I checked in ""var/log/clamav/clamav.log"" and the file is empty too
    clamav-freshclam is working correctly

    when I do service clamav-daemon status I have this error

    clamav-daemon.service - Clam AntiVirus userspace daemon
    Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
    Active: failed (Result: exit-code) since Tue 2018-07-03 15:22:27 CEST; 2min 36s ago
    Docs: man:clamd(8)
    man:clamd.conf(5)
    https://www.clamav.net/documents/
    Process: 21731 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
    Main PID: 21731 (code=exited, status=1/FAILURE)

    Jul 03 15:22:27 ****** systemd[1]: Started Clam AntiVirus userspace daemon.
    Jul 03 15:22:27 ****** clamd[21731]: ERROR: Parse error at line 76: Unknown option StatsEnabled
    Jul 03 15:22:27****** clamd[21731]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
    Jul 03 15:22:27 ****** systemd[1]: clamav-daemon.service: main process exited, code=exited, status=1/FAILURE
    Jul 03 15:22:27 ****** systemd[1]: Unit clamav-daemon.service entered failed state.


    thank you for your help
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is there a line that starts with 'StatsEnabled' in the file /etc/clamav/clamd.conf ? If yes, comment it out and try to restart clamav-daemon
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Examine the configuration files. Looks like new version has new settings. Check if release notes give advice on how to update the configuration.
     
    Last edited: Jul 3, 2018
  4. momo1240

    momo1240 Member

    thank you till
     

Share This Page