centos7无法启动postfix

linux7无法进入系统,记录一次断电导致centos7.4系统不能正常进入的解决方案 情况描述:园区意外断电,导致服务器centos7.4系统不能正常进入,一直卡在进度条界面,按esc或者f5能够看到详细的错误,主要有三个服务报错,如下图:chronyd、Postfix、polkit服务启动失败分析情况:这几个服务都是centos下常见的服务,chronyd是时间同步服务,Postfix是邮件服务,polkit是linux服务器上面的一种服务器方法进程,是不是最后一个服务失败导致系... 阅读详情

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.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无法启动postfix服务
https://blog.51cto.com/maoxiaoxiong/2345095

centos7安装部署gitlab服务器 我这里使用的是centos 7 64bit1. 安装依赖软件[root@localhost/]# yum -y install policycoreutils openssh-server openssh-clients postfix2.设置postfix开机自启,并启动postfix支持gitlab发信功能[root@localhost/]# systemctl enable postfix... 阅读详情

相关推荐

CentOS7重启网络报错: Failed to start LSB: Bring up/down networking

网络启动报错: [root@localhost network-scripts]# systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "jou...

胡子的博客 2597

Failed to start Postfix Mail Transport Agent.

Postfix 启动出错 几经百度得出: 修改 /etc/postfix/main.cf inet_interfaces = all #监听所有,默认人监听127.0.0.1 inet_protocols = all #监听协议(ipv4...) myhostname = mail.mydomain.com #不能为IP systemctl start postfix. 启动成功 ...

CN-LILU的博客 8005

Fatal: the Postfix mail system is already running 解决办法

Fatal: the Postfix mail system is already running 的解决方案 【问题情境】 当启动postfix服务时出现如下错误提示: # service postfix start Starting Postfix Mail Transport Agent: postfixpostfix/postfix-script: fatal: the Postfix mail system is already running failed! 此外,postfix的status报告postfix is not running. # service postfi

centos7无法启动postfix服务

原作链接:http://www.koukousky.com/server/1857.htmlyum安装postfixyum -y install postfix保错信息如下:(cmdb) [root@node1 ~]# systemctl start postfixJob for postfix.service failed because the control process exited w...

weixin_34283445的博客 3648

Centos7.x启动postfix服务失败,提示 Job for postfix.service failed because the control process exited with

失败提示信息为:Job for postfix.service failed because the control process exited with error co de. See “systemctl status postfix.service” and “journalctl -xe” for details. 执行journalctl -xe命令获得如下信息: 修改/etc/postfix/main.cf文件中的 inet_interfaces = localhost inet_prot

qq_41438223的博客 3154

my.ini修改后服务无法启动_Centos7搭建GitLab私人服务器

往期 · 推荐基于大数据的苏州市交通分析系统——古城专题道路交通信息常用检测技术介绍——第一篇:地磁检测器道路交通信息常用检测技术介绍——第二篇:环形线圈检测器道路交通信息常用检测技术介绍——第三篇:射频检测器PS:环境准备Centos7、GitLab1301安装Gitlab10以后所需的依赖包,并启动sshdyum install -y curl policycoreutils-pyt...

weixin_39668470的博客 250

CentOS postfix启动报错net_interfaces: no local interface

CentOS 7 postfix启动报错: inet_interfaces: no local interface found for ::1 当前环境CentOS 7.4 [root@test ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) [root@test ~]# uname -r 3.10.0...

pheng5的博客 3123

记录一次断电导致centos7.4系统不能正常进入的解决方案

情况描述:园区意外断电,导致服务器centos7.4系统不能正常进入,一直卡在进度条界面,按esc或者f5能够看到详细的错误,主要有三个服务报错,如下图: chronyd、Postfix、polkit服务启动失败 分析情况:这几个服务都是centos下常见的服务,chronyd是时间同步服务,Postfix是邮件服务,polkit是linux服务器上面的一种服务器方法进程,是不是最后一个服务失败导...

weixin_34055787的博客 9811

linux目标机断电文件丢失,记录一次断电导致centos7.4系统不能正常进入的解决方案...

情况描述:园区意外断电,导致服务器centos7.4系统不能正常进入,一直卡在进度条界面,按esc或者f5能够看到详细的错误,主要有三个服务报错,如下图:chronyd、Postfix、polkit服务启动失败分析情况:这几个服务都是centos下常见的服务,chronyd是时间同步服务,Postfix是邮件服务,polkit是linux服务器上面的一种服务器方法进程,是不是最后一个服务失败导致系...

weixin_42511151的博客 1227

Postfix无法centos启动

当我今天尝试启动postfix时,我收到以下消息 fatal: parameter inet_interfaces: no local interface found for ::1 解决方案很简单: 1. 打开 /etc/postfix/main.cf 2. 评论出来 inet_interfaces: all 3. 加 inet_protocol: ipv4 转载于:https://blog....

weixin_33762321的博客 256

CentOS 7启动postfix服务报错:fatal: parameter inet_interfaces: no local interface found for ::1...

sed -i 's/inet_interfaces = localhost/inet_interfaces = all' /etc/postfix/main.cf service postfix restart 参考: https://blog.csdn.net/xiangshanqishi/article/details/23439397 转载于:https://www....

weixin_30848775的博客 238

五(1)、Linux遇到的问题

1、yum 安装yum install telnet 报错no more mirrors to try 尝试1: 按照网上找的方法: yum clean all yum makecache yum -y update 但是在第二步的时候,就报另外一个错: Cannot find a valid baseurl for repo: base/7/x86_64 又找到网上说的解决这个问题的方法:去掉(...

Angular_need的博客 828

Job for postfix.service failed because the control process exited with error code. See "systemctl st

CentOS 7.2 启动postfix的时候报错: [root@ ~]# systemctl start postfix Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl

Kodulf的专栏 2万+

Job for postfix service failed because the control process e

Job for postfix service failed because the control process e

qq_43682769的博客 1493

rundeck 警告邮件设置 postfix问题:Job for postfix.service failed because the control process exited with err

Job for postfix.service failed because the control process exited with error code. See “systemctl status postfix.service” and “journalctl -xe” for details. 这是因为防火墙或者配置文件导致,无法启动的邮件服务!! 首先关闭防火墙! 修...

fbz123456的博客 1223

邮件服务器sendmail与postfix的使用

postfix

weixin_47680367的博客 3983
上一篇: centos忘记root密码怎么办
下一篇: win11跳过联网激活
pouike
博客等级 码龄7年 1粉丝 5原创
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值