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 -xe" for details.
debug的过程:中发现具体的问题是:parameter inet_interfaces: no local interface found for ::1
[root@ ~]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport AgentLoaded: 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 agoProcess: 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 ::1
4月 18 09:34:08 iz2ze3xidelaqr3x4lx0lpz aliasesdb[7677]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
4月 18 09:34:08 iz2ze3xidelaqr3x4lx0lpz postfix[7683]: fatal: parameter inet_interfaces: no local interface found for ::1
4月 18 09:34:09 iz2ze3xidelaqr3x4lx0lpz systemd[1]: postfix.service: control process exited, code=exited status=1
4月 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 = ipv4
inet_interfaces = all
参考: https://forums.opensuse.org/showthread.php/436441-Postfix-error-message
Job for postfix.service failed because the control process exited with error code. See systemctl st相关推荐
- Job for network.service failed because the control process exited with error code. See systemctl st
问题详情: 操作系统:centos7.6 root@oraclelinux ~]# ping www.baidu.coom ping: www.baidu.coom: Name or service ...
- Job for smbd.service failed because the control process exited with error code. See “systemctl statu
错误 $ sudo service smbd restartJob for smbd.service failed because the control process exited with er ...
- Job for slapd.service failed because the control process exited with error code. See systemctl stat
安装启动LDAP的时候如果报错 [root@cdh-server1 ~]# systemctl start slapd Job for slapd.service failed because the ...
- Job for mysqld.service failed because the control process exited with error code. See “systemctl sta
记一次服务器被攻击事件 由于阿里云一直提醒我服务器被攻击,部分端口被封禁等等,所以我登陆了阿里云网页端重启了一下ECS实例,结果 ...重启之后用Xshell连接不上服务器了,几番尝试无果后找到了阿里 ...
- Job for docker.service failed because the control process exited with error code. See systemctl sta
docker启动的时候出现这个错误: Job for docker.service failed because the control process exitedwith error code. ...
- 已解决:Job for docker.service failed because the control process exited with error code. See “systemctl
1.问题描述 Docker宿主机重启后,再次执行systemctl start docker命令时报如下错误: [root@k8s-node02 docker]# systemctl start do ...
- Reids报错解决:Job for redis-server.service failed because the control process exited with error code.
此文首发于我的个人博客:Reids报错解决 Job for redis-server.service failed because the control process exited with er ...
- Job for network.service failed because the control process exited with error code问题
最小化安装了centos7 当配置静态ip的时候,执行 重启网卡的命令 systemctl restart network 但是报了 Job for network.service failed be ...
- Ubuntu中重启ssh服务时提示:Job for ssh.service failed because the control process exited with error code. See
场景 在Ubuntu中重启ssh服务时提示: Job for ssh.service failed because the control process exited with error code ...
最新文章
- svn中的revert和update
- linux crud命令,crudini命令 – 操纵ini文件
- Javascript - Select操作大集合
- 3、Swing布局管理器
- ei指什么_SCI、EI、SSCI和ISTP的区别!
- 【论文解读】突破置换模块计算瓶颈,MSRA开源轻量版HRNet,超越主流轻量化网络!|CVPR2021...
- MySQL高级 - 存储引擎 - 特性
- Java的后缀分类_JAVA根据文件后缀名分类文件,并且将文件复制到不同的文件夹,求这段代码的注释...
- *【HDU - 1242 】 Rescue (反向dfs,或bfs)
- LeetCode题 - 1 两数之和
- Asp.net Ajax 的 PageRequestManager类的事件
- Delphi 调用Domino Lotus OA
- rpg服务器修改数据,ATOM RPG 修改数据方法 怎么修改游戏数据-游侠网
- APP安全——抓包代理工具的设置
- 大数据、人工智能带来的危机:科技巨头会毁掉我们的生活吗?
- 财务需要哪些计算机能力,建设财务共享中心,财务人员应具备哪些能力?
- 2023年全国最新会计专业技术资格精选真题及答案15
- 华为机试真题 C++ 实现【叠积木】
- 解决谷歌浏览器跨域以及cookie保存失效重复登录
- 编程中的逻辑实现,三种逻辑结构(顺序、循环、分支)、跳转、函数以及错误处理