Página 1 de 3 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. Srs. Bom dia.
    Estou montando um servidor cache.
    Cenário link adsl 2mb isso mesmo 2 mb infelizmente não temos outra opção de link, Divido a internet com 11 pessoas a ideia não é fazer bloqueios por enquanto rs mas sim aumentar a performance da internet o servidor já esta em produção.


    Porem esta gerando erros sempre que inicio o serviço do squid


    oot@SRV-CACHE:~# service squid3 restart
    Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done.
    Creating Squid HTTP Proxy 3.x cache structure ... (warning).
    2014/10/29 21:41:18| Creating Swap Directories
    2014/10/29 21:41:18| /var/cache/squid3 exists
    2014/10/29 21:41:18| /var/cache/squid3/00 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/00
    2014/10/29 21:41:18| /var/cache/squid3/01 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/01
    2014/10/29 21:41:18| /var/cache/squid3/02 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/02
    2014/10/29 21:41:18| /var/cache/squid3/03 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/03
    2014/10/29 21:41:18| /var/cache/squid3/04 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/04
    2014/10/29 21:41:18| /var/cache/squid3/05 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/05
    2014/10/29 21:41:18| /var/cache/squid3/06 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/06
    2014/10/29 21:41:18| /var/cache/squid3/07 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/07
    2014/10/29 21:41:18| /var/cache/squid3/08 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/08
    2014/10/29 21:41:18| /var/cache/squid3/09 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/09
    2014/10/29 21:41:18| /var/cache/squid3/0A exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0A
    2014/10/29 21:41:18| /var/cache/squid3/0B exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0B
    2014/10/29 21:41:18| /var/cache/squid3/0C exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0C
    2014/10/29 21:41:18| /var/cache/squid3/0D exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0D
    2014/10/29 21:41:18| /var/cache/squid3/0E exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0E
    2014/10/29 21:41:18| /var/cache/squid3/0F exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0F




    root@SRV-CACHE:~# squid3 -k parse
    2014/10/29 21:39:49| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
    2014/10/29 21:39:49| Starting Authentication on port [::]:3128
    2014/10/29 21:39:49| Disabling Authentication on port [::]:3128 (interception enabled)
    2014/10/29 21:39:49| Disabling IPv6 on port [::]:3128 (interception enabled)
    2014/10/29 21:39:49| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
    2014/10/29 21:39:49| WARNING: use of 'reload-into-ims' in 'refresh_pattern' violates HTTP
    2014/10/29 21:39:49| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
    2014/10/29 21:39:49| WARNING: use of 'ignore-private' in 'refresh_pattern' violates HTTP
    root@SRV-CACHE:~#


    Parece que toda vez que inicio o equid3 ele tenta recriar a estrutura de diretórios será que o valor do cache_dir esta errado?


    cache_dir aufs /var/cache/squid3 240000 16 256


    Minha configuração.


    Hardware modesto apenas para testes.
    Intel i3
    Memoria 2gb
    Hd 320gb
    SO. Debian 6
    Squid 3.X




    #PORTA DO PROXY
    http_port 3128 transparent
    always_direct allow all


    # Nome do servidor - contato
    visible_hostname SRV-CACHE
    cache_mgr alan.inacio@yahoo.com.br


    # CONFIGURACAO DOS LOGS ERROS
    access_log /var/log/squid3/access.log
    access_log /var/log/squid3/cache.log
    cache_store_log /var/log/squid3/store.log
    error_directory /usr/share/squid3/errors/Portuguese
    coredump_dir /var/spool/squid


    # DIRETORIO DO CACHE LIBERADO 240GB NO HD DE 320GB
    cache_dir aufs /var/cache/squid3 240000 16 256


    # MEMORIA TOTAL DO SRV 2GB DDR3 1066
    cache_mem 1024 MB
    memory_pools off


    # Requisições de downloads abortadas
    maximum_object_size_in_memory 512 KB
    maximum_object_size 1024 MB
    minimum_object_size 0 KB


    memory_replacement_policy heap GDSF
    cache_replacement_policy heap LFUDA


    # Requisicoes de downloads abortadas
    quick_abort_min 16 KB
    quick_abort_max 16 KB
    quick_abort_pct 95%


    #LIMPEZA DO CACHE
    cache_swap_low 95
    cache_swap_high 98
    ipcache_size 1024
    ipcache_low 98
    ipcache_high 95
    fqdncache_size 1024


    detect_broken_pconn on


    # ACL
    # acl all src 0.0.0.0/0.0.0.0 #### DESATIVADO ESTA COM ERRO
    acl manager proto cache_object
    acl localhost src 127.0.0.1/32


    acl SSL_ports port 443 563 873 # https, snews
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 973 # https
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # portas altas
    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 3389 # acesso remoto windows
    acl CONNECT method CONNECT


    # PERMICOES DE ACESSO
    http_access allow manager localhost
    http_access allow manager
    http_access allow !Safe_ports
    http_access allow CONNECT !SSL_ports
    http_access allow all


    # DNS GOOGLE
    dns_nameservers 8.8.8.8
    dns_nameservers 8.8.4.4


    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
    refresh_pattern . 45 40% 4320


    # Atualizacoes do cache
    hierarchy_stoplist cgi-bin ?
    hierarchy_stoplist html ?
    #
    refresh_pattern -i \.jpg$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.gif$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.png$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.jpeg$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.bmp$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.tif$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.tiff$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.swf$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.exe$ 0 50% 21600 reload-into-ims
    refresh_pattern -i \.php$ 0 20% 1440 reload-into-ims
    refresh_pattern -i \.html$ 0 20% 1440 reload-into-ims
    refresh_pattern -i \.htm$ 0 20% 1440 reload-into-ims
    refresh_pattern -i \.shtml$ 0 20% 1440 reload-into-ims
    refresh_pattern -i \.shtm$ 0 20% 1440 reload-into-ims


    # Videos
    refresh_pattern -i \.(mp3|mp4|m4a|ogg|mov|avi|wmv|flv)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private


    # Widows UPDATE
    refresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf) 4320 80% 43200 reload-into-ims
    refresh_pattern -i windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf) 4320 80% 43200 reload-into-ims
    refresh_pattern -i update.microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims
    refresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims
    refresh_pattern -i windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims
    refresh_pattern -i windows.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims
    refresh_pattern -i c2r.microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims
    refresh_pattern -i download.windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|dsft) 4320 80% 432000 reload-into-ims


    # Antivirus
    refresh_pattern guru.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims
    refresh_pattern bguru.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims
    refresh_pattern af.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims
    refresh_pattern mbam-cdn.malwarebytes.org/.*\.(exe) 4320 100% 43200 reload-into-ims
    refresh_pattern data-cdn.mbamupdates.com/.*\.(ref) 4320 100% 43200 reload-into-ims
    refresh_pattern avast.com/.*\.(vpu|cab|stamp|exe) 10080 100% 43200 reload-into-ims
    refresh_pattern personal.avira-update.com/.*\.(cab|exe|dll|msi|gz) 10080 100% 43200 reload-into-ims


    Montei o script acima com base em pesquisa em alguns sites e gostaria de sugestões para melhorar o meu a minha conf pois estou aprendendo ainda e acho que esse é uma boa oportunidade para me desenvolver.

  2. Bom Dia!

    Apaguei a pasta do var/cache/squid3/ apague os arquivos cache.log access.log iniciei o serviço mas mesmo assim ele continua tentando recriar as pastas
    Mudei a estrutura dos diretório conforme abaixo sem novidade mesmo problema
    Engraçado parece não esta impactando em nada por o cache esta sendo feito perfeitamente conforme log abaixo será que pode ser a ordem das regras no squid.conf?

    cache_dir aufs /var/cache/squid3/1/ 50000 16 256
    cache_dir aufs /var/cache/squid3/2/ 50000 16 256
    cache_dir aufs /var/cache/squid3/3/ 50000 16 256
    cache_dir aufs /var/cache/squid3/4/ 50000 16 256

    Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done.
    Creating Squid HTTP Proxy 3.x cache structure ... (warning).
    2014/10/31 08:55:40| Creating Swap Directories
    2014/10/31 08:55:40| /var/cache/squid3/1/ exists
    2014/10/31 08:55:40| /var/cache/squid3/1//00 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//00
    2014/10/31 08:55:40| /var/cache/squid3/1//01 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//01
    2014/10/31 08:55:40| /var/cache/squid3/1//02 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//02
    2014/10/31 08:55:40| /var/cache/squid3/1//03 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//03
    2014/10/31 08:55:40| /var/cache/squid3/1//04 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//04
    2014/10/31 08:55:40| /var/cache/squid3/1//05 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//05
    2014/10/31 08:55:40| /var/cache/squid3/1//06 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//06
    2014/10/31 08:55:40| /var/cache/squid3/1//07 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//07
    2014/10/31 08:55:40| /var/cache/squid3/1//08 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//08
    2014/10/31 08:55:40| /var/cache/squid3/1//09 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//09
    2014/10/31 08:55:40| /var/cache/squid3/1//0A exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0A
    2014/10/31 08:55:40| /var/cache/squid3/1//0B exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0B
    2014/10/31 08:55:40| /var/cache/squid3/1//0C exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0C
    2014/10/31 08:55:40| /var/cache/squid3/1//0D exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0D
    2014/10/31 08:55:40| /var/cache/squid3/1//0E exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0E
    2014/10/31 08:55:40| /var/cache/squid3/1//0F exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0F
    2014/10/31 08:55:40| /var/cache/squid3/2/ exists
    2014/10/31 08:55:40| /var/cache/squid3/2//00 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//00
    2014/10/31 08:55:40| /var/cache/squid3/2//01 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//01
    2014/10/31 08:55:40| /var/cache/squid3/2//02 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//02
    2014/10/31 08:55:40| /var/cache/squid3/2//03 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//03
    2014/10/31 08:55:40| /var/cache/squid3/2//04 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//04
    2014/10/31 08:55:40| /var/cache/squid3/2//05 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//05
    2014/10/31 08:55:40| /var/cache/squid3/2//06 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//06
    2014/10/31 08:55:40| /var/cache/squid3/2//07 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//07
    2014/10/31 08:55:40| /var/cache/squid3/2//08 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//08
    2014/10/31 08:55:40| /var/cache/squid3/2//09 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//09
    2014/10/31 08:55:40| /var/cache/squid3/2//0A exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0A
    2014/10/31 08:55:40| /var/cache/squid3/2//0B exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0B
    2014/10/31 08:55:40| /var/cache/squid3/2//0C exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0C
    2014/10/31 08:55:40| /var/cache/squid3/2//0D exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0D
    2014/10/31 08:55:40| /var/cache/squid3/2//0E exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0E
    2014/10/31 08:55:40| /var/cache/squid3/2//0F exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0F
    2014/10/31 08:55:40| /var/cache/squid3/3/ exists
    2014/10/31 08:55:40| /var/cache/squid3/3//00 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//00
    2014/10/31 08:55:40| /var/cache/squid3/3//01 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//01
    2014/10/31 08:55:40| /var/cache/squid3/3//02 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//02
    2014/10/31 08:55:40| /var/cache/squid3/3//03 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//03
    2014/10/31 08:55:40| /var/cache/squid3/3//04 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//04
    2014/10/31 08:55:40| /var/cache/squid3/3//05 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//05
    2014/10/31 08:55:40| /var/cache/squid3/3//06 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//06
    2014/10/31 08:55:40| /var/cache/squid3/3//07 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//07
    2014/10/31 08:55:40| /var/cache/squid3/3//08 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//08
    2014/10/31 08:55:40| /var/cache/squid3/3//09 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//09
    2014/10/31 08:55:40| /var/cache/squid3/3//0A exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0A
    2014/10/31 08:55:40| /var/cache/squid3/3//0B exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0B
    2014/10/31 08:55:40| /var/cache/squid3/3//0C exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0C
    2014/10/31 08:55:40| /var/cache/squid3/3//0D exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0D
    2014/10/31 08:55:40| /var/cache/squid3/3//0E exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0E
    2014/10/31 08:55:40| /var/cache/squid3/3//0F exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0F
    2014/10/31 08:55:40| /var/cache/squid3/4/ exists
    2014/10/31 08:55:40| /var/cache/squid3/4//00 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//00
    2014/10/31 08:55:40| /var/cache/squid3/4//01 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//01
    2014/10/31 08:55:40| /var/cache/squid3/4//02 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//02
    2014/10/31 08:55:40| /var/cache/squid3/4//03 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//03
    2014/10/31 08:55:40| /var/cache/squid3/4//04 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//04
    2014/10/31 08:55:40| /var/cache/squid3/4//05 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//05
    2014/10/31 08:55:40| /var/cache/squid3/4//06 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//06
    2014/10/31 08:55:40| /var/cache/squid3/4//07 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//07
    2014/10/31 08:55:40| /var/cache/squid3/4//08 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//08
    2014/10/31 08:55:40| /var/cache/squid3/4//09 exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//09
    2014/10/31 08:55:40| /var/cache/squid3/4//0A exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0A
    2014/10/31 08:55:40| /var/cache/squid3/4//0B exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0B
    2014/10/31 08:55:40| /var/cache/squid3/4//0C exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0C
    2014/10/31 08:55:40| /var/cache/squid3/4//0D exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0D
    2014/10/31 08:55:40| /var/cache/squid3/4//0E exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0E
    2014/10/31 08:55:40| /var/cache/squid3/4//0F exists
    2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0F
    Erro ao iniciar o serviço
    root@SRV-CACHE:~# squid3 -k parse
    2014/10/31 08:44:16| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
    2014/10/31 08:44:16| Starting Authentication on port [::]:3128
    2014/10/31 08:44:16| Disabling Authentication on port [::]:3128 (interception enabled)
    2014/10/31 08:44:16| Disabling IPv6 on port [::]:3128 (interception enabled)
    2014/10/31 08:44:16| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
    2014/10/31 08:44:16| WARNING: use of 'reload-into-ims' in 'refresh_pattern' violates HTTP
    2014/10/31 08:44:16| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
    2014/10/31 08:44:16| WARNING: use of 'ignore-private' in 'refresh_pattern' violates HTTP
    root@SRV-CACHE:~#

    LOGS
    414727059.684 38 192.168.2.122 TCP_HIT/200 1897 GET http://s.ytimg.com/yts/jsbin/www-sch...w-scheduler.js - NONE/- text/javascript
    1414727059.707 61 192.168.2.122 TCP_HIT/200 21636 GET http://s.ytimg.com/yts/cssbin/www-pl...-vflfSAPut.css - NONE/- text/css
    1414727059.709 64 192.168.2.122 TCP_HIT/200 30872 GET http://s.ytimg.com/yts/cssbin/www-co...-vfl7XKw68.css - NONE/- text/css
    1414727059.848 16 192.168.2.122 TCP_HIT/200 11075 GET http://s.ytimg.com/yts/jsbin/spf-vflxLbQzG/spf.js - NONE/- text/javascript
    1414727059.869 36 192.168.2.122 TCP_HIT/200 26921 GET http://s.ytimg.com/yts/jsbin/www-en_...SU60OC/base.js - NONE/- text/javascript
    1414727059.875 228 192.168.2.122 TCP_HIT/200 318381 GET http://s.ytimg.com/yts/jsbin/html5pl...html5player.js - NONE/- text/javascript
    1414727059.876 823 192.168.2.122 TCP_MISS/200 34601 GET http://www.youtube.com/watch? - DIRECT/173.194.118.73 text/html
    1414727060.174 28 192.168.2.122 TCP_HIT/200 30200 GET http://s.ytimg.com/yts/imgbin/player...vflDtscSi.webp - NONE/- image/webp



  3. Cara vamos por partes... rs rs... tá muito louco isso dai.. olha só:
    1 º O erro:
    oot@SRV-CACHE:~# service squid3 restart
    Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done.
    Creating Squid HTTP Proxy 3.x cache structure ... (warning).
    2014/10/29 21:41:18| Creating Swap Directories
    2014/10/29 21:41:18| /var/cache/squid3 exists
    2014/10/29 21:41:18| /var/cache/squid3/00 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/00
    2014/10/29 21:41:18| /var/cache/squid3/01 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/01
    2014/10/29 21:41:18| /var/cache/squid3/02 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/02
    2014/10/29 21:41:18| /var/cache/squid3/03 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/03
    2014/10/29 21:41:18| /var/cache/squid3/04 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/04
    2014/10/29 21:41:18| /var/cache/squid3/05 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/05
    2014/10/29 21:41:18| /var/cache/squid3/06 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/06
    2014/10/29 21:41:18| /var/cache/squid3/07 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/07
    2014/10/29 21:41:18| /var/cache/squid3/08 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/08
    2014/10/29 21:41:18| /var/cache/squid3/09 exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/09
    2014/10/29 21:41:18| /var/cache/squid3/0A exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0A
    2014/10/29 21:41:18| /var/cache/squid3/0B exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0B
    2014/10/29 21:41:18| /var/cache/squid3/0C exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0C
    2014/10/29 21:41:18| /var/cache/squid3/0D exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0D
    2014/10/29 21:41:18| /var/cache/squid3/0E exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0E
    2014/10/29 21:41:18| /var/cache/squid3/0F exists
    2014/10/29 21:41:18| Making directories in /var/cache/squid3/0F

    npoderá ser resolvido com a exclusão da estrutura "rm -fr", ai vc roda o squid novamente.

    O 2º erro: aconselho vc a pesquisar mais os comandos mas remove tuas linhas e insere as q estou colocando abaixo e restarta o serviço


    # o ultimo valor seria o dia no caso de 2280 2 dias o arquivo ficara no cache
    refresh_pattern ^ftp: 15 20% 2280
    refresh_pattern ^gopher: 15 0% 2280
    refresh_pattern . 0 20% 2280

    e outra dica, vc tá começando a implantar cara com um monte de funções... aconselho ir tijolo por tijolo, vai deixando o squid rodando e depois vc vai aperfeiçoando, já que seu maior problema e cache mesmo com um link deste, porém verifique o calculo correto de cache para o numero exato de pcs q vc tem.


  4. Ok Obrigado arasouza pela dica. vou estudar mais. estou tentando apagar o cache com o rm -rf var/cache/squid3/ mas ele não esta apagando os diretórios oq pode ser?



  5. Sem problema pare o serviço (service squid3 stop) e exclua.vse der certo não esqueça de marcar a melhor resposta e nao esquenta em perguntar no q der eu ajudo






Tópicos Similares

  1. ERRO - Squid autenticando via SMB - ERRO
    Por no fórum Servidores de Rede
    Respostas: 6
    Último Post: 11-08-2004, 10:40
  2. ERRO - Squid autenticando via SMB - ERRO
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 17-04-2004, 09:18
  3. ERRO - Squid autenticando via SMB - ERRO
    Por Beto no fórum Servidores de Rede
    Respostas: 0
    Último Post: 30-03-2004, 16:10
  4. Erro Squid
    Por Neerlan_Amorim no fórum Servidores de Rede
    Respostas: 3
    Último Post: 26-11-2003, 14:20
  5. erro squid conectiva 8.0
    Por bouncer no fórum Servidores de Rede
    Respostas: 1
    Último Post: 21-08-2003, 14:21

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L