run_av (ClamAV-clamd) 和 ClamAV-clamd av-scanner 失败 - 意外

run_av (ClamAV-clamd) 和 ClamAV-clamd av-scanner 失败 - 意外

扫描电子邮件时我收到一个奇怪的错误。

Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20140917T141903-00616-Vqttx7KO/parts: lstat() failed: Permission denied. ERROR\n"
Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)ClamAV-clamd av-scanner FAILED: CODE(0xf8fde0) unexpected , output="/var/lib/amavis/tmp/amavis-20140917T141903-00616-Vqttx7KO/parts: lstat() failed: Permission denied. ERROR\n" at (eval 113) line 899.
Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)WARN: all primary virus scanners failed, considering backups

我将 amavis 添加到 clamav 组,反之亦然,但我认为这不是诀窍。有人可以帮忙吗?

请发表评论以便我添加必要的信息。

答案1

在 clamd.conf 中,AllowSupplementaryGroups 默认为 false

尝试这个:

AllowSupplementaryGroups true

答案2

上述解决方案现已弃用:

clamd[24691]:警告:忽略 /etc/clamav/clamd.conf:88 中已弃用的选项 AllowSupplementaryGroups

相关内容