Dave,

Dave Coventry wrote:
> I'm having a problem with my squid.conf.
> 
> I have specified
> "cache_dir /usr/local/squid/var/cache 100 16 256"
> as per the directions under QUICKSTART.
> 
> However Squid produces the following error. Is it possible that I need
> to change the permissions of /usr/local/squid/var/?
> 
> # /usr/local/squid/sbin/squid -z
> 
> FATAL: Bungled squid.conf line 4: cache_dir /usr/local/squid/var/cache
> 100 16 256
> Squid Cache (Version 3.0.STABLE1): Terminated abnormally.
> CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0

You are missing the cache type value.  Your configuration line should read:

cache_dir ufs /usr/local/squid/var/cache 100 16 256

or:

cache_dir aufs /usr/local/squid/var/cache 100 16 256

or possibly:

cache_dir diskd /usr/local/squid/var/cache 100 16 256

HTH,


                                Neil.

-- 
Neil Hillard                    [EMAIL PROTECTED]
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

Reply via email to