squid

Top Page

Reply to this message
Author: hervé de Dianous
Date:  
To: guilde
Subject: squid
Je relace en joignant /etc/squid.conf
=====================================

Bjour!
Au re-lancement de squid j'ai cette erreur :

Starting proxy server: /etc/init.d/squid: cd: ufs: No such file or directory
FATAL: Bungled squid.conf line 414: cache_dir ufs /var/spool/squid 100
16 256
Squid Cache (Version 2.2.STABLE5): Terminated abnormally.
CPU Usage: 0.210 seconds
Maximum Resident Size: 0 KB
Page faults with physical i/o: 254
squid

à la ligne 414 j'ai :

414 cache_dir ufs /var/spool/squid 100 16 256

et :

ls /var/spool/squid/
00  01    02  03    04  05    06  07    08  09    0A  0B    0C  0D    0E  0F    netdb_state  swap.state  swap.state.last-clean


Aï! c'est ennuyeux
pourtant, tout me semble OK!
Merci Hervé


#    WELCOME TO SQUID 2
#    ------------------


http_port 3128

icp_port 3130

hierarchy_stoplist cgi-bin ?

cache_mem 8 MB

cache_swap_low 90
cache_swap_high 95

maximum_object_size 4096 KB


ipcache_size 1024
ipcache_low 90
ipcache_high 95

fqdncache_size 1024


cache_dir ufs /var/spool/squid 100 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

cache_store_log none

mime_table /usr/lib/squid/mime.conf

pid_filename /var/run/squid.pid

client_netmask 255.255.0.0

ftp_user De.Dianous.Herve@???

ftp_list_width 32

cache_dns_program /usr/lib/squid/dnsserver

dns_nameservers 193.252.19.3 193.252.19.4

#Defaults:
acl allowed_hosts src 192.168.0.0/255.255.0.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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl purge method PURGE
acl CONNECT method CONNECT

#Default configuration:
http_access allow manager localhost
http_access allow manager allowed_hosts
http-access allow allowed_hosts
http_access deny !allowed_hosts
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
miss_access allow all

cache_mgr root

logfile_rotate 4