2005-02-25 04:59:54 UTC
that I had /usr/bin/clamdscan symlinked to /usr/bin/clamscan.
So, I installed clamav-daemon using apt-get and it replaced my symbolic
link. As soon as this happened, I started getting this in my mail.err file:
Feb 24 21:45:32 pobox X-Antivirus-mydomain.net-1.22-st-qms:
[pobox.mydomain.net110930673262018351] clamdscan: corrupt or unknown
clamd scanner error or memory/resource/perms problem - exit status 2
According to a clamav.net docs, here is the solution:
"Most likely clamd is not running at all, or you are running
Qmail-Scanner and clamd under a different uid. If you are running
Qmail-Scanner as qscand (default setting) you could put |User qscand|
inside your clamd.conf file and restart clamd. Remember to check that
qscand can create clamd.ctl (usually located at
|/var/run/clamav/clamd.ctl|). Same thing applies to the log file."
I have changed the user to qscand in my clamd.conf file and restarted
but still get that error. Any
ideas? Here is a ps of the two processes:
clamav 10392 0.0 0.1 4320 1276 ? Ss 21:37 0:00
/usr/bin/freshclam -d --quiet -p /var/run/clamav/freshclam.pid
qscand 23101 75.0 0.3 6380 3588 ? R 21:53 0:00
/usr/bin/clamdscan -r --disable-summary --max-recursion=10
Any ideas? Thanks for your help.