百度空间 | 百度首页 
 
查看文章
 
[Apache]Address already in use: make_sock: could not bind to address
2009-03-25 00:21
#/etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: (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]

用netstat察看80端口的情况:
# netstat -tulpn| grep :80

如果 80端口被 httpd 占用,全杀:
# killall -9 httpd

重启Apache:
# /etc/init.d/httpd start

类别:Lamp | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu