Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Proxy Server Support => Topic started by: shani on January 13, 2005, 01:28:34 PM
-
Hi every one!
I am getting error like that when i am compaliing Squid
[root@Rapid root]# /opt/squid/sbin/squid -z
2005/01/13 21:23:24| Creating Swap Directories
FATAL: Failed to make swap directory /cache: (13) Permission denied
Squid Cache (Version 2.5.STABLE7): Terminated abnormally.
CPU Usage: 0.002 seconds = 0.002 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 8
[root@Rapid root]#
How can I solve this problem
Thanks
-
Hello , this is a most common problem, to solve that you have to make sure that by the use under which you are runing squid should be able to read / write on the directory you are using for cache .
say you are running squid under user "squid"
then
chown squid:squid /cache
chmod 770 /cache