centos7无法启动postfix服务
原作链接:
http://www.koukousky.com/server/1857.html
yum安装postfix
yum -y install postfix
保错信息如下:
(cmdb) [root@node1 ~]# 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.
(cmdb) [root@node1 ~]# journalctl -xe
Jan 21 16:30:01 node1.cn systemd[1]: Starting Session 764 of user root.
-- Subject: Unit session-764.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
▽ Unit session-764.scope has begun starting up.
Jan 21 16:30:01 node1.cn CROND[5943]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jan 21 16:30:21 node1.cn polkitd[450]: Registered Authentication Agent for unix-process:5950:36693241 (system bus name :1.1600 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org
Jan 21 16:30:21 node1.cn systemd[1]: Reloading.
Jan 21 16:30:21 node1.cn systemd[1]: Configuration file /usr/lib/systemd/system/eni.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs witho
Jan 21 16:30:21 node1.cn polkitd[450]: Unregistered Authentication Agent for unix-process:5950:36693241 (system bus name :1.1600, object path /org/freedesktop/PolicyKit1/AuthenticationAgent,
Jan 21 16:30:28 node1.cn polkitd[450]: Registered Authentication Agent for unix-process:5967:36693923 (system bus name :1.1601 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org
Jan 21 16:30:28 node1.cn systemd[1]: Starting Postfix Mail Transport Agent...
-- Subject: Unit postfix.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit postfix.service has begun starting up.
Jan 21 16:30:28 node1.
16ca
cn aliasesdb[5973]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 21 16:30:29 node1.cn postfix/sendmail[5975]: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 21 16:30:29 node1.cn aliasesdb[5973]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 21 16:30:29 node1.cn postfix[5978]: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 21 16:30:30 node1.cn systemd[1]: postfix.service: control process exited, code=exited status=1
Jan 21 16:30:30 node1.cn systemd[1]: Failed to start Postfix Mail Transport Agent.
-- Subject: Unit postfix.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
解决方法:
修改 /etc/postfix/main.cf的设置
inet_protocols = ipv4
inet_interfaces = all
重新启动postfix即可
systemctl start postfix.service
- centos7 虚拟机克隆后 network服务无法启动
- Centos7安装mongodb出现的问题:服务无法启动
- Centos7安装mongodb出现的问题:服务无法启动
- CentOS7安装MariaDB服务无法启动的问题
- CentOS7安装mysql后无法启动服务,提示Unit not found
- SQL Server不能启动的故障-[发生错误 1069 由于登陆失败而无法启动服务]
- 除非 Windows Activation Service (WAS)和万维网发布服务(W3SVC)均处于运行状态,否则无法启动网站。IIS 7
- centos7 开机自启动服务
- mysql 5.7.17 安装教程 附MySQL服务无法启动的解决方法
- Oracle10g OracleDBConsole[SID]服务无法启动
- MSSQLSERVER服务无法启动的解决方案
- 4.0开机服务无法启动的原因
- kali4.0 下tftpd-hpa服务无法启动的解决方案
- mysql 5.7安装 MySQL 服务无法启动但是服务没有报告任何错误
- 解决Windows 7/8上安装Cisco AnyConnect *** Client,服务无法启动问题
- 在 本地计算机 无法启动 MSSQLSERVER 服务。错误 3: 系统找不到指定的路径。
- SQL Server 2000启动1069错误(由于登录失败而无法启动服务)解决方法
- CentOS7 VMware虚拟机克隆 网卡无法启动问题解决
- 发布模块注册成服务有时候无法启动的原因
- SQL Server由于登录失败而无法启动服务的解决方法