squid cache server- error creating swap directory
pls who undertsands this message
Initializing the Squid cache with the command squid -f /etc/squid/squid.conf -z .. 2004/01/17 10:47:07| Creating Swap Directories FATAL: Failed to make swap directory /cache/00: (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: 10 after changing ownership from root to squid, it displayed this. my cache directory is another harddisk and it has the lable /cache. pls help out |
you have to make sure that the chmod for the directories have the correct rights.
check the squid installer giude to see what rights are needed or if lazy give it total rights. do the following # cd /usr/local/squid/var/ # mkdir cache # chown root:root cache # chown root:root logs # chmod -r 777 cache # chmod -r 777 logs should fix it |
pls i have 2 hard disks, i dedicated hdb for the cache directory.
so how ll this affect the command u gave out to me thanks for the help |
where have you set the squid cache directory? did you install the entire squid package there? or are you just pointing at it ?
|
visit www.chrisliveonline.com/security/ and go to the squid section.. ensure that you have completed all the steps. if that doesnt work post something that is useful for us, like an error message. The more help you give us the more likely we are to be able to help
|
All times are GMT -5. The time now is 10:23 PM. |