码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2016-01-24 07:06:16      阅读:1701      评论:0      收藏:0      [点我收藏+]

标签:apache   error   

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


问题的状态:

(1)重启
[root@iZ25dmhrwpjZ ~]#systemctl restart httpd.service
Job for httpd.service failed. See ‘systemctl status httpd.service‘ and ‘journalctl -xn‘ for details.
技术分享

(2)查看状态
[root@iZ25dmhrwpjZ ~]# 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'

标签:apache   error   

原文地址:http://ouyangjun.blog.51cto.com/10284323/1737943

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!