Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-15-2006, 06:31 AM   #1
Registered: Aug 2006
Posts: 37

Rep: Reputation: 15
squid not starting in Fedora 5

I installed my Fedora server with 2 NIC cards..
While starting my squid I am getting the error message like this.

[root@fedora2 ~]# service squid start
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 54: 2495 Aborted $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1
Starting squid: /etc/init.d/squid: line 53: 2496 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
[root@fedora2 ~]#

Can anybody comment on this
Old 11-15-2006, 06:58 AM   #2
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
What version of squid are you using? - 2.5 or 2.6?

Usually when squid is installed the first time, you need to create the disk cache manually.

# /usr/local/sbin/squid -z

In my case (OpenBSD) it is installed in /usr/local/sbin.

But before doing this, you need to manually edit squid.conf (usually in /etc/squid) to set the IP and port squid will listen and bind to. In my case, I prefer to bind it only to localhost:3128 or so that I would no longer configure all of my clients browser if they don't use a proxy before.


Also you will need to set the most basic ACL under the ACCESS CONTROL section such as this:

acl my_net src
http_access allow my_net
http_access allow localhost

Consult your logs for error hint usually /var/log/messages or might be in /var/spool/squid/logs in your case.

Then try to start squid and check out /var/spool/squid/logs/cache.log to see if squid started normally. You should also check if there is a listening connection via netstat.


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
Squid not starting..... Ricky Linux - Networking 5 05-31-2006 06:54 AM
Problem with starting squid Dedah Linux - Networking 11 03-08-2006 04:15 AM
Error starting Squid mrpc_cambodia Red Hat 2 07-20-2004 03:45 AM
Squid error even before starting Crasherz Linux - Networking 8 11-21-2003 03:56 AM
Squid starting problem?? deepika Linux - Networking 4 10-10-2003 11:13 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration