Página 2 de 2 PrimeiroPrimeiro 12
+ Responder ao Tópico



  1. #21
    capgaiotto
    Visitante

    Padrão Squid não inicia

    ok

  2. #22
    pilantrox
    Visitante

    Padrão Squid não inicia

    Ok ,, valeu ,,, acho q naum vou precisar por enquanto....

    Citação Postado originalmente por Benatto
    na boa cara

    faz assim remove o squid em rpm

    e instala ele pelo codigo fonte

    te garanto que vai funcionar

    pilantrox Enviada: Sex Abr 22, 2005 3:55 pm Assunto:

    --------------------------------------------------------------------------------

    ai velho ,,, vc pode me dizer pra que serve essa linha que esta naquele squid.conf

    "coredump_dir /var/cache/squid"
    seguinte se eu naum me engano este linha é para que se o cache estourar ele use outro diretorio

  3. #23
    pilantrox
    Visitante

    Padrão Squid não inicia

    Aproveitando a deixa do squid,,,, naum sei se jah postaram aqui no forum sobre isso mas tah aparecendo umas linhas no meu cache.log q naum consegui descobrir onde tah o erro,,, instalei o squid em dois servidores estaum basicamente identicos , e apenas em um server dah esse erro ,,,,

    2005/04/22 04:09:02| sslReadServer: FD 83: read failure: (104) Connection reset by peer
    2005/04/22 04:09:03| sslReadServer: FD 113: read failure: (104) Connection reset by peer
    2005/04/22 04:09:04| sslReadServer: FD 61: read failure: (104) Connection reset by peer
    2005/04/22 04:09:06| sslReadServer: FD 59: read failure: (104) Connection reset by peer
    2005/04/22 04:09:08| sslReadServer: FD 56: read failure: (104) Connection reset by peer
    2005/04/22 04:09:30| sslReadServer: FD 62: read failure: (104) Connection reset by peer
    2005/04/22 04:09:51| sslReadServer: FD 62: read failure: (104) Connection reset by peer
    2005/04/22 04:09:56| sslReadServer: FD 38: read failure: (104) Connection reset by peer
    2005/04/22 04:09:57| sslReadServer: FD 55: read failure: (104) Connection reset by peer
    2005/04/22 04:10:00| sslReadServer: FD 52: read failure: (104) Connection reset by peer
    2005/04/22 04:10:01| sslReadServer: FD 64: read failure: (104) Connection reset by peer
    2005/04/22 04:10:04| sslReadServer: FD 40: read failure: (104) Connection reset by peer
    2005/04/22 04:10:04| sslReadServer: FD 73: read failure: (104) Connection reset by peer
    2005/04/22 04:10:07| sslReadServer: FD 56: read failure: (104) Connection reset by peer
    2005/04/22 04:10:10| sslReadServer: FD 63: read failure: (104) Connection reset by peer
    2005/04/22 04:10:11| sslReadServer: FD 69: read failure: (104) Connection reset by peer
    2005/04/22 04:10:14| sslReadServer: FD 31: read failure: (104) Connection reset by peer
    2005/04/22 04:10:14| sslReadServer: FD 63: read failure: (104) Connection reset by peer

    E tem horas que o trafego tah baxinho e o navegador demora pra encontra o site , to achando que eh por esse erro !! alguem pode me dah uma ajuda....

  4. #24
    Moderador Avatar de Bruno
    Ingresso
    Nov 2002
    Localização
    Guarapuava-PR
    Posts
    4.181
    Posts de Blog
    1

    Padrão Squid não inicia

    fala ai pilantrox
    posta ai seu squid.conf

  5. #25
    pilantrox
    Visitante

    Padrão Squid não inicia

    Citação Postado originalmente por Benatto
    fala ai pilantrox
    posta ai seu squid.conf
    Ai Benatto....... tah na mão,,,,,desculpa ai a demora ,,,mas eu estava com uns problemas fds.

    http_port 192.168.15.1:3128

    #esvazia o cache:
    cache_swap_low 90
    cache_swap_high 93

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    # memoria usada:
    cache_mem 32 MB

    maximum_object_size 6144 KB
    minimum_object_size 0 KB

    maximum_object_size_in_memory 32 KB

    ipcache_size 1024
    ipcache_low 90
    ipcache_high 93

    cache_replacement_policy lru
    memory_replacement_policy lru

    cache_dir ufs /var/spool/squid 7000 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

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

    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 rede src 192.168.0.0/255.255.255.0
    acl rede1 src 10.10.10.0/255.255.255.0
    acl rede2 src 20.20.20.0/255.255.255.0
    acl rede3 src 30.30.30.0/255.255.255.0
    acl rede4 src 90.90.90.0/255.255.255.0

    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 CONNECT method CONNECT

    http_access allow localhost
    http_access allow rede
    http_access allow rede1
    http_access allow rede2
    http_access allow rede3
    http_access allow rede4

    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny all

    http_reply_access allow all
    icp_access allow all

    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

    cache_effective_user squid
    cache_effective_group squid

    ele tah lento pra resolver as solicitacoes....

  6. #26
    capgaiotto
    Visitante

    Padrão Squid não inicia

    Fala ae pessoal!

    Achei a fonte do meu problema. Estava no arquivo ifcfg-eth0 referente a placa que comunicava com o Speedy. NETMASK não era 255.255.255.0 e sim 255.255.255.194 ops:

    Valeu pela ajuda pessoal!

    Falou!

    Gaiotto