apache 灵异事件
apache 灵异事件Starting httpd: (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
处理办法:
# ps -aux | grep http
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 120790.00.061164 720 pts/1 S+ 16:06 0:00 grep http
# ps -aux | grep apache
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
apache 108200.00.0 2044 600 ? Ss Jan01 0:04 bash
root 120810.00.061160 716 pts/1 S+ 16:06 0:00 grep apache
# kill -9 10820
或者
killall -9 httpd
killall -9 apache2
启动:sudo /etc/init.d/apache2 start
重启:sudo /etc/init.d/apache2 restart
或者cd /etc/init.d
sudo apache2 -k restart
关闭:sudo /etc/init.d/apache2 stop
页:
[1]