apache httpd配置ajp报错:ap_proxy_connect_backend disabling worker for (localhost)

报错信息:

(13)Permission denied: proxy: AJP: attempt to connect to 127.0.0.1:9019 (localhost) failed
[Wed Aug 06 10:02:16 2014] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Aug 06 10:02:16 2014] [error] proxy: AJP: failed to make connection to backend: localhost

 

查看 can_network_connect   

 /usr/sbin/getsebool -a |grep httpd_can_network_connect   

设置 can_network_connect   

/usr/sbin/setsebool -P httpd_can_network_connect=1  

 

然后就解决了

你可能感兴趣的:(localhost)