LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 01-17-2004, 02:46 AM   #1
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Rep: Reputation: 30
Question 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
 
Old 01-17-2004, 02:56 AM   #2
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
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
 
Old 01-17-2004, 03:08 AM   #3
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Original Poster
Rep: Reputation: 30
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
 
Old 01-18-2004, 08:09 PM   #4
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
where have you set the squid cache directory? did you install the entire squid package there? or are you just pointing at it ?
 
Old 01-19-2004, 01:49 AM   #5
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cache Swap Directory Creation Problem arun_ain Linux - Software 4 06-14-2005 05:45 AM
Using an NFS share as squid cache directory, possible? tylerdurden82 Linux - Networking 1 01-20-2005 07:42 AM
I have a cache directory, I am not sure if that is squid's cache directory Niceman2005 Linux - Software 1 11-26-2004 03:46 AM
squid cache error woods Linux - Networking 3 10-29-2004 03:05 PM
Problem w/Squid Cache server @ bootup eroica Linux - Software 0 06-08-2004 02:57 PM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration