Inhaltsverzeichnis

Clamd: Could not connect to scanner! Scanner down?

Problem

HAPV configured to use clamd, but fails to start.

  16 13/10/2011 21:09:42 Clamd: Could not connect to scanner! Scanner down?
  17 13/10/2011 21:09:42 ERROR: Clamd Socket Scanner failed EICAR virus test! (Could not connect to     scanner socket)

/var/log/havp/error.log

Solution

The user which is running clamav should be a member in the group havp is running. Also check the socket clamd is listen and HAPV is point to:

...
AllowSupplementaryGroups true
LocalSocket /var/run/clamav/clamd.ctl
...

/etc/clamav/clamd.conf

...
ENABLECLAMD true
CLAMDSOCKET /var/run/clamav/clamd.ctl
...

/etc/havp/havp.config