Search squid archive

[squid-users] Error: assertion failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list!

After install and configure squid on OpenBSD 3.6 box, I try to start it
but return the next message:

# squid -z

2005/02/28 13:14:01| assertion failed:
/usr/obj/i386/squid-2.5.STABLE6/squid-2.5.STABLE6/src/repl/lru/store_repl_lru.c:282:
"!args"

My squid.conf:
-------------------------------------------------------------------------
http_port 8000

dead_peer_timeout 10 seconds # timeout

hierarchy_stoplist cgi-bin ? # no guardara URLs amb aquest text

acl QUERY urlpath_regex cgi-bin \? # no guarda URLs amb aquests components
ACL
no_cache deny QUERY

cache_mem 8 MB # RAM per squid

# cache_swap_low 90 # MAX i MIN de la swap utilitzada
# cache_swap_high 95

maximum_object_size 40960 KB # Fitxer mes gran que guardara SQUID
#minimun_object_size 0 KB # Fitxer mes petit
maximum_object_size_in_memory 8 KB # A la RAM només fitxers petits

cache_replacement_policy lru # politica de reemplaç de fitxer al disc

memory_replacement_policy lru # politica de reemplaç de fitxer a la RAM

#cache_dir ufs /var/squid/cache 100 16 256
cache_log /var/squid/logs/cache.log # on serà el LOG

# debug_options ALL,1 # per mode debug

ftp_user proxy@xxxxxxxx # usuari per a FTPs anonims
ftp_passive on # ftp passiu
hosts_file /etc/hosts # el fitxer de hosts

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

request_header_max_size 10 KB
request_body_max_size 0 KB
refresh_pattern ^ftp:                1440        20%        10080
refresh_pattern ^gopher:        1440        0%        1440
refresh_pattern .                0        20%        4320
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 1 minute

forward_timeout 4 minutes # mes timeouts
connect_timeout 1 minute

#ACCESS CONTROLS
acl xarxa src 192.168.0.0/255.255.255.0
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 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 xarxa
http_access allow manager localhost
http_access deny all
http_reply_access allow all

# cache_mgr webmaster #en cas de penjar-se a qui enviarà el mail

# HTTPD-ACCELERATION OPTIONS
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

# logfile_rotate 10

store_avg_object_size 13 KB         # és una manera de tenir un control dels
objectes i el seu tamany

icon_directory /usr/local/share/squid/icons # on seran les icones que pot
mostrar squid
error_directory /usr/local/share/squid/errors/Catalan # on seran el
missatges d'error i l'idioma
coredump_dir /var/squid/cache # on s'estarà executant SQUID


detect_broken_pconn off # detecta redireccionaments trencats
---------------------------------------------------------------------------

Any ideas?

Thanks!


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux