My Community Dashboard

  • Damjan Ziberna
    Damjan Ziberna started a new discussion, Problem with clamav

    Problem with clamav

    This morning I've got an error from proxy server saying "Error: could not perform virus scan".
    Doing some research I have found that there's been an upgrade of the "clearsdn-antimalware-6.1-20170209.1025.noarch" and "clearsdn-antispam-6.1-20170209.1025.noarch" packages. To my knowledge this was the only change made on the system from last night.
    There are errors reported by dansguardian-av service - it cannot connect to /var/run/clamav/clamd.sock - indeed, no such file exists. No there either.
    Trying to stop/start clamd.service using systemctl I got an error saying: "Job for clamd.service failed because a timeout was exceeded. See "systemctl status clamd.service" and "journalctl -xe" for details."
    The service itself was in "activating" state - a clamd process was running. Since it failed to start, I've decided to run "systemctl stop clamd" and run it manually. Running "clamd restart" made it work again. I've tried restarting the server, tried to make the service run with systemd again and again with no luck.
    Now, I run it manually, but I have to start it on my own if I restart the server.
    There is no usefull info in the clamd.log file.
    Can anyone help?