httpd启动失败-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

httpd启动失败

himcon 2017-08-11 21:32:24 5659

[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.

Apache
分享到
取消 提交回答
全部回答(1)
  • tenstone
    2019-07-17 21:29:06

    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

    这里显示配置错误

    0 0
云计算
使用钉钉扫一扫加入圈子
+ 订阅

时时分享云计算技术内容,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。

推荐文章
相似问题