postfix與sendmail衝突,postfixsendmail

來源:互聯網
上載者:User

postfix與sendmail衝突,postfixsendmail

在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

 

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.