OpenSUSE  - 无法连接到UNIX套接字/ var / run / clamav / clamd:没有这样的文件或目录

错误: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。

赞(52) 打赏
未经允许不得转载:优客志 » 系统运维
分享到:

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏