postfix与sendmail冲突
2015-08-05 12:22 潇湘隐者 阅读(3705) 评论(0) 编辑 收藏 举报在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服务的状态
[root@DB-Server ~]# service sendmail status
sendmail dead but subsys locked
sm-client (pid 22112) is running...
2:检查postfix服务的状态
[root@DB-Server ~]# service postfix status
master (pid 1777) is running...
3:停止postfix服务
[root@DB-Server ~]# service postfix stop
Shutting down postfix: [ OK ]
4:重新启动sendmail服务
[root@DB-Server ~]# service sendmail stop
Shutting down sm-client: [ OK ]
Shutting down sendmail: [FAILED]
[root@DB-Server ~]# service sendmail stop
[root@DB-Server ~]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
5:禁用postfix在reboot后自动启动
检查一下是否有设定 postfix 在 reboot 后自动启动
chkconfig --list | grep postfix
chkconfig postfix off

· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· PostgreSQL 和 SQL Server 在统计信息维护中的关键差异
· C++代码改造为UTF-8编码问题的总结
· DeepSeek 解答了困扰我五年的技术问题
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 实操Deepseek接入个人知识库
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
2013-08-05 Crontab定时任务配置
2010-08-05 SQL Server ——动态SQL