Job for postfix.service failed because the control process exited with error code. See "systemctl st
来源:互联网 发布:数据对账 英文怎么说 编辑:程序博客网 时间:2024/05/16 06:59
CentOS 7.2 启动postfix的时候报错:
[root@ ~]# systemctl start postfixJob for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details.
debug的过程:中发现具体的问题是:parameter inet_interfaces: no local interface found for ::1
[root@ ~]# 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 二 2017-04-18 09:34:09 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)4月 18 09:34:07 iz2ze3xidelaqr3x4lx0lpz systemd[1]: Starting Postfix Mail Transport Agent...4月 18 09:34:07 iz2ze3xidelaqr3x4lx0lpz aliasesdb[7677]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::14月 18 09:34:08 iz2ze3xidelaqr3x4lx0lpz aliasesdb[7677]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::14月 18 09:34:08 iz2ze3xidelaqr3x4lx0lpz postfix[7683]: fatal: parameter inet_interfaces: no local interface found for ::14月 18 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: postfix.service: control process exited, code=exited status=14月 18 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: Failed to start Postfix Mail Transport Agent.4月 18 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: Unit postfix.service entered failed state.4月 18 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: postfix.service failed.
解决方法:
修改 /etc/postfix/main.cf的设置inet_protocols = ipv4inet_interfaces = all
参考:https://forums.opensuse.org/showthread.php/436441-Postfix-error-message
参考:https://forums.opensuse.org/showthread.php/436441-Postfix-error-message
1 0
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Dockers Job for docker.service failed because the control process exited with error code
- Job for tomcat.service failed because the control process exited with error code 解决办法:
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error
- mysql.service failed because the control process exited with error code问题
- Job for postfix.service failed. See 'systemctl status postfix.service' and 'journalctl -xn' for deta
- CentOS7报: Restarting network (via systemctl): Job for network.service failed because the control pr
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 多个so文件引用起的坑
- 面试常考的常用数据结构与算法
- 随笔
- 慕课网地址
- C# sql存儲過程(Stored Procedure)分页查詢功能
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- spring的配置
- python 之正则表达式
- 常用三种类别的IP地址
- Linux服务端编程经验
- Java设计模式:工厂模式
- Found libBaiduMapSDK_base_v4_3_0.so error
- TensorFlow实战——入门
- threejs中的坐标系