2010/11/17 dark_slack <[email protected]>: > Srs. > > Instalei o squid no meu notebook para fazer cache de site e tambem > videos em flash mas como todo novato ainda tenho quer ler muita > documentação e aprender um pouco mais a cada dia para ter a > configuração necessária. Tenho um problema não permite a inicialização > do squid: > > root# /etc/rc.d/rc.squid > restart > Shutting down Squid in 30 seconds: > Creating swap directories: /usr/sbin/squid -z > Starting Squid: /usr/sbin/squid -F > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 29 unrecognized: 'storeurl_rewrite_program' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 30 unrecognized: 'storeurl_rewrite_children' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 31 unrecognized: 'storeurl_rewrite_concurrency' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 46 unrecognized: 'header_access' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 47 unrecognized: 'header_access' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 48 unrecognized: 'header_access' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 51 unrecognized: 'storeurl_access' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 52 unrecognized: 'storeurl_access' > 2010/11/17 17:20:12| cache_cf.cc(363) parseOneConfigFile: squid.conf: > 69 unrecognized: 'upgrade_http0.9' > 2010/11/17 17:20:12| redreshAddToList: Unknown option '\.flv$': ignore- > no-cache > 2010/11/17 17:20:12| redreshAddToList: Unknown option '\.flv$': > override-expire > 2010/11/17 17:20:12| redreshAddToList: Unknown option '\.flv$': ignore- > private > 2010/11/17 17:20:12| redreshAddToList: Unknown option '(get_video\?| > videoplayback\?|videodownload\?)': override-expire > 2010/11/17 17:20:12| redreshAddToList: Unknown option '(get_video\?| > videoplayback\?|videodownload\?)': ignore-reload > 2010/11/17 17:20:12| redreshAddToList: Unknown option '(get_video\?| > videoplayback\?|videodownload\?)': negative-ttl=0 > WARNING: Cannot write log file: /var/log/squid/cache.log > /var/log/squid/cache.log: Permission denied > messages will be sent to 'stderr'. > > > aqui estar o meu squid.conf: > > acl manager proto cache_object > acl localhost src 127.0.0.1/32 ::1 > acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 > acl faixa_adm src 10.0.0.1-10.0.0.10 > acl localnet src 10.0.0.0/8 # RFC1918 possible internal network > acl SSL_ports port 443 > 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 CONNECT method CONNECT > acl PURGE method PURGE > #acl blocked urlpath_regex -i "/etc/squid/lists/blocked" > acl extensoes urlpath_regex -i "/etc/squid/lists/extensoes" > acl youtube dstdomain .youtube.com video.google.com > llnwd.net .dailymotion > acl QUERY2 urlpath_regex get_video\? videoplayback\? videodownload\? > acl shoutcast rep_header X-HTTP09-Fist-Line ^ICY.[0-9] > acl store_rewrite_list urlpath_regex \/(get_video\?|videodownload\?| > videoplayback.*id) > acl NOCACHEDOMAIN urlpath_regex -i "/etc/squid/lists/nocache" > acl QUERY urlpath_regex cgi_bin \? > redirect_program /usr/bin/squidGuard -c /etc/squidguard/ > squidguard.conf > redirector_bypass on > storeurl_rewrite_program /etc/squid/storeurl.pl > storeurl_rewrite_children 1 > storeurl_rewrite_concurrency 10 > http_access allow manager localhost > http_access deny manager > http_access deny !Safe_ports > http_access deny CONNECT !SSL_ports > #http_access allow localnet > #http_access allow 10.0.0.2 > http_access allow faixa_adm > #http_access allow localhost > #http_access deny all > #icp_access allow localnet > #icp_access deny all > #htcp_access allow localnet > #htcp_access deny all > #http_access deny blocked > header_access From deny all > header_access Via deny all > header_access Server deny all > cache allow QUERY2 > cache allow youtube > storeurl_access allow store_rewrite_list > storeurl_access deny all > http_access deny extensoes > http_port 10.0.0.2:3128 transparent > hierarchy_stoplist cgi-bin ? > cache_dir ufs /home/squid/cache1 512 16 256 > cache_dir ufs /home/squid/cache2 512 16 256 > cache_dir ufs /home/squid/cache3 512 16 256 > cache_dir ufs /home/squid/cache4 512 16 256 > cache_dir ufs /home/squid/cache5 512 16 256 > cache_dir ufs /home/squid/cache6 512 16 256 > cache_access_log /var/log/squid/access.log squid > cache_log /var/log/squid/cache.log > cache_store_log /var/log/squid/store.log > cache_effective_user squid > cache_effective_group squid > no_cache deny NOCACHEDOMAIN > cache deny QUERY > upgrade_http0.9 deny shoutcast > hierarchy_stoplist cgi-bin ? > logfile_rotate 0 > pid_filename /var/run/squid/squid.pid > cache_log /var/log/squid/cache.log > refresh_pattern ^ftp: 15 2% 2280 > refresh_pattern ^gopher: 15 0% 2280 > refresh_pattern -i \.flv$ 10080 90% 999999 ignore-no-cache override- > expire ignore-private > refresh_pattern (get_video\?|videoplayback\?|videodownload\?) 5259487 > 99999999% 5259487 override-expire ignore-reload negative-ttl=0 > refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 > refresh_pattern . 15 20% 2280 > cache_effective_user squid > cache_effective_group squid > cache_mem 512 MB > quick_abort_min -1 KB > maximum_object_size 4 MB > maximum_object_size_in_memory 128 KB > cache_swap_low 90 > cache_swap_high 95 > visible_hostname darkstar.example.net > detect_broken_pconn on > pipeline_prefetch on > > > no momento ainda não encontrei uma solução para o problema. > > > Obrigado > > -- > GUS-BR - Grupo de Usuários de Slackware Brasil > http://www.slackwarebrasil.org/ > http://groups.google.com/group/slack-users-br > > Antes de perguntar: > http://www.istf.com.br/perguntas/ > > Para sair da lista envie um e-mail para: > [email protected]
Estes "unrecognized" não existem mais, tu não pode simplesmente usar o conf do Squid 2.6 no squid 3.1. -- GUS-BR - Grupo de Usuários de Slackware Brasil http://www.slackwarebrasil.org/ http://groups.google.com/group/slack-users-br Antes de perguntar: http://www.istf.com.br/perguntas/ Para sair da lista envie um e-mail para: [email protected]

