Re: cache_dir problem

From: Massimo Trevisani <trevisani@dont-contact.us>
Date: Tue, 27 Jun 2000 12:11:02 +0200

david amies wrote:
>
> OK youv'e seen enough coments about 'bill'
>
> try this,
>
> #] /usr/sbin/squid -z
> ....
> #] /usr/sbin/squid -N (? i haven't got a linux box here to check so try
> #] /usr/sbin/squid --help you are looking for non deamon mode to check
> all starts well)
>
> if this works then kill squid and start normally /etc/rc.d/init.d/squid
> start
>
> (at least this is what i had to do under RH6.0 when i moved the cache dir
> to another partition.)
>
> NB. this is to create new cache, you can also copy your existing cache?
> to the new dir but i havent tried this so don't quote me :)
>
> good luck
>
> Dave

Thanks Dave, but I used 'bill' like a
test to see if a wrong parameter causes an error message and
to see if Squid recognizes a wrong value.
My problem was caused by an unexpected line in
squid.conf (far below from default parameters):
cache_dir /var/spool/squid 100 26 256.
For this Squid recognized '/var/spool/squid' as parameter
Type.
The first time I edited squid.conf I used vi. The second
time I used linuxconf.
Linuxconf has added the additional unwanted line in a line
far from default values, and so my mistake.
Bye,
Massimo.

-- 
Massimo Trevisani
NEXTRA S.p.A. - tech. dept.
Received on Tue Jun 27 2000 - 04:16:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:11 MST