Job for httpd.service failed. See 'systemctl status httpd.service'

问题:Job for httpd.service failed. See ‘systemctl status httpd.service‘ and ‘journalctl -xn‘ for details.

问题的状态:

(1)重启
[[email protected] ~]#systemctl restart httpd.service
Job for httpd.service failed. See ‘systemctl status httpd.service‘ and ‘journalctl -xn‘ for details.

(2)查看状态
[[email protected] ~]# systemctl status httpd.service
httpd.service - SYSV: Apache is a World Wide Web server.  It is used to serve HTML files and CGI.
   Loaded: loaded (/etc/rc.d/init.d/httpd)
   Active: failed (Result: timeout) since Sat 2016-01-23 20:28:54 CST; 48s ago
  Process: 5386 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS)

Jan 23 20:23:54 iZ25dmhrwpjZ systemd[1]: Starting SYSV: Apache is a World Wide Web server.  It is used to serve HTML files and CGI....
Jan 23 20:23:54 iZ25dmhrwpjZ httpd[5386]: Starting httpd: AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using 10.162.217.220. Set the ‘...this message
Jan 23 20:23:54 iZ25dmhrwpjZ httpd[5386]: httpd (pid 23763) already running
Jan 23 20:23:54 iZ25dmhrwpjZ httpd[5386]: [  OK  ]
Jan 23 20:23:54 iZ25dmhrwpjZ systemd[1]: PID file /var/run/httpd.pid not readable (yet?) after start.
Jan 23 20:28:54 iZ25dmhrwpjZ systemd[1]: httpd.service operation timed out. Terminating.
Jan 23 20:28:54 iZ25dmhrwpjZ systemd[1]: Failed to start SYSV: Apache is a World Wide Web server.  It is used to serve HTML files and CGI..
Jan 23 20:28:54 iZ25dmhrwpjZ systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

(3)http访问

开始百度搜索解决方案

参考

http://wangsheng1.blog.51cto.com/29473/1550655

Job for httpd.service failed. See 'systemctl status httpd.service'

时间: 2024-12-24 01:15:01

Job for httpd.service failed. See 'systemctl status httpd.service'的相关文章

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

nginx启动报错:Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' fo

一.背景 这个错误在重启nginx或者启动nginx的时候,经常会出现.我之前也一直认为出现这个错误是因为有程序占用了nginx的进程.但是知其然不知其所以然.每次报错都有点懵逼,所以这边一步步排查错误,做个记录. 二.排错过程 1.按照提示 //按照提示,执行此命令,查看错误原因 systemctl status nginx.service 由报错信息可知,nginx绑定80端口失败.详细错误请输入 -l 继续查看 2.继续跟踪错误 //查看错误的详情 systemctl status ngi

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

Linux系统Docker启动问题Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service"

在Liunx中使用Docker, 注: Liunx使用的是在虚拟机下的centOS7版本在刚开始安装Docker时没有任何错误, 但是在后续的docker启动过程中, 出现以下问题: 1 [[email protected] docker]# service docker start 2 Redirecting to /bin/systemctl start docker.service 3 Job for docker.service failed because the control pr

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 -