Shanmuga sundaram Krishnasamy wrote:
Hi,


Could any one tell me why I should be getting?

(07908-01) Using Clam Antivirus-clamd: (built-in interface)
amavisd-new[7908]: (07908-01) Clam Antivirus-clamd: Connecting to
socket  /var/run/clamav/clamd.ctl
amavisd-new[7908]: (07908-01) Clam Antivirus-clamd: Sending CONTSCAN
/var/lib/amavis/amavis-20070402T140049-07908/parts\n to UNIX socket
/var/run/clamav/clamd.ctl
amavisd-new[7908]: (07908-01) Clam Antivirus-clamd result:
/var/lib/amavis/amavis-20070402T140049-07908/parts: lstat() failed.
ERROR\n
amavisd-new[7908]: (07908-01) Clam Antivirus-clamd FAILED - unknown
status: /var/lib/amavis/amavis-20070402T140049-07908/parts: lstat()
failed. ERROR\n
amavisd-new[7908]: (07908-01) WARN: all primary virus scanners failed,
considering backups


I think I have it set corretly in the  /etc/amavis/amavisd.conf,

@av_scanners = (

### http://www.clamav.net/
['Clam Antivirus-clamd',
 \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
 qr/\bOK$/, qr/\bFOUND$/,
 qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],



@av_scanners_backup = (

 ### http://www.clamav.net/
 ['Clam Antivirus - clamscan', 'clamscan',
   "--stdout --no-summary -r --tempdir=$TEMPBASE {}", [0], [1],
   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


Thanks,

Shan
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
If I'm not mistaken this is the same error you asked about the other day.

Check if the clamav user is in the same group as the user running amavis (normally amavis)

HTH

Clifford W. Hansen
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to