我是靠谱客的博主 优雅钥匙,最近开发中收集的这篇文章主要介绍POSTFIX启动时See "systemctl status postfix.service" and "journalctl -xe" for details.,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
[root@docker ~]# 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@docker ~]# 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 Tue 2020-04-28 19:54:28 CST; 10s ago
Process: 24136 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 24133 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 24130 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)
Apr 28 19:54:26 docker systemd[1]: Starting Postfix Mail Transport Agent...
Apr 28 19:54:26 docker aliasesdb[24130]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local in...r ::1
Apr 28 19:54:27 docker aliasesdb[24130]: newaliases: fatal: parameter inet_interfaces: no local interface ...r ::1
Apr 28 19:54:27 docker postfix[24136]: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 28 19:54:28 docker systemd[1]: postfix.service: control process exited, code=exited status=1
Apr 28 19:54:28 docker systemd[1]: Failed to start Postfix Mail Transport Agent.
Apr 28 19:54:28 docker systemd[1]: Unit postfix.service entered failed state.
Apr 28 19:54:28 docker systemd[1]: postfix.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
解决办法:
修改 /etc/postfix/main.cf的设置
inet_protocols = ipv4
inet_interfaces = all
最后
以上就是优雅钥匙为你收集整理的POSTFIX启动时See "systemctl status postfix.service" and "journalctl -xe" for details.的全部内容,希望文章能够帮你解决POSTFIX启动时See "systemctl status postfix.service" and "journalctl -xe" for details.所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复