Apache启动报错Starting httpd: (98)Address already in use: make_sock: could not bind to…

# /etc/init.d/httpd start
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
                                                           [FAILED]

1.netstat -lnp|grep 80

tcp        0      0 192.168.180.66:61027        0.0.0.0:*                   LISTEN      6283/oproxyd       
tcp        0      0 :::80                       :::*                        LISTEN      876/httpd          
tcp        0      0 ::ffff:192.168.180.66:7001 :::*                        LISTEN      32216/java        

 

处理办法:
# killall -9 httpd

# /etc/init.d/httpd start
Starting httpd:                                            [ OK ]
# /etc/init.d/httpd restart
Stopping httpd:                                            [ OK ]
Starting httpd:                                            [ OK ]

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>