Re: [squid-users] Fatal: Bungled squid.conf

From: Neil A. Hillard <neil.hillard@dont-contact.us>
Date: Thu, 07 Feb 2008 11:25:14 +0000

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                    neil.hillard@agustawestland.com
AgustaWestland                  http://www.whl.co.uk/
Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.
Received on Thu Feb 07 2008 - 04:25:21 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST