[转] Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL
程序员文章站
2022-04-26 18:37:35
...
原文地址: http://sysadminsjourney.com/content/2010/02/01/apache-modproxy-error-13permission-denied-error-rhel/
现象:
Apache 错误 Log 如下:
解决办法:
若经过上述修改不报错了,再执行下面的命令,使其永久生效:
现象:
Apache 错误 Log 如下:
[Wed Feb 08 05:53:54.633904 2017] [proxy_http:error] [pid 29252] [client 172.30.1.26:21397] AH01114: HTTP: failed to make connection to backend: localhost [Wed Feb 08 05:54:22.880990 2017] [proxy:error] [pid 29249] (13)Permission denied: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
解决办法:
/usr/sbin/setsebool httpd_can_network_connect 1
若经过上述修改不报错了,再执行下面的命令,使其永久生效:
/usr/sbin/setsebool -P httpd_can_network_connect 1
下一篇: 如何写一个属于自己的数据库封装(3)
推荐阅读
-
Apache启动错误Permission denied: httpd: could not open error log file解决方法
-
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/itsdangerous' C
-
Mariadb5.5修改默认端口( error: 13: Permission denied)
-
ERROR 3680 (HY000): Failed to create schema directory 'hive' (errno: 13 - Permission denied)
-
Android:java.io.IOException: Cannot run program "/system/xbin/su": error=13, Permission denied
-
[转] Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL
-
Apache 403 error, (13)Permission denied: access to / denied
-
Apache 403 error, (13)Permission denied: access to / denied
-
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/itsdangerous' C