On 28/06/2013 11:42 p.m., shumba wrote:
Hi All,

I have compiled squid from source and not defining user for it. Now when I
run squid -z I got the following:

WARNING: Cannot write log file: /var/log/squid//cache.log
/var/log/squid//cache.log: Permission denied
          messages will be sent to 'stderr'.
2013/06/28 15:23:12 kid1| Creating missing swap directories
2013/06/28 15:23:12 kid1| No cache_dir stores are configured.

If I run ls -al on the installation folder I get the below:

*******drwxr-xr-x 10 root root 4096 Jun 28 14:54 squid

Anyone who can help me with this please

All the squid/ folders needs to have ownsership and reaad/write permission for the proxy user account. What that account is will be determined by your settings. The default is "nobody" unless you built Squid with --with-default-user, or configured cache_effective_user.

Amos

Reply via email to