Thanks Gregory for your response.
unfortunately, I've already ran squid -z, both under root user and squid
user/
Making squid own /var/cache sounds me strange : all files/directories
under /var/cache will be owned by squid user, which is not acceptable :
a lot of other programs need to access to this trees.
Best regards,
Christophe
Le 18/12/2012 14:21, Zill, Gregory (OMA-GIS) a écrit :
> Use the following commands to set the cache folder and then change
> permissions, assuming squid user runs the squid instance.
> # <path>/squid -z
> # chown -R squid. /var/cache
> -----Original Message-----
> From: Christophe Marchand [mailto:cmarchand_at_oxiane.com]
> Sent: Tuesday, December 18, 2012 7:09 AM
> To: squid-users_at_squid-cache.org
> Subject: [squid-users] Squid 3.1.10 CentOS : cache_swap_log (13)
> Permission Denied
> 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
>
> This message contains information which may be confidential and
> privileged. Unless you are the intended recipient (or authorized to
> receive this message for the intended recipient), you may not use,
> copy, disseminate or disclose to anyone the message or any information
> contained in the message. If you have received the message in error,
> please advise the sender by reply e-mail, and delete the message.
> Thank you very much.
>
Received on Tue Dec 18 2012 - 14:51:58 MST
This archive was generated by hypermail 2.2.0 : Tue Dec 18 2012 - 12:00:08 MST