Home | Downloads | Fórums | Notícias | Preferências | Galeria | Cadastro | Wiki-BR
 

[ Comunidade Fedora Brasil ]: Forums



Comunidade Fedora Brasil :: Exibir tópico - Erro ao iniciar o squid
 FAQFAQ   PesquisarPesquisar   GruposGrupos   PerfilPerfil   Entrar e ver Mensagens ParticularesEntrar e ver Mensagens Particulares   LoginLogin 

Erro ao iniciar o squid

 
Novo Tópico   Responder Mensagem    Comunidade Fedora Brasil - Índice do Fórum -> Squid
Exibir mensagem anterior :: Exibir próxima mensagem  
Autor Mensagem
fabioneves
Entusiasta
Entusiasta


Registrado em: Jun 05, 2006
Mensagens: 174
Localização: Rio de Janeiro

MensagemEnviada: Sáb Abr 28, 2007 12:43 am    Assunto: Erro ao iniciar o squid Responder com Citação

amigos, o seguinte erro é apresentado quando tento iniciar o squid

FATAL: Error Directory /etc/squid/errors/Portuguese: (2) No such file or directory

Procurei onde o squid pega esta linha e nao achei, os amigos poderia me ajudar ???

grato
Voltar ao Topo
Ver o perfil de Usuários Enviar Mensagem Particular Enviar Email
marcosmt
Novato
Novato


Registrado em: Dec 05, 2004
Mensagens: 30
Localização: Campo Verde

MensagemEnviada: Sáb Abr 28, 2007 5:28 pm    Assunto: Responder com Citação

este é o meu squid, funcionando no fc 5, se der algum erro tenho tbem no fc 6, posso te passar nasegunda.

----------------------------------------------------------------------------------
http_port 3128

# TAG: no_cache
# A list of ACL elements which, if matched, cause the request to
# not be satisfied from the cache and the reply to not be cached.
# In other words, use this to force certain objects to never be cached.
#
# You must use the word 'DENY' to indicate the ACL names which should
# NOT be cached.
#
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY


cache_mem 128 MB

cache_swap_low 90
cache_swap_high 95

maximum_object_size 140960 KB

minimum_object_size 0 KB
maximum_object_size_in_memory 256 KB

cache_dir ufs /var/spool/squid 3100 16 256
cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

#Recommended minimum configuration:
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
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 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 901 #SWAT
acl CONNECT method CONNECT

# http_access deny all
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

acl proibidos dstdom_regex "etc/squid/proibidos"
http_access deny proibidos

acl spyware url_regex "etc/squid/blacklistspy.txt
http_access deny spyware

acl bloqueados dstdomain playboy.com.br
http_access deny bloqueados


acl our_networks src 192.168.0.0/24 192.168.2.0/24
http_access allow our_networks

# And finally deny all other access to this proxy
http_access allow localhost
http_access deny all

# http_reply_access allow all
http_reply_access allow all

icp_access allow all

#proxy transparente
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

# TAG: httpd_accel_no_pmtu_disc on|off
# In many setups of transparently intercepting proxies Path-MTU
# discovery can not work on traffic towards the clients. This is
# the case when the intercepting device does not fully track
# connections and fails to forward ICMP must fragment messages
# to the cache server.
#
# If you have such setup and experience that certain clients
# sporadically hang or never complete requests set this to on.
#
# httpd_accel_no_pmtu_disc off
error_directory /usr/share/squid/errors/Portuguese

coredump_dir /var/spool/squid
Voltar ao Topo
Ver o perfil de Usuários Enviar Mensagem Particular MSN Messenger
fabioneves
Entusiasta
Entusiasta


Registrado em: Jun 05, 2006
Mensagens: 174
Localização: Rio de Janeiro

MensagemEnviada: Dom Abr 29, 2007 3:15 am    Assunto: Responder com Citação

marcos acabou me ajudando mesmo, achei a linha com erro no seu conf, alterei o caminho e subiu na boa.......
Voltar ao Topo
Ver o perfil de Usuários Enviar Mensagem Particular Enviar Email
Mostrar os tópicos anteriores:   
Novo Tópico   Responder Mensagem    Comunidade Fedora Brasil - Índice do Fórum -> Squid Todos os horários são GMT - 3 Hours
Página 1 de 1

 
Ir para:  
Enviar Mensagens Novas: Proibido.
Responder Tópicos Proibido
Editar Mensagens: Proibido.
Excluir Mensagens: Proibido.
Votar em Enquetes: Proibido.

Powered by phpBB © 2001, 2005 phpBB Group

Forums ©
_