CentOS 下启动Httpd 失败,报 (13)Permission denied: make_sock: could not bind to address [::]:8000 因为 小于1024 的端口只能是ROOT占用,但8000已经大于这个数值. Google 一下,发现原来是 SELinux  安全机制的作用. 查看一下预定义 #semanage port -l http_cache_port_t              tcp      3128, 8080, 8118, 112…
在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…
想建立一个测试用的虚拟主机,遇到了这个问题:[root@localhost html]# service httpd startStarting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.termwikidev for ServerName(13)Permission denied: make_sock: could not bind t…
Install semanage tools: sudo yum -y install policycoreutils-python Allow port 88 for httpd: sudo semanage port -a -t http_port_t -p tcp 88 Allow port 8445 for httpd: sudo semanage port -a -t http_port_t -p tcp 8445…
以前遇到一个问题: 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…
问题:命令行运行httpd.exe时报错 (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次.  : AH00072: make_sock: could not bind to address [::]:443 分析:意思就是443端口号被占用了 解决方法:改端口号…
**********************************************************处理办法:# 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…
ubuntu上安装Apache2时出现错误 Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 端口被占用造成 在root权限下键入命令: # netstat -lnp | grep 80 从图中可以看出nginx占用了进程 键入命令 #pkill -9 nginx 杀死nginx的所有进程 再次启动Apache成功…
(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…
问题说明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…