givanildojesus
(usa Debian)
Enviado em 22/12/2009 - 10:44h
Ola pessoal!!!
Bom quando vou restart o squid esta aparecendo o seguinte error abaixo:
Debian:/etc/init.d# sh squid stop
Stopping Squid HTTP proxy: squid.
Debian:/etc/init.d# sh squid force-reload
Reloading Squid configuration files.
2009/12/22 10:39:15| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_access deny all
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
done.
segue abaixo as configurações do squid.conf
Debian:/etc/squid/squid.conf# cat squid.conf
################ >> Configuracoes gerais <<#################
#-----------------------------------------------------------------------------
# >> Porta padrao <<
http_port 3128 transparent
# >> Nome do servidor <<
visible_hostname Grupo Sreis & Iguatemi Moveis
#-----------------------------------------------------------------------------
hierarchy_stoplist cgi-bin?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
maximum_object_size_in_memory 100 KB
maximum_object_size 6144 KB
minimum_object_size 0 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy lru
memory_replacement_policy lru
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
access_log /var/log/squid/access.log squid
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 3000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_swap_log /var/spool/squid/swap.log
cache_mgr givanildojesus@gmail.com
error_directory /usr/share/squid/errors/Portuguese
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
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.255
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl site_negados url_regex -i "/etc/squid/bloqueados/block.txt"
acl nomes_proibidos url_regex -i "/etc/squid/palavras/negados.txt"
#----------------------------------------------------------------------------#
http_access allow localhost
http_access allow manager localhost
http_access deny site_negados
http_access deny nomes_proibidos
http_access allow all
http_access deny all
Debian:/etc/squid/squid.con
os diretorios que são usados nas acl foram criados e dei permissão a ele com o comando chmod, outra coisa o erro e na linha 180, porem esse conf n tem 180 linhas, se alguem puder me ajudar seria grato
vlw!!!