Network Troublshooting > Linux Proxy Server Support

failed to make swap directory /cache---squid

<< < (2/2)

Ricky:
well actually path/to/cache mean the directory where you want to store cache.
It is mentioned in your squid.conf under directive..
cache_dir <path/to/cache> .

There you look for your actual cache directory and then use -z command but before that you can also run chown and chmod I mentioned earlier.

gauravbajaj:
Hi

I think , cache_dir in squid .conf is /var/spool squid in RHEL...but to make sure just chk it again...., I also told u that check permissions and owner of squid dir..........,as Ricky already said



if still it dont work..then do these step by step:,i thk it should work..

#rm -rf /var/spool/squid

#mkdir /var/spool/squid

#chown squid:squid /var/spool/squid

#restorecon -R /var/spool/squid  (Don't use squid -z , if u r using this command)
#service squid start

Gaurav

mochika54119:
oh....i can not start squid....failed...please, help me!!! :'( :'( :'(

LS-Admin:
Any thing like last few lines of error log of squid ?

Navigation

[0] Message Index

[*] Previous page

Go to full version