Re: [squid-users] swap.state: (13) Permission denied when squid restart

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 Jan 2009 11:55:41 +1300

Enrique wrote:
> Hello all
> Some time i need restart my squid proxy then did'n start normaly and see
> in cache.log this
> 2009/01/26 14:21:20| Local cache digest enabled; rebuild/rewrite every
> 3600/3600 sec
>
> 2009/01/26 14:21:20| Rebuilding storage in /var/spool/squid (DIRTY)
>
> 2009/01/26 14:21:20| Rebuilding storage in /var/spool/squid1 (DIRTY)
>
> 2009/01/26 14:21:20| /var/spool/squid2/swap.state: (13) Permission denied
>
> FATAL: storeUfsDirOpenSwapLog: Failed to open swap log.
>
> Squid Cache (Version 2.6.STABLE5): Terminated abnormally
>
> then a must be owner access /var/spool/squid2/swap.state to user proxy
> for each cache directory
>
> /var/spool/squid2/swap.state and . how i can fix this to any time
> restart my squid ?????
>
> all these directory the owner is squid and have full access and
>
> cache_effective_user proxy
>

I believe this is resolved in newer proxies.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Mon Jan 26 2009 - 22:55:37 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST