disabled connection for (xx.xx.98.34)
2014-12-11 15:21
183 查看
原文:http://blog.sina.com.cn/s/blog_40ce02d70102uw1m.html
apache虚拟主机反向代理错误proxy:HTTP: disabled connection for (xx.xx.x (2014-06-27 16:17:30)
标签: apache linux
Apache ProxyPass出现503
ServiceTemporarily Unavailable
错误的解决方案
在Redhat5 Linux上配置Apache虚拟主机反向代理,将不同的二级域名转发到各自web app的地址上去
发现当访问的时候发现不可访问,出现503错误:
Service Temporarily Unavailable
The server is temporarily unable to serviceyour request due to maintenance downtime or capacity problems. Please try againlater.
Apache/2.2.15 (CentOS) Server atwww.hacpyzlglb.net Port 80
查看cpache log:
[root@log]#/usr/sbin/getsebool -a |grep httpd_can_network_connect
httpd_can_network_connect --> off
httpd_can_network_connect_cobbler -->off
httpd_can_network_connect_db --> off
于是尝试解决方案:
我们需要将httpd_can_network_connect设置为on:
重新访问,页面果然可以访问了。
另外直接关掉SELinux也是可以解决这个问题的:
修改/etc/selinux/config 然后重启:
SELINUX=disabled 或者实时生效的方式:
[root@ var]# /usr/sbin/setenforce 0
原文:http://blog.sina.com.cn/s/blog_40ce02d70102uw1m.html
apache虚拟主机反向代理错误proxy:HTTP: disabled connection for (xx.xx.x (2014-06-27 16:17:30)
标签: apache linux
Apache ProxyPass出现503
ServiceTemporarily Unavailable
错误的解决方案
在Redhat5 Linux上配置Apache虚拟主机反向代理,将不同的二级域名转发到各自web app的地址上去
发现当访问的时候发现不可访问,出现503错误:
Service Temporarily Unavailable
The server is temporarily unable to serviceyour request due to maintenance downtime or capacity problems. Please try againlater.
Apache/2.2.15 (CentOS) Server atwww.hacpyzlglb.net Port 80
查看cpache log:
[Fri Jun 27 16:08:32 2014] [error]ap_proxy_connect_backend disabling worker for (xx.xx.98.34) [Fri Jun 27 16:12:23 2014] [error](13)Permission denied: proxy: HTTP: attempt to connect to xx.xx.98.34:1080(xx.xx.98.34) failed [Fri Jun 27 16:12:23 2014] [error]ap_proxy_connect_backend disabling worker for (xx.xx.98.34) [Fri Jun 27 16:12:23 2014] [error] proxy:HTTP: disabled connection for (xx.xx.98.34)执行
[root@log]#/usr/sbin/getsebool -a |grep httpd_can_network_connect
httpd_can_network_connect --> off
httpd_can_network_connect_cobbler -->off
httpd_can_network_connect_db --> off
于是尝试解决方案:
我们需要将httpd_can_network_connect设置为on:
[root@ logs]# /usr/sbin/setsebool -P httpd_can_network_connect=1 [root@ logs]# /usr/sbin/getsebool -a |grep httpd_can_network_connecthttpd_can_network_connect --> on
重新访问,页面果然可以访问了。
另外直接关掉SELinux也是可以解决这个问题的:
修改/etc/selinux/config 然后重启:
SELINUX=disabled 或者实时生效的方式:
[root@ var]# /usr/sbin/setenforce 0
原文:http://blog.sina.com.cn/s/blog_40ce02d70102uw1m.html
相关文章推荐
- Lombok Requires Annotation Processing Annotation processing seems to be disabled for the project "xx
- powerpc eldk:Invalid configuration ppc_6xx :machine ppc_6xx not recognized
- pip install xx时候报错:Fatal error in launcher: Unable to create process using
- XueXX and P-P String(中南OJ)
- GG搭建 源单实例---到目标RAC环境 11.2.3版本 单向同步(XX公司项目)
- Microsoft visual studio C 运行时库 在 xx.exe中检测到一个错误
- STM32F0xx_TIM输入捕获(计算频率)配置详细过程
- STM32F0xx_RTC实时时钟配置详细过程
- MyEclipse内存不足以及参数配置“ -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M ”
- 表单中Readonly和Disabled的区别
- python结合selenium获取XX省交通违章数据的实现思路及代码
- 大数据:从入门到XX(四)
- Linux 下编译安装软件,找不到共享库 xx.so 的解决办法
- xxtea 加密解密
- Class.forName(xxx.xx.xx) 的理解
- host'xx.xxx.xxx.xxx' is not allowed to connect to this mysql server
- 解决Cannot create PoolableConnectionFactory (Access denied for user 'xxx'@'xxx.xxx.xx.xxx' (using pas
- bzoj3571: [Hnoi2014]画框 最小乘积匹配+最小乘积XX总结,
- xx:xx,xx:xx规则的字符串怎么解析呢
- javah提示:找不到 ‘XX.XXXX.XX.CLASSNAME’ 的类文件