Re: cache_dir problem

From: Massimo Trevisani <trevisani@dont-contact.us>
Date: Thu, 22 Jun 2000 12:51:09 +0200

Massimo Trevisani wrote:
>
> I installed the rpm package of squid in RedHat 6.2:
> squid-2.3.STABLE1-5.i386.rpm
>
> All was perfect untill I decided to create a new partition
> dedicated to the cache dir:
> /var/spool/squid
>
> The problem is this:
> --------------
> [root@server /root]# /etc/rc.d/init.d/squid start
> Starting squid: squid
> FATAL: Unknown cache_dir type '/var/spool/squid'
>
> Squid Cache (Version 2.3.STABLE1): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 176
> --------------
>
> It seems that Squid doesn't correctly read the value Type
> for the cache_dir.
> If I substitute in /etc/squid/squid.conf the default line
> #cache_dir ufs /var/spool/squid 100 26 256
> with the line
> cache_dir bill /var/spool/squid 100 26 256
> and start again squid, I have this message:
> --------------
> [root@server squid]# /etc/rc.d/init.d/squid start
> Starting squid: init_cache_dir bill... squid
> FATAL: Unknown cache_dir type 'bill'
>
> Squid Cache (Version 2.3.STABLE1): Terminated abnormally.
> CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 168
> --------------
>
> Is this problem caused by "Maximum Resident Size: 0 KB"?
> Why?
> Or what? Any ideas?
>
> Thanks,
> Massimo.

Problem solved. It was caused by an unexpected line in
squid.conf:
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 to all,
Massimo.

-- 
Massimo Trevisani
NEXTRA S.p.A. - tech. dept.
Received on Thu Jun 22 2000 - 04:54:09 MDT

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