Job for httpd.service failed. See 'systemctl status httpd.service'
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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'的主要内容,如果未能解决你的问题,请参考以下文章
Job for httpd.service failed because the control process exited with error code. See "systemctl
httpd.service 的作业失败,因为控制进程以错误代码退出。有关详细信息,请参阅“systemctl status httpd.service”和“journalctl -xe”
最新cenos执行service httpd restart 报错Failed to restart httpd.service: Unit not found.
linux nginx环境 重启http Failed to restart httpd.service: Unit not found.