1

Topic: amavis/clamav failure

I have just discovered this error in my mail.err

Oct 18 11:51:48 mail1 amavis[3987]: (03987-02) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 86) line 309.
Oct 18 11:51:48 mail1 amavis[3987]: (03987-02) (!!)WARN: all primary virus scanners failed, considering backups
Oct 18 11:51:48 mail1 amavis[3987]: (03987-02) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Oct 18 11:51:48 mail1 amavis[3987]: (03987-02) (!!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 86) line 527.
Oct 18 11:51:48 mail1 amavis[3987]: (03987-02) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 86) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 86) line 527.
Oct 18 11:51:48 mail1 amavis[3808]: (03808-12) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 86) line 309.
Oct 18 11:51:48 mail1 amavis[3808]: (03808-12) (!!)WARN: all primary virus scanners failed, considering backups
Oct 18 11:51:48 mail1 amavis[3808]: (03808-12) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Oct 18 11:51:48 mail1 amavis[3808]: (03808-12) (!!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 86) line 527.
Oct 18 11:51:48 mail1 amavis[3808]: (03808-12) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: Connection refused) at (eval 86) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 40, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 86) line 527.

Any comments would be most helpful

Regards

Fred

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: amavis/clamav failure

Does it work after restart amavisd + clamav services?

3

Re: amavis/clamav failure

I restarted amavis, clamav-daemon & clamav-freshclam in that order.

Now there are no entries in the mail.err

My lack of knowledge and understanding now makes me ask why? and how do I fix this?

Regards

Fred