Si tienes squid 2.6 bajo Linux (RHEL/CentOS probablemente) y todo funciona perfecto, pero alguien no puede navegar a
http://www.sitio.com:7779
y le aparece este error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sitio.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@sitio.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.sitio.com (squid/2.6.STABLE6)
entonces el problema está en SELINUX, verifica los logs y crea nuevas reglas para permitir esa acción. Si no sabes cómo entonces te conviene deshabilitar SELINUX:
Edita /etc/selinux/config y cambia "enforce" por "disabled" (permissive te va a generar logs por todo lo que bloquee sin bloquearlo realmente)
Para que no reinicies, sólo cambialo con esto:
$ setenforce 0 <-- asñi lo deshabilitas
Luego verificas con:
$ sestatus <-- debería mostrarte "disabled"
Espero te sirva ;)
Hugo Martin
No comments:
Post a Comment