Inhaltsverzeichnis

WARN: all primary virus scanners failed

Problem

Apr 15 01:36:49 server1 amavis[4245]: (04245-02) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/varlib/amavis/tmp/amavis-20110415T012837-04245/parts: lstat() failed. ERROR\n"
Apr 15 01:36:49 server1 amavis[4245]: (04245-02) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x9ea1128) unexpected , output="/var/lib/amavis/tmp/amavis-20110415T012837-04245/parts: lstat() failed. ERROR\n" at (eval 86) line 527.
Apr 15 01:36:49 server1 amavis[4245]: (04245-02) (!!)WARN: all primary virus scanners failed, considering backups

/var/log/syslog

Solution

The user which run the clamav process should be in the group amavis

adduser clamav amavis