Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-28-2004, 09:34 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
squid cache error

Im a second yr student at a career tech center and am currently assigned to set up a Linux proxy server(via squid) for a roomfull of Windows 98/XP pc's. I have little experience with Linux (basic networking, SAMBA, and DHCP stuff) I'm using the basic configuration for Squid and every time i try to start it it gives me

Squid failed. The error was: init_cache_dir /var/spool/squid.../etc/init.d/squid:line162; 4591 Aborted $SQUID-z-D-D 2>/dev/null
Starting Squid: /etc/init.d/squid:line 162: 4592
Aborted $SQUIID$SQUID_OPTS 2>/dev/null

I'm pretty sure it has to do with the cache_dir line but i cant figure it out.
Also i'm running Red Hat Linux 9

help please
Old 10-28-2004, 10:19 AM   #2
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
check the disk size first. make sure enough space in your disk for squid cache.
then check dir permisions. make sure squid is owner of that directory including subdirs
ls -l /var/spool/
drwxr-x---   18 squid    squid        4096 Oct 24 04:02 squid
read the squid.conf to learn about "cache_dir"

good luck.
Old 10-29-2004, 08:22 AM   #3
LQ Newbie
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
nevermind new problem

it gets past the cache error, now it just fails without any known cause. It just plain wont load

Last edited by woods; 10-29-2004 at 08:46 AM.
Old 10-29-2004, 02:05 PM   #4
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Dissreguard this post.

Last edited by phatboyz; 11-03-2004 at 09:19 AM.


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
sequring the squid cache alvi2 Linux - Networking 0 11-20-2005 12:47 PM
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 04:32 AM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 06:50 AM
squid cache server- error creating swap directory debloxie Linux - Networking 4 01-19-2004 12:49 AM
initializing squid cache debloxie Linux - Networking 1 01-18-2004 07:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:49 AM.

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