[squid-users] Squid 3.1.10 CentOS : cache_swap_log (13) Permission Denied

From: Christophe Marchand <cmarchand_at_oxiane.com>
Date: Tue, 18 Dec 2012 14:09:22 +0100

Hi,

I have the following problem : when I do not declare a cache dir, my
squid starts correctly and runs perfectly. When I uncomment the
cache_dir line, it fails with this message :
     2012/12/18 11:31:18| /var/cache/squid/.00: (13) Permission denied
     FATAL: commonUfsDirOpenSwapLog: Failed to open swap log.

My squid.conf is :
     cache_dir aufs /drive/squid_cache/ 344064 64 64
     coredump_dir /var/spool/squid
     access_log none
     cache_store_log none
     cache_swap_log /var/cache/squid/

ls -al /var/cache returns this :
     drwxrw-r--. 2 squid squid 4096 18 déc. 10:56 squid

ps -ef | grep squid does not show a squid running

I've read all threads on this, but found no solution.

Any help will be much appreciated.

Thanks in advance,
Christophe
Received on Tue Dec 18 2012 - 13:09:30 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 19 2012 - 12:00:15 MST