Topic: ClamAV keeps crashing
Hi, since July 30th on my Debian Lenny server, ClamAV keeps crashing. This is an example of the error messages left in /var/log/mail.err.
Jul 2 15:11:27 athena amavis[22368]: (22368-05) (!!)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 98) line 309.
Jul 2 15:11:27 athena amavis[22368]: (22368-05) (!!)WARN: all primary virus scanners failed, considering backups
Jul 2 15:11:27 athena amavis[22368]: (22368-05) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Jul 2 15:11:27 athena amavis[22368]: (22368-05) (!!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, 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 98) line 527.
Jul 2 15:11:27 athena amavis[22368]: (22368-05) (!!)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 98) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, 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 98) line 527.
I'm trying to get it working but so far no luck... anyone got a solution?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.