以前遇到一个问题: 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 ()Address already no listening sockets available, shutting down Unab…
**********************************************************处理办法:# ps -aux | grep httpWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQroot     12079 0.0 0.0 61164   720 pts/1    S+   16:06   0:00 grep http# ps -aux | grep a…
netstat -tulpn| grep :80 killall -9 httpd /etc/init.d/httpd start  or service httpd start…
问题说明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…
说明80端口被用 终端:  ps -ef|grep httpd察看占用的进程或者用netstat -lnp|grep 80 找到后kill掉,如果都不行那么再试试以下方法(试过可以) 终端输入: find / -name ports.conf /etc/apache2/ports.conf 输入: vim '/etc/apache2/ports.conf' 键入‘i’即可修改, 将listen 80 这一句注释掉 按‘Esc’退出编辑状态 按‘:wq’,保存并退出(‘:q’不保存退出,‘:q!’…
网上查了很多资料都是要杀进程,但是并没有找到占用的进程. 最后解决的方案是在apache配置文件下,去掉Listen 80 即可…
# /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…
Apache启动时报错:(98)Address already in use: make_sock: could not bind to... # /etc/init.d/httpd start Starting httpd: ()Address already ()Address already no listening sockets available, shutting down Unable to open logs [FAILED] 1.查找占用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…
在apache中绑定非http标准端口时,一直出现如下的错误提示: [root@localhost ~]# /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] 解决方案: 增加s…