cache_dir problem

From: Massimo Trevisani <trevisani@dont-contact.us>
Date: Wed, 21 Jun 2000 12:45:25 +0200

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.

-- 
Massimo Trevisani
NEXTRA S.p.A. - tech. dept.
e-mail: trevisani@nextra.it
Received on Wed Jun 21 2000 - 04:48:51 MDT

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