Missing process ID in file /var/spool/vscan/amavisd.pid at /usr/sbin/amavisd line 13905
2016/10/30 20:26:31 点击:
Amavisd没有正常启动,会导致邮件服务器异常,最常见的错误,就是在启动amavisd的时候,出现Missing process ID in file /var/spool/vscan/amavisd.pid at /usr/sbin/amavisd line 13905的错误提示,而在maillog日志看到的错误,就是Connect to 127.0.0.1[127.0.0.1]:10024 Connection refused.如果你的邮件队列很多待发邮件,那么可以编辑 /etc/postfix/main.cf把下面的两行先注释掉在重新POSTFIX,让邮件先发出去:
#content_filter = smtp-amavis:[127.0.0.1]:10024
#receive_override_options = no_address_mappings
接着,我们来解决amavisd的问题,首先我们用 ll /var/spool/vscan/来看看文件夹的权限,发现是rw-r-----也就是640的权限,我们将其修改为755.
service amavisd stop
chmod -R 755 /var/spool/vscan/
rm -rf /var/spool/vscan/amavisd.pid
service amavisd start
- 上一篇:免费网盘逐渐走向末路 [2016-11-1]
- 下一篇:使用RMP来安装新版的CLAMAV [2016-10-30]