postfix与sendmail冲突
在Linux服务器(CentOS release 6.6)上配置好了sendmail后,测试发送邮件时发现有问题,检查sendmail服务的状态,发现其处于“sendmail dead but subsys locked”, 检查发现postfix服务也在运行。只需要将postfix服务停掉即可。为什么会出现这种情况呢?Something was occasionally causing the postfix service to start which then caused the status of sendmail to jump to dead but subsys locked. 两种似乎不兼容。操作步骤:
1:检查sendmail服务的状态
# service sendmail statussendmail dead but subsys lockedsm-client (pid22112) is running...
2:检查postfix服务的状态
# service postfix statusmaster (pid1777) is running...
3:停止postfix服务
# service postfix stopShutting down postfix:
4:重新启动sendmail服务
# service sendmail stopShutting down sm-client: Shutting down sendmail: # service sendmail stop# service sendmail startStarting sendmail: Starting sm-client:
5:禁用postfix在reboot后自动启动
检查一下是否有设定 postfix 在 reboot 后自动启动
chkconfig --list | grep postfix
chkconfig postfix off
参考资料:
http://blog.chinaunix.net/uid-30212356-id-5081317.html
页:
[1]