[squid-users] Re: squid-3.0 on Fedora Core 1 & 3

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 22 Feb 2005 23:31:29 +0100 (CET)

On Tue, 22 Feb 2005, Sushil Deore wrote:

>
> hi Henrik,
>
> Thanks for your quick response and hope to get through this asap.
>
> tried -NCd1 option also... :(
>
> [root@spider logs]# /usr/local/squid/sbin/squid -DNYCd3

> 2005/02/22 16:48:49| /usr/local/squid/var/cache: (2) No such file or
> directory
> FATAL: Failed to verify one of the swap directories, Check cache.log
> for details. Run 'squid -z' to create swap directories
> if needed, or if running Squid for the first time.
> Aborted
>
>
> its not able to create the swap dir actually and if I try
>
> [root@spider logs]# /usr/local/squid/sbin/squid -z
> 2005/02/22 16:49:00| Memory pools are 'off'; limit: 2.00 MB
> Aborted

Does your "cache_effective_user" have write permission to
/usr/local/squid/var/?

Try

   mkdir /usr/local/squid/var/cache
   chown your_cache_effective_user /usr/local/squid/var/cache
   /usr/local/squid/sbin/squid -z -d3
   /usr/local/squid/sbin/squid -DNYCd3

Regards
Henrik
Received on Tue Feb 22 2005 - 15:31:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST