(98)Address already in use: make_sock: could not bind to address 80 [resolved] (2012-10-11 09:04)

以前遇到一个问题:

sudo /etc/init.d/apache2 start
 * Starting web server apache2                                                                                                      apache2: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName
(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

其实就是80端口被占用的原因,解决办法如下:

sudo fuser -k -n tcp 80

sudo /etc/init.d/apache2 start
时间: 2024-08-05 23:17:29

(98)Address already in use: make_sock: could not bind to address 80 [resolved] (2012-10-11 09:04)的相关文章

Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80

1. 启动 Apache 时报错: [[email protected] sh]# service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName (98)Address already in use: make_sock: could not bi

apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80

# /usr/local/apache2/bin/apachectl 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:80no listening sockets available, shutting downU

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

问题说明80端口被占用,用netstat -nlp |grep :80命令看看有什么进程占用了80端口,发现是httpd进程. 没想到安装了两个apache,我安装apache2.4的时候删除了2.2的apache啊, 可能是安装php memcache扩展的时候莫名其妙的安装了上了. 总之要卸载它 rpm -qa|grep -i httpd rpm -e --nodeps httpd-2.2.15-59.el6.centos.x86_64 rpm -e --nodeps httpd-tools

Address already in use: make_sock: could not bind to address 0.0.0.0:80

显示:80端口的某些进程还是存在的, 可以用 ps -ef | grep httpd 查看进程,然后Kill -9 进程号  杀死进程, 如果没有可能是端口冲突 可以用netstat -nat|grep -i "80"|wc -l  查看有多少个80端口 然后查看netstat -nat|grep -i "80" 终端输入: find / -name ports.conf /etc/apache2/ports.conf 输入: vim '/etc/apache2/p

apache启动报错(98)Address already in use: make_sock: could not bind to...

# /etc/init.d/httpd startStarting 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:80no listening sockets available, shutting downUnable to open lo

(98)address already in use: ah00072: make_sock: could not bind to address 0.0.0.0:80

(98)address already in use: ah00072: make_sock: could not bind to address 0.0.0.0:80 问题描述: 80端口已经被占用,导致启动不了 解决思路: 一种是比较简单的情况,查看80端口进程号,然后kill -9 该进程号关闭占用该80端口的进程,然后重启即可 另一种是查询不到80端口被占用,但是出现这样的提示,我困惑很久,最后是参考该文得到的思路https://www.digitalocean.com/communit

httpd 启动报错“”Permission denied: make_sock: could not bind to address [::]:80“”

今天闲来无事复习一下普通用户httpd源码的安装,安装过程不赘述,在启动过程中提示错误 [[email protected] bin]$ ./httpd -k start httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.56.115 for ServerName (13)Permission denied: make_sock: could not bind t

permission denied make_sock could not bind to address 81问题解决

在apache中绑定非http标准端口时,一直出现如下的错误提示: [[email protected] ~]# /etc/init.d/httpd start Starting httpd: (13)Permission denied: make_sock: could not bind to address 0.0.0.0:888 no listening sockets available, shutting down Unable to open logs [FAILED] 解决方案:

apache报Permission denied: make_sock: could not bind to address 解决方案

启动Apache时报错信息: [[email protected] httpd]# /etc/init.d/httpd startStarting httpd: (13)Permission denied: make_sock: could not bind to address [::]:8000(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8000no listening sockets availab