If you have squid 2.6 under Linux (probably RHEL/CentOS) and everything works perfectly but it's not possible to load
http://www.site.com:7779 <-- yeah that's Oracle ;)
and you see this error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.site.com:7779
The following error was encountered:
Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@site.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.site.com (squid/2.6.STABLE6)
then the problem is SELINUX. Check the logs and create new rules to allow that action. If you dont know how then you should disable SELINUX:
Edit /etc/selinux/config and change "enforce" for "disabled" (permissive will generate logs for everything it blocks without really blocking it)
So you dont need to restart just disable it with this command for now (after rebooting the config will take effect so no problem):
$ setenforce 0 <-- you disable it like this
Then you verify:
$ sestatus <-- It must show you "disabled"
Hope it helps ;)
Hugo Martin
No comments:
Post a Comment