apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
2013-01-17 18:50
726 查看
转自:http://zhizhuofl.blog.163.com/blog/static/699147792011179523222/
# /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.68:61027 0.0.0.0:* LISTEN 6289/oproxyd
tcp 0 0 :::80 :::* LISTEN 846/httpd
tcp 0 0 ::ffff:192.168.180.68:7001 :::* LISTEN 32015/java
找到pid 846
#ps 846
查看
#kill -9 846
杀掉
#./apachectl start
启动成功
*****************************************************************************
处理办法:
# ps -aux | grep http
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 12079 0.0 0.0 61164 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 10820 0.0 0.0 2044 600 ? Ss Jan01 0:04 bash
root 12081 0.0 0.0 61160 716 pts/1 S+ 16:06 0:00 grep apache
# kill -9 10820
# /etc/init.d/httpd start
Starting httpd: [ OK ]
# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
**********************************************************
主要原因是因为httpd已经有运行中的进程,只要kill这些进程,再重新启动就可以了
# /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.68:61027 0.0.0.0:* LISTEN 6289/oproxyd
tcp 0 0 :::80 :::* LISTEN 846/httpd
tcp 0 0 ::ffff:192.168.180.68:7001 :::* LISTEN 32015/java
找到pid 846
#ps 846
查看
#kill -9 846
杀掉
#./apachectl start
启动成功
*****************************************************************************
处理办法:
# ps -aux | grep http
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 12079 0.0 0.0 61164 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 10820 0.0 0.0 2044 600 ? Ss Jan01 0:04 bash
root 12081 0.0 0.0 61160 716 pts/1 S+ 16:06 0:00 grep apache
# kill -9 10820
# /etc/init.d/httpd start
Starting httpd: [ OK ]
# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
**********************************************************
主要原因是因为httpd已经有运行中的进程,只要kill这些进程,再重新启动就可以了
相关文章推荐
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address alre
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address alrea
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- Linux 下安装 Apache 后启动提示 (98)Address already in use: make_sock: could not bind to address [::]:80
- apache 启动失败 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
- (98)Address already in use: make_sock: could not bind to address 80 [resolved]