Newsgroup: it.comp.os.linux.iniziare
Titolo: Help Squid

Sono ancora alle prese con squid... ho configurato il file sqiud.conf e in
teoria  dopo dovrei dargli il comando squid -z x far si che si crei lo
spazio dedicato alla  cache ma mi da un errore ( in teoria l utimo
ostacolo ) :
[root@redhat squid]# squid -z
FATAL: Unknown cache_dir type '/squid/cache'
Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 336
Abortito
Che vuol dire? cheiramente se non mi crea lo spazio cache sqiud non si
avviera mai....   Come sempre grazie x l' attenzione E un ringraziamento a
chi mi ha aiutato nei msg. precedenti... Ciao

 FATAL: Unknown cache_dir type '/squid/cache'
Evidentemente e' sbagliata la sintassi della direttiva nel file di
configurazione: il default in /etc/squid.conf su una debian e':
#Default:
# cache_dir ufs /var/spool/squid 100 16 256
Se ne deduce, visto l'errore che ti da, che prima di tutto va specificato il
tipo di filesystem. Il significato degli altri parametri si puo' capire dagli
_ampi_ commenti di cui e' corredato il file di configurazione...
bye G.L.
--
« E' assolutamente evidente che l'arte del cinema
 si ispira alla vita, mentre la vita si ispira alla TV »
(Woody Allen)

Allora ho ancora problemi con squid il . conf sembra perfetto ma quando gli
chiedo di avviarlo mi da fallito
qualcuno mi ha suggerito di dargli l oppzione -d 999
che cio che ce elencato qua sotto mi mi spiega cosa significa? Grazie x
lattenzione
2003/07/30 20:32:29| Starting Squid Cache version 2.5.STABLE1 for
i386-redhat-linux-gnu...
2003/07/30 20:32:29| Process ID 2444
2003/07/30 20:32:29| With 1024 file descriptors available
2003/07/30 20:32:29| Performing DNS Tests...
2003/07/30 20:32:29| Successful DNS name lookup tests...
2003/07/30 20:32:29| DNS Socket created at 0.0.0.0, port 32769, FD 4
2003/07/30 20:32:29| Adding nameserver 212.216.172.62 from /etc/resolv.conf
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_READ_TIMEOUT': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_LIFETIME_EXP': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_READ_ERROR': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_WRITE_ERROR': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_SHUTTING_DOWN': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_CONNECT_FAIL': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_INVALID_REQ': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_UNSUP_REQ': (2) No such file
or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_INVALID_URL': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_SOCKET_FAILURE': (2) No such
file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_DNS_FAIL': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_CANNOT_FORWARD': (2) No such
file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FORWARDING_DENIED': (2) No such file or
directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_NO_RELAY': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_ZERO_SIZE_OBJECT': (2) No such file or
directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_DISABLED': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_FAILURE': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_URN_RESOLVE': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_ACCESS_DENIED': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_CACHE_ACCESS_DENIED': (2) No
such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED': (2) No such file or
directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_CREATED': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_MODIFIED': (2) No such file or
directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_ERROR': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_NOT_FOUND': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_FORBIDDEN': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_UNAVAILABLE': (2) No such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_ONLY_IF_CACHED_MISS': (2) No
such file or directory
2003/07/30 20:32:29| errorTryLoadText:
'/usr/share/squid/errors/ERR_TOO_BIG': (2) No such file or directory
2003/07/30 20:32:29| Unlinkd pipe opened on FD 9
2003/07/30 20:32:29| Swap maxSize 102400 KB, estimated 7876 objects
2003/07/30 20:32:29| Target number of buckets: 393
2003/07/30 20:32:29| Using 8192 Store buckets
2003/07/30 20:32:29| Max Mem  size: 8192 KB
2003/07/30 20:32:29| Max Swap size: 102400 KB
FATAL: Cannot open '/etc/squid/logs/store.log' for writing.
        The parent directory must be writeable by the
        user 'squid', which is the cache_effective_user
        set in squid.conf.
Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.240 seconds = 0.110 user + 0.130 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 455
[root@redhat squid]# 2003/07/30 20:32:21| Unlinkd pipe opened on FD 9
-bash: 2003/07/30: No such file or directory
-bash: Unlinkd: command not found
[root@redhat squid]# 2003/07/30 20:32:21| Swap maxSize 102400 KB, estimated
7876 objects
-bash: 2003/07/30: No such file or directory
-bash: Swap: command not found
[root@redhat squid]# 2003/07/30 20:32:21| Target number of buckets: 393
-bash: Target: command not found
-bash: 2003/07/30: No such file or directory
[root@redhat squid]# 2003/07/30 20:32:21| Using 8192 Store buckets
-bash: Using: command not found
-bash: 2003/07/30: No such file or directory
[root@redhat squid]# 2003/07/30 20:32:21| Max Mem  size: 8192 KB
-bash: Max: command not found
-bash: 2003/07/30: No such file or directory
[root@redhat squid]# 2003/07/30 20:32:21| Max Swap size: 102400 KB
-bash: Max: command not found
-bash: 2003/07/30: No such file or directory
[root@redhat squid]# FATAL: Cannot open '/etc/squid/logs/store.log' for
writing.
-bash: FATAL:: command not found
[root@redhat squid]#         The parent directory must be writeable by the