liromaster
(usa Ubuntu)
Enviado em 14/08/2013 - 12:48h
Estou com o seguinte problema.
ao configurar meu squid.conf para usar autenticação o squid para de funcionar ao usar o seguinte comando
# squid3 -k reconfigure
mensagem de erro : squid: ERROR: Could not send signal 1 to process 1949: (3) No such process
deixando as maquinas sem internet. mas seu tirar a autenticação funciona normalmente.
Segue meu squid.conf
http_port 3128
visible_hostname Meu Proxy
# Programa responsavel pela autenticacao ncsa_auth
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd
auth_param basic children 5
auth_param basic realm "Digite seu usuario e senha"
auth_param basic credentialsttl 4 hours
auth_param basic casesensitive off
acl usuarios proxy_auth REQUIRED
# Administradores
acl administradores proxy_auth "/etc/squid3/grupos/administradores"
error_directory /usr/share/squid3/errors/pt-br
cache_mgr meuemail@email.com.br
cache_mem 2000 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 30000 MB
minimum_object_size 40 KB
cache_swap_low 90
cache_swap_high 95
cache_dir aufs /var/spool/squid3 45000 16 256
cache_access_log /var/log/squid3/access.log
acl manager proto cache_object
acl redelocal src 192.168.0.0/24
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 81 2087 10000
acl Safe_ports port 80 8080 #http
acl Safe_ports port 21 #ftp
acl Safe_ports port 443 563 #https, snews
acl Safe_ports port 70 #gopher
acl Safe_ports port 1025-65535 #unregistered ports
acl Safe_ports port 280 #http-mgmt
acl Safe_ports port 488 #gss-http
acl Safe_ports port 591 #filemaker
acl Safe_ports port 777 #multiling http
acl CONNECT method CONNECT
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow administradores
http_access allow localhost
http_access allow redelocal
http_access allow usuarios
http_access deny all
dns_nameservers 8.8.8.8
dns_nameservers 8.8.4.4
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280