Starting httpd: (98)Address already in use

```bash Terminal $ sudo /usr/sbin/httpd -S VirtualHost configuration: wildcard NameVirtualHosts and default servers: default:443 www.xxxx.com (/etc/httpd/conf.d/ssl.conf:81) *:80 is a NameVirtualHost port 80 namevhost blog.xxxx.cn (/etc/httpd/conf.d/blogger.conf:1) port 80 namevhost staging.xxxx.com (/etc/httpd/conf.d/john.conf:1) Syntax OK

没有语法出错啊?


```bash Terminal
$ sudo /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
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

$ sudo /etc/init.d/httpd stop 还是报同样的错误.

还以为是配置文件出错!结果是有些缰尸进程杀不掉!

$sudo killall httpd
$sudo /etc/init.d/httpd start

终于一切正常了。

Comments