错误:OpenSUSE - 无法连接到UNIX套接字/ var / run / clamav / clamd:没有这样的文件或目录
您的邮件日志中出现以下错误:
Jul 7 09:13:35 hades amavis[21674]: (21674-01) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory) at (eval 101) line 325.
解
打开/etc/clamd.conf
...
vi /etc/clamd.conf
...并将LocalSocket / var / lib / clamav / clamd-socket
行更改为LocalSocket / var / run / clamav / clamd
:
LocalSocket /var/run/clamav/clamd
然后重新启动clamd。