jefersom
(usa CentOS)
Enviado em 09/01/2013 - 10:27h
Bom dia galera blz? Seguinte tenho o squid instalado porem não estou conseguind fazer ele iniciar abaixo mando o squid.conf e o log das messagens que fica em /var/log/messages
#
# Squid.conf
#
#Porta do squid
http_port 3128 transparent
#Nome do Servidor
visible_hostname mundodacomputacao.com.br
#Memoria utilizada pelo cache
cache_mem 700 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size_in_memory 64 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
#Local onde o cache e gravados
cache_dir ufs /var/cache/squid 3000 16 256
#Local onde o log de acesso e gravado
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_effective_user squid
cache_effective_group nobody
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.0
acl Safe_ports port 80 #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 210 #wais
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 Safe_ports port 901 #swat
acl Safe_ports port 1025-65535 #portas altas
acl purge method PURGE
acl CONNECT method CONNECT
acl SSL_ports port 443 563
##ACL
acl redelocal src 10.1.1.0/24
#Regra de acesso
http_access allow localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow redelocal
http_access deny all
icp_access allow all
error_directory /usr/share/squid/errors/Portuguese
=========================
#
# /var/log/messages
#
foruse squid[3531]: Cannot open '/var/log/squid/access.log' for writing
The parent directory must be writeable by the user 'squid', which is the cache_effective_user
set in squid.conf.
Jan 9 10:05:22 foruse squid[3518]: Squid Parent: child process 3531 exited due to signal 6
Jan9 10:05:25 foruse squid[3518]: Squid Parent: child process 3537 started
Jan
9 10:05:25 foruse squid[3537]: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the user 'squid', which is the cache_effective_user
et in squid.conf.
Jan 9 10:05:25 foruse squid[3518]: Squid Parent: child process 3537 exited due to signal 6
Jan 9 10:05:28 foruse squid[3518]: Squid Parent: child process 3542 started
Jan
9 10:05:28 foruse squid[3542]: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the user 'squid', which is the cache_effective_user
set in squid.conf.
Jan 9 10:05:28 foruse squid[3518]: Squid Parent: child process 3542 exited due to signal
6
Jan 9 10:05:28 foruse squid[3518]: Exiting due to repeated, frequent failures