Hola!

On Thu, Apr 05, 2001 at 12:13:41AM -0600, giovanni leandro wrote:
> Tengo corriendo el squid en el servidor linux, pero solo con la cache de
> memoria....
>
> el problema que estoy teniendo es que el cache del disco duro no lo esta
> reconociendo, en el squid.conf el directorio de la cache del disco duro
lo
> configura asi:  /var/spool/squid 100 12 256
>
> pero cuando le doy
>
> # squid
>
> me dice  asi:
>
> FATAL unknown type dir_cache  "/var/spool/squid"
> terminated abnormally

Ojo. Es simplemente un problema de ortografía, la opción no se llama
dir_cache, sino que se llama cache_dir.

Además, si su squid trae los mismos defaults que el que tengo aquí, al no
especificar la opción cache_dir, utiliza 100MB de cache en /var/spool/squid

Del /etc/squid.conf de Debian 2.2r2:

#  TAG: cache_dir
#       Usage:
#
#       cache_dir Directory-Name Mbytes Level-1 Level2
#
#       You can specify multiple cache_dir lines to spread the
#       cache among different disk partitions.
#
#       'Directory' is a top-level directory where cache swap
#       files will be stored.  If you want to use an entire disk
#       for caching, then this can be the mount-point directory.
#       The directory must exist and be writable by the Squid
#       process.  Squid will NOT create this directory for you.
#
#       You can specify multiple cache_dir lines to spread the
#       cache among different disk partitions.
#
#       'Directory' is a top-level directory where cache swap
#       files will be stored.  If you want to use an entire disk
#       for caching, then this can be the mount-point directory.
#       The directory must exist and be writable by the Squid
#       process.  Squid will NOT create this directory for you.
#
#       If no 'cache_dir' lines are specified, the following
#       default will be used: /var/spool/squid.
#
#       'Mbytes' is the amount of disk space (MB) to use under this
#       directory.  The default is 100 MB.  Change this to suit your
#       configuration.
#
#       'Level-1' is the number of first-level subdirectories which
#       will be created under the 'Directory'.  The default is 16.
#
#       'Level-2' is the number of second-level subdirectories which
#       will be created under each first-level directory.  The default
#       is 256.
#
#       'Mbytes' is the amount of disk space (MB) to use under this
#       directory.  The default is 100 MB.  Change this to suit your
#       configuration.
#
#       'Level-1' is the number of first-level subdirectories which
#       will be created under the 'Directory'.  The default is 16.
#
#       'Level-2' is the number of second-level subdirectories which
#       will be created under each first-level directory.  The default
#       is 256.
#
#cache_dir /var/spool/squid 100 16 256



Saludos,

Alexis Maldonado
Estudiante I.E. (UCR)

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/GCS d? s a-- C++++ L U++++ P++++ L+++ E W N+ o+ K- w---
O M V PS++ PE+ Y+ PGP+ t++ 5 X+ R tv-- b++ DI+ D+ G e h!
r y+*
------END GEEK CODE BLOCK------


--
¿Desea desuscribirse? Escriba a [EMAIL PROTECTED] con
el tema "unsubscribe".

Responder a