See "systemctl status postfix.service" and "journalctl -xe" for details.


啟動postfix的時候報錯:

[root@hadoop002 tmp]# systemctl enable postfix && systemctl start postfix

Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details.
[root@hadoop002 tmp]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2020-01-22 20:05:57 CST; 14s ago
  Process: 1227 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
  Process: 1224 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
  Process: 1221 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)

Jan 22 20:05:55 hadoop002 systemd[1]: Starting Postfix Mail Transport Agent...
Jan 22 20:05:55 hadoop002 aliasesdb[1221]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:56 hadoop002 aliasesdb[1221]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:56 hadoop002 postfix[1227]: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:57 hadoop002 systemd[1]: postfix.service: control process exited, code=exited status=1
Jan 22 20:05:57 hadoop002 systemd[1]: Failed to start Postfix Mail Transport Agent.
Jan 22 20:05:57 hadoop002 systemd[1]: Unit postfix.service entered failed state.
Jan 22 20:05:57 hadoop002 systemd[1]: postfix.service failed.

解決方法:

[root@hadoop002 ~]# vim /etc/postfix/main.cf
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = all

# Enable IPv4, and IPv6 if supported
inet_protocols = ipv4


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details. centos7啟動MySQL報 Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details. Jenkins報錯:Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details. Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. Linux 重啟網卡失敗 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. mysql—Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.問題 Jenkins 安裝啟動提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.” Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM