Job for Postfix.service failed because process exited with error code. "Systemctl St

Source: Internet
Author: User

CentOS 7.2 When starting postfix error:

[root@ ~]# systemctl start postfix Job for Postfix.service failed because the control
process exited with error code. "Systemctl status Postfix.service" and "Journalctl-xe" for details.


Debug process: The specific problem found in: Parameter Inet_interfaces:no local interface found for:: 1

[root@ ~]# systemctl status postfix.service postfix.service-postfix Mail transport Agent loaded:loaded (/usr/lib/s Ystemd/system/postfix.service; Enabled Vendor preset:disabled) active:failed (Result:exit-code) since II 2017-04-18 CST; 1min 8s ago process:7683 execstart=/usr/sbin/postfix Start (code=exited, status=1/failure) process:7680 ExecStartPre =/usr/libexec/postfix/chroot-update (code=exited, status=0/success) process:7677 Execstartpre=/usr/libexec/postfix /aliasesdb (code=exited, status=75) April 09:34:07 Iz2ze3xidelaqr3x4lx0lpz systemd[1]: Starting Postfix Mail Transport Ag
Ent... April 09:34:07 Iz2ze3xidelaqr3x4lx0lpz aliasesdb[7677]:/usr/sbin/postconf:fatal:parameter Inet_interfaces:no Local Terface found for:: 1 April 09:34:08 Iz2ze3xidelaqr3x4lx0lpz aliasesdb[7677]: Newaliases:fatal:parameter inet_interfaces  : No local interface found for:: 1 April 09:34:08 Iz2ze3xidelaqr3x4lx0lpz postfix[7683]: Fatal:parameter inet_interfaces: No local Interface found for:: 1 April 09:34:09 Iz2ze3xidelaqr3x4lx0lpz systemd[1]: Postfix.service:control process exited, code=
Exited Status=1 April 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: Failed to start Postfix Mail transport Agent.
April 09:34:09 IZ2ZE3XIDELAQR3X4LX0LPZ systemd[1]: unit Postfix.service entered failed state. April 09:34:09 Iz2ze3xidelaqr3x4lx0lpz systemd[1]: Postfix.service failed.


Workaround:

Modify/ETC/POSTFIX/MAIN.CF settings

inet_protocols = IPv4
inet_interfaces = All



Reference: Https://forums.opensuse.org/showthread.php/436441-Postfix-error-message


Reference: Https://forums.opensuse.org/showthread.php/436441-Postfix-error-message

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.