国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 操作系統(tǒng) > 正文

postfix與sendmail沖突

2024-06-28 13:19:23
字體:
來源:轉載
供稿:網(wǎng)友
postfix與sendmail沖突 2015-08-05 12:22 by 瀟湘隱者, ... 閱讀, ... 評論, 收藏, 編輯

在linux服務器(CentOS release 6.6)上配置好了sendmail后,測試發(fā)送郵件時發(fā)現(xiàn)有問題,檢查sendmail服務的狀態(tài),發(fā)現(xiàn)其處于“sendmail dead but subsys locked”, 檢查發(fā)現(xiàn)postfix服務也在運行。只需要將postfix服務停掉即可。為什么會出現(xiàn)這種情況呢?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服務的狀態(tài)

[root@DB-Server ~]# service sendmail status
sendmail dead but subsys locked
sm-client (pid 22112) is running...

2:檢查postfix服務的狀態(tài)

[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

參考資料:http://blog.chinaunix.net/uid-30212356-id-5081317.html


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 潍坊市| 仪征市| 东港市| 翼城县| 宁武县| 项城市| 阿克苏市| 沾化县| 钦州市| 左贡县| 遂昌县| 桐城市| 阜南县| 岳西县| 呼图壁县| 宜川县| 云梦县| 鄄城县| 黑水县| 抚远县| 仁怀市| 乾安县| 雷波县| 鸡泽县| 桦川县| 门源| 宁波市| 遂川县| 会昌县| 伽师县| 礼泉县| 南充市| 比如县| 富顺县| 治县。| 微博| 民权县| 玉树县| 文水县| 灵寿县| 杭锦旗|