I am having problems creating the cache directorys when i run the ./squid -z
comand I get the error
[root@proxy sbin]# ./squid -z
2003/05/26 11:04:24| Creating Swap Directories
FATAL: Failed to make swap directory /usr/local/squid/var/cache: (13)
Permission
denied
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 7
[root@proxy sbin]#
I have looked on the FAQ
to create the swap directories on your filesystem. If you have set the
cache_effective_user option, then the Squid process takes on the given
userid before making the directories. If the cache_dir directory (e.g.
/var/spool/cache) does not exist, and the Squid userid does not have
permission to create it, then you will get the ``permission denied'' error.
This can be simply fixed by manually creating the cache directory.
# mkdir /var/spool/cache
# chown <userid> <groupid> /var/spool/cache
# squid -z
I dont know what userid or groupid to use can anyone help with this
*** Virus Checked By MailSure Services ***
For more information on protection against viruses, spam and 'inappropriate' content, visit http://www.mailsure.net
Received on Mon May 26 2003 - 04:11:49 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:02 MST