Monthly Archives: mai 2012

Debian dansguardian & squid

When installing dansguardian it also install clamav:

ii  clamav                  0.97.3+dfsg-2        anti-virus utility for Unix - command-line interface
ii  clamav-base             0.97.3+dfsg-2        anti-virus utility for Unix - base package
ii  clamav-daemon           0.97.3+dfsg-2        anti-virus utility for Unix - scanner daemon
ii  clamav-freshclam        0.97.3+dfsg-2        anti-virus utility for Unix - virus database update utility
ii  libclamav6              0.97.3+dfsg-2        anti-virus utility for Unix - library

However after configuring dansguardian and squid you get the following message:
WARNING: Could not perform virus scan!
Error connecting to ClamD socket
You are missing the daemon antivirus software:

apt-get install clamav-daemon

May be after you still get an error « access denied /tmp/xxxxxx » modify rights:

usermod -a -G dansguardian clamav