See "systemctl status postfix.service" and "journalctl -xe" for details.

启动postfix的时候报错:

[[email protected] tmp]# systemctl enable postfix && 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.
[root@hadoop002 tmp]# 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 Wed 2020-01-22 20:05:57 CST; 14s ago
  Process: 1227 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
  Process: 1224 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
  Process: 1221 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)

Jan 22 20:05:55 hadoop002 systemd[1]: Starting Postfix Mail Transport Agent...
Jan 22 20:05:55 hadoop002 aliasesdb[1221]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:56 hadoop002 aliasesdb[1221]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:56 hadoop002 postfix[1227]: fatal: parameter inet_interfaces: no local interface found for ::1
Jan 22 20:05:57 hadoop002 systemd[1]: postfix.service: control process exited, code=exited status=1
Jan 22 20:05:57 hadoop002 systemd[1]: Failed to start Postfix Mail Transport Agent.
Jan 22 20:05:57 hadoop002 systemd[1]: Unit postfix.service entered failed state.
Jan 22 20:05:57 hadoop002 systemd[1]: postfix.service failed.

解决方法:

[[email protected] ~]# vim /etc/postfix/main.cf
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = all

# Enable IPv4, and IPv6 if supported
inet_protocols = ipv4

原文地址:https://www.cnblogs.com/dalianpai/p/12229580.html

时间: 2024-11-05 21:35:56

See "systemctl status postfix.service" and "journalctl -xe" for details.的相关文章

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details

thinkphp 在Apache上配置启用伪静态,重启Apache1 restart 竟然失败了,报错 Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details 嗯,看状态 执行命令 systemctl status http

docker 报错: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

centos 启动docker服务报错: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 1,create daemon.json in /etc/docker/ 2, put this in it: { &q

Linux 重启网卡失败 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

linux下重启网卡使用命令 : service network restart 时报错: [[email protected] hadoop]# service network restart Starting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.servi

CentOS启动docker1.13失败(Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.)

一.启动失败 1.启动docker [[email protected] ~]# systemctl start docker Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe " for details. 上面表示输入 systemctl

Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.

[[email protected] ~]#  systemctl start php-fpm Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details. [[email protected] ~]#  systemc

docker启动时报错Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

这里报错主要是因为docker启动时需要默认开启selinux,但是可能由于安装某些应用,我们关闭了selinux,所以此时我们需要设置/etc/sysconfig/docker 将下图标黄位置改为false,即设置docker启动时默认不需要开启selinux # /etc/sysconfig/docker # Modify these options if you want to change the way the docker daemon runs OPTIONS='--selinux

Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details

我这边centos安装mongodb启动报错,有mongo版本,是因为删除了配置文件“/etc/mongod.conf” 解决办法:把  /etc/mongod.conf_bak复制到  /etc/mongod.conf cp /etc/mongod.conf_bak /etc/mongod.conf 原文地址:https://www.cnblogs.com/2186009311CFF/p/12268913.html

linux虚拟机出现See 'systemctl status network.service' and 'journalctl -xn' for details.的原因

博主之前也是突然遇到linux没有eth0网卡,重新cp了写了配置但是也没有用,反而有一个莫名其妙的报错 See 'systemctl status network.service' and 'journalctl -xn' for details. 而且再去读eth0会提示file not found 然后尝试重新添加删除网卡 没法重新发现 突然想到会不会是驱动的原因,想到了这个地方 这个是vmware的一个智能设置,他会根据你的ISO自动给你推荐分类的vmware tools,但是博主的IS

Apache重启失败,提示:Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

今天更新完程序,重启apache的时候,第一遍正常重启,1分钟之后第二次重启的时候报错了. 执行service httpd restart之后: 报错: Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details. 此时查看apache状态已经处于stop. 执行 ps -ef | grep httpd  命令查看端口占用的时候,已经没有httpd进程,ap