Squid offline

Publicado por israelandrade1, Junio 30, 2015, 09:22:43 AM

Tema anterior - Siguiente tema

israelandrade1

Hola Amigos
Me pregunto si alguien alguna vez tuvo problemas de este tipo y cómo satisfactoriamente resuelto después de instalar Raptorcache la Squid siempre devuelve offline continuación sigue el error

root@proxy:/# /etc/init.d/squid3 restart
[....] Restarting Squid HTTP Proxy 3.x: squid32015/06/30 12:56:08| WARNING: Unkn                  own neighbor type: 8080
FATAL: Bungled squid.conf line 140: cache_peer  parent 8080 0 proxy-only no-dige                  st
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 21840 KB
Page faults with physical i/o: 0
failed!

Radius Telecom Brasil

israelandrade1

Hola amigos después de romper un poco la cabeza subistituir decidida la Squid.conf publicar el anterios vesão porque todavía estoy principiante en este sitema ni intentado modificar Sustitutos para este por debajo de este espectáculo que ahora trabaja 100%.

# Opciones de SQUID 3.x
#----------------------------------------------------------------------
http_port 3128 intercept
visible_hostname proxy.os.com
icp_port 0
#----------------------------------------------------------------------
#error_directory /usr/share/squid3/errors/Spanish/
#----------------------------------------------------------------------
acl denegados url_regex -i "/etc/squid3/denegados.lst"
#----------------------------------------------------------------------
# Servidor DNS y Politica de Cambios
#----------------------------------------------------------------------
dns_nameservers 8.8.8.8 8.8.4.4
dns_retransmit_interval 5 seconds
dns_timeout 2 minutes
#----------------------------------------------------------------------
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 CONNECT method CONNECT

acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl SSL_ports port 443
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 Safe_ports port 1863        # MSN
#acl SSL_ports port 443          # https
acl SSL_ports port 563          # snews
acl SSL_ports port 873          # rsync

http_access allow manager localhost
http_access deny manager all
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny denegados
#----------------------------------------------------------------------
coredump_dir /var/spool/squid3
#----------------------------------------------------------------------
# Memoria reservada para cache
# Se recomienda que dedique aprox. 5MB de RAM por cada 1GB asignado a cache_dir
#----------------------------------------------------------------------
cache_mem 512 MB
#----------------------------------------------------------------------
# Maximo tamaño de archivo en cache de memoria
#----------------------------------------------------------------------
maximum_object_size_in_memory 128 KB
#----------------------------------------------------------------------
# Maximo y minimo tamaño de archivos cache en el Disco duro
#----------------------------------------------------------------------
maximum_object_size 30 MB
minimum_object_size 4 KB
#----------------------------------------------------------------------
# Sustituir archivos de cache cuando llegue a 96%
#----------------------------------------------------------------------
cache_swap_low 92
cache_swap_high 96
#----------------------------------------------------------------------
# Total de espacio en HD a ser usado por el cache, numero de carpetas,
# numero de subcarpetas en cache
# 100000 = 100 GB
#----------------------------------------------------------------------
cache_dir aufs /var/spool/squid3/cache1 100000  16 256
#----------------------------------------------------------------------
# Estandar de actualización de cache
# 1 mes = 10080 mins, 1 dia = 1440 mins
#----------------------------------------------------------------------
refresh_pattern -i \.jpg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.gif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.png$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.jpeg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.bmp$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tiff$ 14400 80% 43200 reload-into-ims

refresh_pattern -i \.swf$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.html$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.htm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtml$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.nub$ 2880 80% 21600 reload-into-ims
refresh_pattern -i \.exe$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.mov$ 14400 80% 43200
refresh_pattern -i \.mpe?g?$ 14400 80% 43200
refresh_pattern -i \.avi$ 14400 80% 43200
refresh_pattern -i \.qtm?$ 14400 80% 43200
refresh_pattern -i \.viv$ 14400 80% 43200
refresh_pattern -i \.wav$ 14400 80% 43200
refresh_pattern -i \.aiff?$ 14400 80% 43200
refresh_pattern -i \.au$ 14400 80% 43200
refresh_pattern -i \.ram?$ 14400 80% 43200
refresh_pattern -i \.snd$ 14400 80% 43200
refresh_pattern -i \.mid$ 14400 80% 43200
refresh_pattern -i \.mp2$ 14400 80% 43200
refresh_pattern -i \.mp3$ 14400 80% 43200
refresh_pattern -i \.sit$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.hqx$ 14400 80% 43200
refresh_pattern -i \.arj$ 14400 80% 43200
refresh_pattern -i \.lzh$ 14400 80% 43200
refresh_pattern -i \.lha$ 14400 80% 43200
refresh_pattern -i \.cab$ 14400 80% 43200
refresh_pattern -i \.rar$ 14400 80% 43200
refresh_pattern -i \.tar$ 14400 80% 43200
refresh_pattern -i \.gz$ 14400 80% 43200
refresh_pattern -i \.z$ 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.txt$ 14400 80% 43200
refresh_pattern -i \.pdf$ 14400 80% 43200
refresh_pattern -i \.doc$ 14400 80% 43200
refresh_pattern -i \.rtf$ 14400 80% 43200
refresh_pattern -i \.tex$ 14400 80% 43200
refresh_pattern -i \.latex$ 14400 80% 43200
refresh_pattern -i \.class$ 14400 80% 43200
refresh_pattern -i \.js$ 14400 80% 43200
refresh_pattern -i \.ico$ 14400 80% 43200
refresh_pattern -i \.css$ 10 20% 4320
#----------------------------------------------------------------------
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
#refresh_pattern (Release|Package(.gz)*)$       0       20%     2880
refresh_pattern .               0       20%     4320
#----------------------------------------------------------------------
# Log de acessos por el cache o para SARG
#----------------------------------------------------------------------
logfile_rotate 7
access_log /var/log/squid3/access.log
access_log /var/log/squid3/error.log
cache_store_log none
#----------------------------------------------------------------------
# Otras configuraciones
#----------------------------------------------------------------------
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
log_fqdn off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
max_filedescriptors 65536
cache_effective_user proxy
cache_effective_group proxy
#----------------------------------------------------------------------
# Manteniendo objetos recientes y pequeños en memoria
#----------------------------------------------------------------------
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
#----------------------------------------------------------------------
# Sitios que se les niega el cache 
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
no_cache deny nocache
#----------------------------------------------------------------------
# Negar cache para archivos con extension .asx e .asf |streaming|
#----------------------------------------------------------------------
acl asx url_regex -i \.asx$
cache deny asx
acl asf url_regex -i \.asf$
cache deny asf

#CACHE PEER
acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
cache deny raptor_lst
cache_peer 192.168.10.2 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.10.2 allow raptor_lst
cache_peer_access 192.168.10.2 deny all
Radius Telecom Brasil

venezu

Cita de: israelandrade1 en Junio 30, 2015, 09:22:43 AM
Hola Amigos
Me pregunto si alguien alguna vez tuvo problemas de este tipo y cómo satisfactoriamente resuelto después de instalar Raptorcache la Squid siempre devuelve offline continuación sigue el error

root@proxy:/# /etc/init.d/squid3 restart
[....] Restarting Squid HTTP Proxy 3.x: squid32015/06/30 12:56:08| WARNING: Unkn                  own neighbor type: 8080
FATAL: Bungled squid.conf line 140: cache_peer  parent 8080 0 proxy-only no-dige                  st
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 21840 KB
Page faults with physical i/o: 0
failed!
amigo puede ser que has movido o agregado algo al squid.conf y cuando lo reinicias o enciendes se le produce un error y te sale offline revisa tu configuracion de squid

firecold

Amigo podrias teclear esto y nos mandas cual fue el error:

Código (bash) [Seleccionar]
squid3 -k parse

Saludos

israelandrade1

root@proxy:~# squid3 -k parse
2015/07/15 21:19:33| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2015/07/15 21:19:33| Processing: http_port 3128 intercept
2015/07/15 21:19:33| Starting Authentication on port [::]:3128
2015/07/15 21:19:33| Disabling Authentication on port [::]:3128 (interception enabled)
2015/07/15 21:19:33| Disabling IPv6 on port [::]:3128 (interception enabled)
2015/07/15 21:19:33| Processing: visible_hostname proxy.os.com
2015/07/15 21:19:33| Processing: icp_port 0
2015/07/15 21:19:33| Processing: acl google url_regex -i (googlevideo.com|youtube.com)
2015/07/15 21:19:33| Processing: request_header_access User-Agent deny google
2015/07/15 21:19:33| Processing: request_header_replace User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
2015/07/15 21:19:33| Processing: acl denegados url_regex -i "/etc/squid3/denegados.lst"
2015/07/15 21:19:33| Processing: dns_nameservers 8.8.8.8 8.8.4.4
2015/07/15 21:19:33| Processing: dns_retransmit_interval 5 seconds
2015/07/15 21:19:33| Processing: dns_timeout 2 minutes
2015/07/15 21:19:33| Processing: acl manager proto cache_object
2015/07/15 21:19:33| Processing: acl localhost src 127.0.0.1/32 ::1
2015/07/15 21:19:33| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2015/07/15 21:19:33| Processing: acl CONNECT method CONNECT
2015/07/15 21:19:33| Processing: acl Safe_ports port 80          # http
2015/07/15 21:19:33| Processing: acl Safe_ports port 21          # ftp
2015/07/15 21:19:33| Processing: acl SSL_ports port 443
2015/07/15 21:19:33| Processing: acl Safe_ports port 443         # https
2015/07/15 21:19:33| Processing: acl Safe_ports port 70          # gopher
2015/07/15 21:19:33| Processing: acl Safe_ports port 210         # wais
2015/07/15 21:19:33| Processing: acl Safe_ports port 1025-65535  # unregistered ports
2015/07/15 21:19:33| Processing: acl Safe_ports port 280         # http-mgmt
2015/07/15 21:19:33| Processing: acl Safe_ports port 488         # gss-http
2015/07/15 21:19:33| Processing: acl Safe_ports port 591         # filemaker
2015/07/15 21:19:33| Processing: acl Safe_ports port 777         # multiling http
2015/07/15 21:19:33| Processing: acl Safe_ports port 631         # cups
2015/07/15 21:19:33| Processing: acl Safe_ports port 873         # rsync
2015/07/15 21:19:33| Processing: acl Safe_ports port 901         # SWAT
2015/07/15 21:19:33| Processing: acl Safe_ports port 1863        # MSN
2015/07/15 21:19:33| Processing: acl SSL_ports port 563          # snews
2015/07/15 21:19:33| Processing: acl SSL_ports port 873          # rsync
2015/07/15 21:19:33| Processing: http_access allow manager localhost
2015/07/15 21:19:33| Processing: http_access deny manager all
2015/07/15 21:19:33| Processing: http_access deny !Safe_ports
2015/07/15 21:19:33| Processing: http_access deny CONNECT !SSL_ports
2015/07/15 21:19:33| Processing: http_access allow localhost
2015/07/15 21:19:33| Processing: http_access deny denegados
2015/07/15 21:19:33| Processing: coredump_dir /var/spool/squid3
2015/07/15 21:19:33| Processing: cache_mem 512 MB
2015/07/15 21:19:33| Processing: maximum_object_size_in_memory 128 KB
2015/07/15 21:19:33| Processing: maximum_object_size 30 MB
2015/07/15 21:19:33| Processing: minimum_object_size 4 KB
2015/07/15 21:19:33| Processing: cache_swap_low 92
2015/07/15 21:19:33| Processing: cache_swap_high 96
2015/07/15 21:19:33| Processing: cache_dir aufs /var/spool/squid3/cache1 100000  16 256
2015/07/15 21:19:33| Processing: refresh_pattern -i .(gif|png|jp?g|ico|bmp|tiff?)$ 14400 80% 43200 reload-into-ims
2015/07/15 21:19:33| Processing: refresh_pattern -i .(swf|htm|html|shtm|shtml|nub)$ 14400 80% 43200 reload-into-ims
2015/07/15 21:19:33| Processing: refresh_pattern -i .(rpm|cab|deb|exe|msi|msu|zip|tar|xz|bz|bz2|lzma|gz|tgz|rar|bin|7z|doc?|xls?|ppt?|pdf|nth|psd|sis)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i .(avi|iso|wav|mid|mp?|mpe?g?|mpeg|mov|3gp|wm?|flv|x-flv|axd)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i .(qtm?|viv|au|ram?|snd|sit|hqx|arj|lzh|lha|txt|rtf|tex|latex|class|js|ico)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.css$ 10 20% 4320
2015/07/15 21:19:33| Processing: refresh_pattern ^ftp:           1440    20%     10080
2015/07/15 21:19:33| Processing: refresh_pattern ^gopher:        1440    0%      1440
2015/07/15 21:19:33| Processing: refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
2015/07/15 21:19:33| Processing: refresh_pattern .               0       20%     4320
2015/07/15 21:19:33| Processing: logfile_rotate 7
2015/07/15 21:19:33| Processing: access_log /var/log/squid3/access.log
2015/07/15 21:19:33| Processing: access_log /var/log/squid3/error.log
2015/07/15 21:19:33| Processing: cache_store_log none
2015/07/15 21:19:33| Processing: half_closed_clients off
2015/07/15 21:19:33| Processing: server_persistent_connections off
2015/07/15 21:19:33| Processing: client_persistent_connections off
2015/07/15 21:19:33| Processing: log_fqdn off
2015/07/15 21:19:33| Processing: quick_abort_min 0 KB
2015/07/15 21:19:33| Processing: quick_abort_max 0 KB
2015/07/15 21:19:33| Processing: quick_abort_pct 95
2015/07/15 21:19:33| Processing: max_filedescriptors 65536
2015/07/15 21:19:33| Processing: cache_effective_user proxy
2015/07/15 21:19:33| Processing: cache_effective_group proxy
2015/07/15 21:19:33| Processing: memory_replacement_policy heap GDSF
2015/07/15 21:19:33| Processing: cache_replacement_policy heap LFUDA
2015/07/15 21:19:33| Processing: acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
2015/07/15 21:19:33| Processing: no_cache deny nocache
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video\?|videoplayback\?|videodownload\?|\.flv?)
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]*
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex \.(php|asp|aspx|jsp|cgi|js)\?
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex threadless.*\.jpg\?r=
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex -i .(asx|asf)$
2015/07/15 21:19:33| Processing: cache deny dontrewrite
2015/07/15 21:19:33| Processing: acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
2015/07/15 21:19:33| Processing: cache deny raptor_lst
2015/07/15 21:19:33| Processing: cache_peer  parent 8080 0 proxy-only no-digest
2015/07/15 21:19:33| WARNING: Unknown neighbor type: 8080
FATAL: Bungled squid.conf line 140: cache_peer  parent 8080 0 proxy-only no-digest
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 22000 KB
Page faults with physical i/o: 0
Radius Telecom Brasil

firecold

Cita de: israelandrade1 en Julio 15, 2015, 07:22:12 PM
root@proxy:~# squid3 -k parse
2015/07/15 21:19:33| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2015/07/15 21:19:33| Processing: http_port 3128 intercept
2015/07/15 21:19:33| Starting Authentication on port [::]:3128
2015/07/15 21:19:33| Disabling Authentication on port [::]:3128 (interception enabled)
2015/07/15 21:19:33| Disabling IPv6 on port [::]:3128 (interception enabled)
2015/07/15 21:19:33| Processing: visible_hostname proxy.os.com
2015/07/15 21:19:33| Processing: icp_port 0
2015/07/15 21:19:33| Processing: acl google url_regex -i (googlevideo.com|youtube.com)
2015/07/15 21:19:33| Processing: request_header_access User-Agent deny google
2015/07/15 21:19:33| Processing: request_header_replace User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
2015/07/15 21:19:33| Processing: acl denegados url_regex -i "/etc/squid3/denegados.lst"
2015/07/15 21:19:33| Processing: dns_nameservers 8.8.8.8 8.8.4.4
2015/07/15 21:19:33| Processing: dns_retransmit_interval 5 seconds
2015/07/15 21:19:33| Processing: dns_timeout 2 minutes
2015/07/15 21:19:33| Processing: acl manager proto cache_object
2015/07/15 21:19:33| Processing: acl localhost src 127.0.0.1/32 ::1
2015/07/15 21:19:33| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2015/07/15 21:19:33| Processing: acl CONNECT method CONNECT
2015/07/15 21:19:33| Processing: acl Safe_ports port 80          # http
2015/07/15 21:19:33| Processing: acl Safe_ports port 21          # ftp
2015/07/15 21:19:33| Processing: acl SSL_ports port 443
2015/07/15 21:19:33| Processing: acl Safe_ports port 443         # https
2015/07/15 21:19:33| Processing: acl Safe_ports port 70          # gopher
2015/07/15 21:19:33| Processing: acl Safe_ports port 210         # wais
2015/07/15 21:19:33| Processing: acl Safe_ports port 1025-65535  # unregistered ports
2015/07/15 21:19:33| Processing: acl Safe_ports port 280         # http-mgmt
2015/07/15 21:19:33| Processing: acl Safe_ports port 488         # gss-http
2015/07/15 21:19:33| Processing: acl Safe_ports port 591         # filemaker
2015/07/15 21:19:33| Processing: acl Safe_ports port 777         # multiling http
2015/07/15 21:19:33| Processing: acl Safe_ports port 631         # cups
2015/07/15 21:19:33| Processing: acl Safe_ports port 873         # rsync
2015/07/15 21:19:33| Processing: acl Safe_ports port 901         # SWAT
2015/07/15 21:19:33| Processing: acl Safe_ports port 1863        # MSN
2015/07/15 21:19:33| Processing: acl SSL_ports port 563          # snews
2015/07/15 21:19:33| Processing: acl SSL_ports port 873          # rsync
2015/07/15 21:19:33| Processing: http_access allow manager localhost
2015/07/15 21:19:33| Processing: http_access deny manager all
2015/07/15 21:19:33| Processing: http_access deny !Safe_ports
2015/07/15 21:19:33| Processing: http_access deny CONNECT !SSL_ports
2015/07/15 21:19:33| Processing: http_access allow localhost
2015/07/15 21:19:33| Processing: http_access deny denegados
2015/07/15 21:19:33| Processing: coredump_dir /var/spool/squid3
2015/07/15 21:19:33| Processing: cache_mem 512 MB
2015/07/15 21:19:33| Processing: maximum_object_size_in_memory 128 KB
2015/07/15 21:19:33| Processing: maximum_object_size 30 MB
2015/07/15 21:19:33| Processing: minimum_object_size 4 KB
2015/07/15 21:19:33| Processing: cache_swap_low 92
2015/07/15 21:19:33| Processing: cache_swap_high 96
2015/07/15 21:19:33| Processing: cache_dir aufs /var/spool/squid3/cache1 100000  16 256
2015/07/15 21:19:33| Processing: refresh_pattern -i .(gif|png|jp?g|ico|bmp|tiff?)$ 14400 80% 43200 reload-into-ims
2015/07/15 21:19:33| Processing: refresh_pattern -i .(swf|htm|html|shtm|shtml|nub)$ 14400 80% 43200 reload-into-ims
2015/07/15 21:19:33| Processing: refresh_pattern -i .(rpm|cab|deb|exe|msi|msu|zip|tar|xz|bz|bz2|lzma|gz|tgz|rar|bin|7z|doc?|xls?|ppt?|pdf|nth|psd|sis)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i .(avi|iso|wav|mid|mp?|mpe?g?|mpeg|mov|3gp|wm?|flv|x-flv|axd)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i .(qtm?|viv|au|ram?|snd|sit|hqx|arj|lzh|lha|txt|rtf|tex|latex|class|js|ico)$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
2015/07/15 21:19:33| Processing: refresh_pattern -i \.css$ 10 20% 4320
2015/07/15 21:19:33| Processing: refresh_pattern ^ftp:           1440    20%     10080
2015/07/15 21:19:33| Processing: refresh_pattern ^gopher:        1440    0%      1440
2015/07/15 21:19:33| Processing: refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
2015/07/15 21:19:33| Processing: refresh_pattern .               0       20%     4320
2015/07/15 21:19:33| Processing: logfile_rotate 7
2015/07/15 21:19:33| Processing: access_log /var/log/squid3/access.log
2015/07/15 21:19:33| Processing: access_log /var/log/squid3/error.log
2015/07/15 21:19:33| Processing: cache_store_log none
2015/07/15 21:19:33| Processing: half_closed_clients off
2015/07/15 21:19:33| Processing: server_persistent_connections off
2015/07/15 21:19:33| Processing: client_persistent_connections off
2015/07/15 21:19:33| Processing: log_fqdn off
2015/07/15 21:19:33| Processing: quick_abort_min 0 KB
2015/07/15 21:19:33| Processing: quick_abort_max 0 KB
2015/07/15 21:19:33| Processing: quick_abort_pct 95
2015/07/15 21:19:33| Processing: max_filedescriptors 65536
2015/07/15 21:19:33| Processing: cache_effective_user proxy
2015/07/15 21:19:33| Processing: cache_effective_group proxy
2015/07/15 21:19:33| Processing: memory_replacement_policy heap GDSF
2015/07/15 21:19:33| Processing: cache_replacement_policy heap LFUDA
2015/07/15 21:19:33| Processing: acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
2015/07/15 21:19:33| Processing: no_cache deny nocache
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video\?|videoplayback\?|videodownload\?|\.flv?)
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]*
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex \.(php|asp|aspx|jsp|cgi|js)\?
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex threadless.*\.jpg\?r=
2015/07/15 21:19:33| Processing: acl dontrewrite url_regex -i .(asx|asf)$
2015/07/15 21:19:33| Processing: cache deny dontrewrite
2015/07/15 21:19:33| Processing: acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
2015/07/15 21:19:33| Processing: cache deny raptor_lst
2015/07/15 21:19:33| Processing: cache_peer  parent 8080 0 proxy-only no-digest
2015/07/15 21:19:33| WARNING: Unknown neighbor type: 8080
FATAL: Bungled squid.conf line 140: cache_peer  parent 8080 0 proxy-only no-digest
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 22000 KB
Page faults with physical i/o: 0

En las ultimas lineas esta su problema ya que deberia ir asi:

acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
cache deny raptor_lst
cache_peer SU_IP parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access SU_IP allow raptor_lst
cache_peer_access SU_IP deny all


Saludos

Jenkins

ayuda squid offline si alguien puede decirme como solucionar esto.ya trabaje con el comando apt-get update y  apt-get dist-upgrade



en squid3 -k parse  me sale esto.

/root$ squid3 k parse
2016/04/21 15:28:44| aclParseAclList: ACL name 'ext' not found.
FATAL: Bungled squid.conf line 82: cache_peer_access 192.168.2.2 allow ext
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 18368 KB
Page faults with physical i/o: 0
/root$ squid3 -k parse
2016/04/21 15:28:55| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2016/04/21 15:28:55| Processing: http_port 3128 intercept
2016/04/21 15:28:55| Starting Authentication on port [::]:3128
2016/04/21 15:28:55| Disabling Authentication on port [::]:3128 (interception enabled)
2016/04/21 15:28:55| Disabling IPv6 on port [::]:3128 (interception enabled)
2016/04/21 15:28:55| Processing: visible_hostname raptor.os
2016/04/21 15:28:55| Processing: icp_port 0
2016/04/21 15:28:55| Processing: acl google url_regex -i (googlevideo.com|www.youtube.com)
2016/04/21 15:28:55| Processing: acl mobile browser -i regexp (iPhone|iPad|Windows.*Phone|BlackBerry|PlayBook|Trident|IEMobile)
2016/04/21 15:28:55| Processing: request_header_access User-Agent deny google !mobile
2016/04/21 15:28:55| Processing: request_header_replace User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
2016/04/21 15:28:55| Processing: acl blacklist url_regex -i "/etc/squid3/blacklist.lst"
2016/04/21 15:28:55| Processing: dns_nameservers 200.48.225.130 8.8.8.8
2016/04/21 15:28:55| Processing: dns_retransmit_interval 5 seconds
2016/04/21 15:28:55| Processing: dns_timeout 2 minutes
2016/04/21 15:28:55| Processing: acl manager proto cache_object
2016/04/21 15:28:55| Processing: acl localhost src 127.0.0.1/32 ::1
2016/04/21 15:28:55| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2016/04/21 15:28:55| Processing: acl localnet src 10.0.0.0/8     # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src 172.16.0.0/12  # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src fc00::/7       # RFC 4193 local private network range
2016/04/21 15:28:55| Processing: acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines
2016/04/21 15:28:55| Processing: acl CONNECT method CONNECT
2016/04/21 15:28:55| Processing: acl Safe_ports port 80          # http
2016/04/21 15:28:55| Processing: acl Safe_ports port 443         # https
2016/04/21 15:28:55| Processing: acl SSL_ports port 443          # https
2016/04/21 15:28:55| Processing: http_access deny blacklist
2016/04/21 15:28:55| Processing: http_access allow manager localhost
2016/04/21 15:28:55| Processing: http_access deny manager all
2016/04/21 15:28:55| Processing: http_access deny !Safe_ports
2016/04/21 15:28:55| Processing: http_access deny CONNECT !SSL_ports
2016/04/21 15:28:55| Processing: http_access allow localhost
2016/04/21 15:28:55| Processing: http_access allow localnet
2016/04/21 15:28:55| Processing: coredump_dir /var/spool/squid3
2016/04/21 15:28:55| Processing: logfile_rotate 7
2016/04/21 15:28:55| Processing: access_log /var/log/squid3/access.log
2016/04/21 15:28:55| Processing: access_log /var/log/squid3/error.log
2016/04/21 15:28:55| Processing: cache_store_log none
2016/04/21 15:28:55| Processing: cache_mgr raptor.os
2016/04/21 15:28:55| Processing: shutdown_lifetime 2 seconds
2016/04/21 15:28:55| Processing: half_closed_clients off
2016/04/21 15:28:55| Processing: server_persistent_connections off
2016/04/21 15:28:55| Processing: client_persistent_connections off
2016/04/21 15:28:55| Processing: log_fqdn off
2016/04/21 15:28:55| Processing: quick_abort_min 0 KB
2016/04/21 15:28:55| Processing: quick_abort_max 0 KB
2016/04/21 15:28:55| Processing: quick_abort_pct 95
2016/04/21 15:28:55| Processing: max_filedescriptors 65536
2016/04/21 15:28:55| Processing: acl sys_lst url_regex -i "/etc/raptor/sys.lst"
2016/04/21 15:28:55| Processing: acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
2016/04/21 15:28:55| Processing: acl wth_lst url_regex -i "/etc/raptor/whitelist.lst"
2016/04/21 15:28:55| Processing: acl host_googlevideo req_header Host -i (.*-.*\.googlevideo\.com|\.youtube\.com|\.ytimg.com)
2016/04/21 15:28:55| Processing: acl exts url_regex -i \.(cab|exe|msi|msu|zip|deb|rpm|bz|bz2|gz|tgz|rar|bin|7z|mp3|mp4|flv)$
2016/04/21 15:28:55| Processing: acl head_html req_header Accept -i text/html.+
2016/04/21 15:28:55| Processing: cache deny raptor_lst
2016/04/21 15:28:55| Processing: cache_peer 192.168.2.2 parent 8080 0 proxy-only no-digest
2016/04/21 15:28:55| Processing: dead_peer_timeout 2 seconds
2016/04/21 15:28:55| Processing: cache_peer_access 192.168.2.2 allow host_googlevideo
2016/04/21 15:28:55| Processing: cache_peer_access 192.168.2.2 allow ext
2016/04/21 15:28:55| aclParseAclList: ACL name 'ext' not found.
FATAL: Bungled squid.conf line 82: cache_peer_access 192.168.2.2 allow ext
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 18544 KB
Page faults with physical i/o: 0

firecold

Cita de: Jenkins en Abril 21, 2016, 06:31:29 PM
ayuda squid offline si alguien puede decirme como solucionar esto.ya trabaje con el comando apt-get update y  apt-get dist-upgrade



en squid3 -k parse  me sale esto.

/root$ squid3 k parse
2016/04/21 15:28:44| aclParseAclList: ACL name 'ext' not found.
FATAL: Bungled squid.conf line 82: cache_peer_access 192.168.2.2 allow ext
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 18368 KB
Page faults with physical i/o: 0
/root$ squid3 -k parse
2016/04/21 15:28:55| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2016/04/21 15:28:55| Processing: http_port 3128 intercept
2016/04/21 15:28:55| Starting Authentication on port [::]:3128
2016/04/21 15:28:55| Disabling Authentication on port [::]:3128 (interception enabled)
2016/04/21 15:28:55| Disabling IPv6 on port [::]:3128 (interception enabled)
2016/04/21 15:28:55| Processing: visible_hostname raptor.os
2016/04/21 15:28:55| Processing: icp_port 0
2016/04/21 15:28:55| Processing: acl google url_regex -i (googlevideo.com|www.youtube.com)
2016/04/21 15:28:55| Processing: acl mobile browser -i regexp (iPhone|iPad|Windows.*Phone|BlackBerry|PlayBook|Trident|IEMobile)
2016/04/21 15:28:55| Processing: request_header_access User-Agent deny google !mobile
2016/04/21 15:28:55| Processing: request_header_replace User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
2016/04/21 15:28:55| Processing: acl blacklist url_regex -i "/etc/squid3/blacklist.lst"
2016/04/21 15:28:55| Processing: dns_nameservers 200.48.225.130 8.8.8.8
2016/04/21 15:28:55| Processing: dns_retransmit_interval 5 seconds
2016/04/21 15:28:55| Processing: dns_timeout 2 minutes
2016/04/21 15:28:55| Processing: acl manager proto cache_object
2016/04/21 15:28:55| Processing: acl localhost src 127.0.0.1/32 ::1
2016/04/21 15:28:55| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2016/04/21 15:28:55| Processing: acl localnet src 10.0.0.0/8     # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src 172.16.0.0/12  # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network
2016/04/21 15:28:55| Processing: acl localnet src fc00::/7       # RFC 4193 local private network range
2016/04/21 15:28:55| Processing: acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines
2016/04/21 15:28:55| Processing: acl CONNECT method CONNECT
2016/04/21 15:28:55| Processing: acl Safe_ports port 80          # http
2016/04/21 15:28:55| Processing: acl Safe_ports port 443         # https
2016/04/21 15:28:55| Processing: acl SSL_ports port 443          # https
2016/04/21 15:28:55| Processing: http_access deny blacklist
2016/04/21 15:28:55| Processing: http_access allow manager localhost
2016/04/21 15:28:55| Processing: http_access deny manager all
2016/04/21 15:28:55| Processing: http_access deny !Safe_ports
2016/04/21 15:28:55| Processing: http_access deny CONNECT !SSL_ports
2016/04/21 15:28:55| Processing: http_access allow localhost
2016/04/21 15:28:55| Processing: http_access allow localnet
2016/04/21 15:28:55| Processing: coredump_dir /var/spool/squid3
2016/04/21 15:28:55| Processing: logfile_rotate 7
2016/04/21 15:28:55| Processing: access_log /var/log/squid3/access.log
2016/04/21 15:28:55| Processing: access_log /var/log/squid3/error.log
2016/04/21 15:28:55| Processing: cache_store_log none
2016/04/21 15:28:55| Processing: cache_mgr raptor.os
2016/04/21 15:28:55| Processing: shutdown_lifetime 2 seconds
2016/04/21 15:28:55| Processing: half_closed_clients off
2016/04/21 15:28:55| Processing: server_persistent_connections off
2016/04/21 15:28:55| Processing: client_persistent_connections off
2016/04/21 15:28:55| Processing: log_fqdn off
2016/04/21 15:28:55| Processing: quick_abort_min 0 KB
2016/04/21 15:28:55| Processing: quick_abort_max 0 KB
2016/04/21 15:28:55| Processing: quick_abort_pct 95
2016/04/21 15:28:55| Processing: max_filedescriptors 65536
2016/04/21 15:28:55| Processing: acl sys_lst url_regex -i "/etc/raptor/sys.lst"
2016/04/21 15:28:55| Processing: acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
2016/04/21 15:28:55| Processing: acl wth_lst url_regex -i "/etc/raptor/whitelist.lst"
2016/04/21 15:28:55| Processing: acl host_googlevideo req_header Host -i (.*-.*\.googlevideo\.com|\.youtube\.com|\.ytimg.com)
2016/04/21 15:28:55| Processing: acl exts url_regex -i \.(cab|exe|msi|msu|zip|deb|rpm|bz|bz2|gz|tgz|rar|bin|7z|mp3|mp4|flv)$
2016/04/21 15:28:55| Processing: acl head_html req_header Accept -i text/html.+
2016/04/21 15:28:55| Processing: cache deny raptor_lst
2016/04/21 15:28:55| Processing: cache_peer 192.168.2.2 parent 8080 0 proxy-only no-digest
2016/04/21 15:28:55| Processing: dead_peer_timeout 2 seconds
2016/04/21 15:28:55| Processing: cache_peer_access 192.168.2.2 allow host_googlevideo
2016/04/21 15:28:55| Processing: cache_peer_access 192.168.2.2 allow ext
2016/04/21 15:28:55| aclParseAclList: ACL name 'ext' not found.
FATAL: Bungled squid.conf line 82: cache_peer_access 192.168.2.2 allow ext
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 18544 KB
Page faults with physical i/o: 0

Siempre cuando vemos las reglas debemos revisar que esten sintacticamente, revisa que esten bien descritas y escritas y se solucionara tu error, Saludos