# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
#80端口被占用
查找80端口被占用的进程并杀死该进程
1.netstat -lnp|grep 80
tcp 0 0 :::80 :::* LISTEN 8332/sh
找到pid 8332
杀掉 pid 8332
#kill -9 8332
杀掉
#/etc/init.d/httpd start
启动成功 apache启动报错# Address already in use: make_sock: could not bind to address [::]:80
最新推荐文章于 2015-05-01 14:42:00 发布
本文介绍了解决Apache服务启动失败的问题,详细步骤包括检查80端口占用情况、找到占用进程并结束进程,最终成功重启服务。
1840

被折叠的 条评论
为什么被折叠?



