apache启动报错# Address already in use: make_sock: could not bind to address [::]:80
[*]# /etc/init.d/httpd restart
Stopping httpd:
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
[*]
[*]#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
[*]
[*]启动成功
页:
[1]