Search squid archive

Re: cache.log: Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Monzur Md.. Alam :
I have a trouble  when i have traying creat swap file in Proxy server ( Squid v3).

[root@gclc ~]# /usr/local/squid/sbin/squid &
[1] 3422
[root@gclc ~]# WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.l                                                             og
/usr/local/squid/var/logs/cache.log: Permission denied
         messages will be sent to 'stderr'.

But my all prmission is ok....
Please see..
[root@gclc ~]# cd /usr/local/squid/var/
[root@gclc var]# ls -al
total 24
drwxr-xr-x 3 squid squid 4096 May  6 09:10 .
drwxrwxrwx 9 squid squid 4096 May  6 09:08 ..
drwxr-xr-x 2 squid squid 4096 May  6 12:32 logs


Hi,

Squid run as nobody user by default, not the "squid".
see:

cache_effective_user
cache_effective_group

in squid.conf.


--
Jeff Pang
DingTong Technology
www.dtonenetworks.com

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux