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

参考: 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相关推荐

  1. 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 ...

  2. 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 ...

  3. 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 ...

  4. Job for mysqld.service failed because the control process exited with error code. See “systemctl sta

    记一次服务器被攻击事件 由于阿里云一直提醒我服务器被攻击,部分端口被封禁等等,所以我登陆了阿里云网页端重启了一下ECS实例,结果 ...重启之后用Xshell连接不上服务器了,几番尝试无果后找到了阿里 ...

  5. 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. ...

  6. 已解决: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 ...

  7. 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 ...

  8. Job for network.service failed because the control process exited with error code问题

    最小化安装了centos7 当配置静态ip的时候,执行 重启网卡的命令 systemctl restart network 但是报了 Job for network.service failed be ...

  9. 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 ...

最新文章

  1. svn中的revert和update
  2. linux crud命令,crudini命令 – 操纵ini文件
  3. Javascript - Select操作大集合
  4. 3、Swing布局管理器
  5. ei指什么_SCI、EI、SSCI和ISTP的区别!
  6. 【论文解读】突破置换模块计算瓶颈,MSRA开源轻量版HRNet,超越主流轻量化网络!|CVPR2021...
  7. MySQL高级 - 存储引擎 - 特性
  8. Java的后缀分类_JAVA根据文件后缀名分类文件,并且将文件复制到不同的文件夹,求这段代码的注释...
  9. *【HDU - 1242 】 Rescue (反向dfs,或bfs)
  10. LeetCode题 - 1 两数之和
  11. Asp.net Ajax 的 PageRequestManager类的事件
  12. Delphi 调用Domino Lotus OA
  13. rpg服务器修改数据,ATOM RPG 修改数据方法 怎么修改游戏数据-游侠网
  14. APP安全——抓包代理工具的设置
  15. 大数据、人工智能带来的危机:科技巨头会毁掉我们的生活吗?
  16. 财务需要哪些计算机能力,建设财务共享中心,财务人员应具备哪些能力?
  17. 2023年全国最新会计专业技术资格精选真题及答案15
  18. 华为机试真题 C++ 实现【叠积木】
  19. 解决谷歌浏览器跨域以及cookie保存失效重复登录
  20. 编程中的逻辑实现,三种逻辑结构(顺序、循环、分支)、跳转、函数以及错误处理

热门文章

  1. 常见的HTTP Headers有哪些?
  2. 利用Jenkins+蒲公英平台显示二维码 部署Android打包踩过的坑
  3. Flask中 jsonify有什么作用?如何使用?
  4. 【方法】Latex多行公式及编号
  5. 人工智能在游戏领域的应用有哪些?
  6. FAR PASCAL 的解释
  7. MPU9250配置及原始数据读取
  8. 阿里巴巴淘系技术部拍卖部-春招提前批
  9. python + opencv 框选出图片中人脸
  10. 字符数组 - 数组名