[squid-users] Error DiskThreadsDiskFile::openDone: (2) No such file or directory

erdosain9 erdosain9 at gmail.com
Wed Oct 19 12:59:42 UTC 2016


Hi.
I try this
http://www.linuxtopic.com/2016/03/clear-squid-cache-and-re-create-cache.html

but still the same...

This is my conf

####GRUPOS DE IP
acl full src "/etc/squid/ips/full.lst"
acl logistica src "/etc/squid/ips/logistica.lst"
acl sistemas src "/etc/squid/ips/sistemas.lst"
acl adminis  src "/etc/squid/ips/adminis.lst"
acl institucionales src "/etc/squid/ips/institucionales.lst"
acl patriysumi  src     "/etc/squid/ips/patriysumi.lst"
acl rrhh        src     "/etc/squid/ips/rrhh.lst"
acl proyecto    src     "/etc/squid/ips/proyecto.lst"
acl programas_y_activ    src     "/etc/squid/ips/programas_y_activ.lst"

####Bloquea Publicidad ( http://pgl.yoyo.org/adservers/ )
acl ads dstdom_regex "/etc/squid/listas/ad_block.lst"
http_access deny ads
#deny_info TCP_RESET ads

####Streaming
acl stream url_regex -i \.flv$
acl stream url_regex -i \.mp4$
acl stream url_regex -i watch?
acl stream url_regex -i youtube
acl stream url_regex -i facebook
acl stream url_regex -i fbcdn\.net\/v\/(.*\.mp4)\?
acl stream url_regex -i fbcdn\.net\/v\/(.*\.jpg)\? 
acl stream url_regex -i akamaihd\.net\/v\/(.*\.mp4)\?
acl stream url_regex -i akamaihd\.net\/v\/(.*\.jpg)\?

##Dominios denegados
acl dominios_denegados dstdomain "/etc/squid/listas/dominios_denegados.lst"

##Extensiones bloqueadas
acl multimedia urlpath_regex "/etc/squid/listas/multimedia.lst"

##Extensiones peligrosas
acl peligrosos urlpath_regex "/etc/squid/listas/peligrosos.lst"

#Puertos
acl SSL_ports port 443
acl SSL_ports port 8443
acl SSL_ports port 8080

acl Safe_ports port 631         # httpCUPS
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 8443        # httpsalt
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 8080        # edesur y otros
acl CONNECT method CONNECT

#
# Recommended minimum Access Permission configuration:
#
# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
#http_access allow localnet
http_access allow localhost
http_access allow logistica !dominios_denegados !multimedia !peligrosos
http_access allow full !peligrosos
http_access allow adminis !multimedia !peligrosos
http_access allow institucionales !multimedia !peligrosos
http_access allow patriysumi !multimedia !peligrosos !dominios_denegados
http_access allow proyecto !dominios_denegados
http_access allow rrhh !multimedia !peligrosos
http_access allow sistemas
http_access allow programas_y_activ

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

# Squid normally listens to port 3128
http_port 192.168.1.97:3128 ssl-bump generate-host-certificates=on
dynamic_cert_mem_cache_size=5MB cert=/etc/squid/ssl_cert/myca.pem
key=/etc/squid/ssl_cert/myca.pem

acl step1 at_step SslBump1

acl excludeSSL ssl::server_name_regex "/etc/squid/listas/excluidosSSL.lst"

ssl_bump peek step1
ssl_bump splice excludeSSL
ssl_bump bump all

# Uncomment and adjust the following to add a disk cache directory.
cache_dir aufs /var/spool/squid 100000 16 256
cache_mem 256 MB

cache_swap_low 90
cache_swap_high 95

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid


#My refresh pattern
#obliga el cache de imagenes .jgp

refresh_pattern -i \.jpg$ 30 0% 30 ignore-no-cache ignore-no-store
ignore-private

#
# Add any of your own refresh_pattern entries above these.
#
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320


###ACTIVAR EN CASO DE "Connection reset by peer" EN MUCHOS HOST
via off
forwarded_for delete
###

#Pools para ancho de Banda
delay_pools 10

###VELOCIDAD PARA REDES SOCIALES
#delay_class 1 1
#delay_parameters 1 10000/100000
#delay_access 1 allow limitado redes_sociales   !stream
#delay_access 1 allow full redes_sociales       !stream
#delay_access 1 allow adminis redes_sociales    !stream
#delay_access 1 deny all


#Limitar Video Streaming a 50k
delay_class 1 1
delay_parameters 1 50000/250000
delay_access 1 allow adminis    stream
delay_access 1 allow full       stream
delay_access 1 allow logistica  stream
delay_access 1 allow institucionales stream
delay_access 1 allow patriysumi stream
delay_access 1 allow rrhh stream
delay_access 1 allow proyecto stream
delay_access 1 allow programas_y_activ stream
delay_access 1 deny all

#Limitar Video Streaming a 500k
delay_class 2 1
delay_parameters 2 500000/500000
delay_access 2 allow sistemas   stream
delay_access 2 deny all

#Ancho de Banda Administracion
delay_class 3 2
delay_parameters 3 256000/256000 100000/256000
delay_access 3 allow adminis    !stream
delay_access 3 deny all

#Ancho de Banda Sistemas
delay_class 4 2
delay_parameters 4 512000/512000 64000/256000
delay_access 4 allow sistemas   !stream
delay_access 4 deny all

#Ancho de Banda Logistica
delay_class 5 2
delay_parameters 5 256000/256000 100000/256000
delay_access 5 allow logistica  !stream
delay_access 5 deny all

#Ancho de Banda Institucionales
delay_class 6 2
delay_parameters 6 256000/256000 100000/256000
delay_access 6 allow institucionales !stream
delay_access 6 deny all

#Ancho de Banda Patrimonio y Suministro
delay_class 7 2
delay_parameters 7 256000/256000 100000/256000
delay_access 7 allow patriysumi !stream
delay_access 7 deny all

#Ancho de Banda RRHH
delay_class 8 2
delay_parameters 8 256000/256000 100000/256000
delay_access 8 allow rrhh !stream
delay_access 8 deny all

#Ancho de Banda Proyecto
delay_class 9 2
delay_parameters 9 256000/256000 100000/256000
delay_access 9 allow proyecto !stream
delay_access 9 deny all

#Ancho de Banda programas_y_activ
delay_class 10 2
delay_parameters 10 256000/256000 100000/256000
delay_access 10 allow programas_y_activ !stream
delay_access 10 deny all
                                                                                                              

#dns_nameservers 8.8.8.8 
visible_hostname squid.example.lan

# try connecting to first 25 ips of a domain name
forward_max_tries 25


Is there some problem????
how config diskd???

Thanks!
~                                                                                                                                                    
~                                                                                                                                                    
~                                                             




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Error-DiskThreadsDiskFile-openDone-2-No-such-file-or-directory-tp4680142p4680159.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list