Postfix conflicts with sendmail. postfixsendmail

Source: Internet
Author: User

Postfix conflicts with sendmail. postfixsendmail

After sendmail is configured on the Linux Server (CentOS release 6.6), a problem is found during the test of sending the mail. Check the sendmail service status and find that it is in "sendmail dead but subsys locked ", check and find that the postfix service is also running. You only need to stop the postfix service. Why is this happening? Something was occasionally causing the postfix service to start which then caused the status of sendmail to jump to dead but subsys locked.

Procedure:

1: Check the sendmail service status

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

 

2: Check the status of the postfix service.

[root@DB-Server ~]# service postfix status
master (pid  1777) is running...

 

3: Stop the postfix service.

[root@DB-Server ~]# service postfix stop
Shutting down postfix: [  OK  ]

 

4: restart the sendmail service.

[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. Disable postfix and enable it automatically after reboot.

Check whether there is a set postfix that is automatically started after reboot.
Chkconfig -- list | grep postfix

Chkconfig postfix off

 

References:
Http://blog.chinaunix.net/uid-30212356-id-5081317.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.