LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-18-2006, 06:03 AM   #1
shahg_shahg
Member
 
Registered: Aug 2004
Location: pakistan
Distribution: learning
Posts: 53

Rep: Reputation: 15
squid, iptables and fc4...problem


hi .... frinds i have installed fc4 and now i m trying a setup squid i have configured the squid.conf and start its services and system did not creat any error but when i try to open any website i have get "refusing connections" massage on the client end. and my log file did not make my any entry..it still blank...plz tell me where is problem....my same squid.conf file is working very fine on fc2,,,,,,thnkx...for ur help
 
Old 03-18-2006, 11:45 PM   #2
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
Quote:
Originally Posted by shahg_shahg
when i try to open any website i have get "refusing connections" massage on the client end.
Is the error message in the web browser generated by Squid (it will say Squid in the error messge), or is it generated by the browser (for example, presented similarly to "404 Not Found")?

What web browser are you using? Is it on the same computer as Squid?

It might be a firewall issue (the computer running Squid may be blocking the necessary port), among other things.

You say that Squid is not reporting any errors. Does it tell you that it is ready to serve, and in what terms? On my server the init script says "OK" and the Squid server reports something along the lines of "ready to serve".

As you said "start its services", I have assumed that you used some variation on
$ service start squid
Have you tried running the squid binary directly? Firstly, however, is there any reason you cannot do this, based perhaps on the contents of the squid init script?

If all your logs (access.log, cache.log and store.log) are blank, Squid is probably not running. Is this the case? You can check with
$ ps aux | grep -i squid
Additionally,
$ netstat --inet -vapen
should show you what ports Squid is listening on.

You noted that the same configuration file worked on FC2. Are you using the same user file and version of Squid? Please post your squid configuration.

Why did you put "iptables" in the subject line?

Squid has a "-d" option for debugging. Have you used this? Feel free to copy-and-paste any output.

Also consider http://www.catb.org/~esr/faqs/smart-questions.html . I'm no hacker.

-pcweirdo.
 
Old 03-20-2006, 12:11 AM   #3
shahg_shahg
Member
 
Registered: Aug 2004
Location: pakistan
Distribution: learning
Posts: 53

Original Poster
Rep: Reputation: 15
thankx....it is the firewall issue ....thankx...for ur gr8 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
Problem using Squid, Dansguardian and IPtables as web filtering! cryonics Linux - Networking 7 05-09-2006 01:00 PM
Squid Log Analyzer for FC4 tsaravan Linux - Networking 2 03-04-2006 08:44 AM
squid iptables ftp ----- > problem Ammad Linux - Networking 1 12-25-2005 04:03 PM
iptables+squid alcor Linux - Networking 1 11-02-2005 05:13 PM
problem with squid and iptables myheart Linux - Networking 2 01-13-2005 07:34 PM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
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