开发者社区> 问答> 正文

httpd启动失败

[root@izly3vegwsanl2z ~]# systemctl status httpd -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-08-11 19:51:11 CST; 5min ago

 Docs: man:httpd(8)
       man:apachectl(8)

Process: 11190 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 11189 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 11189 (code=exited, status=1/FAILURE)

Aug 11 19:51:11 izly3vegwsanl2z httpd[11189]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.131.150. Set the 'ServerName' directive globally to suppress this message
Aug 11 19:51:11 izly3vegwsanl2z httpd[11189]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Aug 11 19:51:11 izly3vegwsanl2z httpd[11189]: no listening sockets available, shutting down
Aug 11 19:51:11 izly3vegwsanl2z httpd[11189]: AH00015: Unable to open logs
Aug 11 19:51:11 izly3vegwsanl2z systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 11 19:51:11 izly3vegwsanl2z kill[11190]: kill: cannot find process ""
Aug 11 19:51:11 izly3vegwsanl2z systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 11 19:51:11 izly3vegwsanl2z systemd[1]: Failed to start The Apache HTTP Server.
Aug 11 19:51:11 izly3vegwsanl2z systemd[1]: Unit httpd.service entered failed state.
Aug 11 19:51:11 izly3vegwsanl2z systemd[1]: httpd.service failed.

展开
收起
himcon 2017-08-11 21:32:24 9821 0
1 条回答
写回答
取消 提交回答
  • 现任杭州懒猪行CTO,曾任某知名网络安全企业高级产品经理,具有多年的互联网产品的设计和开发经验。

    AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.131.150. Set the 'ServerName' directive globally to suppress this message
    Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

    这里显示配置错误

    2019-07-17 21:29:06
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
《Nginx 代理系统常用手册》 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载