LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2003, 07:22 PM   #1
lovswr
LQ Newbie
 
Registered: Sep 2003
Location: [H]otlanta!
Distribution: FC3
Posts: 19

Rep: Reputation: 0
can not connect to squid cache manager via webmin anymore


From:Â_ lovswr1 <lovswr1@earthlink.net>
To:Â_ squid-users@squid-cache.org
Subject:Â_ [squid-users] can not connect to cache manager
Date:Â_ 12 Nov 2003 07:12:01 -0500
Hello, I am very new to squid & Linux in general.Â_ This past weekend I
got a very simple squid to work & I was also able to connect to cache
manager that was on the same RH9 box.Â_ When I attempted to add my other
subnetwork 192.168.2.1 (192.168.1.1 was working O.K.) I could not
connect to cache manager anymore.Â_ I deleted all of the changes (I
think), but I still can not connect.Â_ I have read about how to do this,
but alas, there must be something that I don't understand/have right.
TIA


this is the error message I get when I connect to

http://matrix1:10000/squid/cachemgr.cgi

(matrix1 = my localhost)

Cache Manager Error


connect: (111) Connection refused

Generated Thu, 13 Nov 2003 01:19:04 GMT, by cachemgr.cgi/2.5.STABLE1@localhost

This is my squid.conf

#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl pc2 src 192.168.1.148
acl freebsd src 192.168.1.149

#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access allow manager to_localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
# Deny requests to unknown ports
http_access allow freebsd
http_access allow pc2
 
Old 11-13-2003, 01:26 PM   #2
lovswr
LQ Newbie
 
Registered: Sep 2003
Location: [H]otlanta!
Distribution: FC3
Posts: 19

Original Poster
Rep: Reputation: 0
bump for reply
 
Old 02-04-2005, 02:02 PM   #3
roinin
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
If you have your squid server on your firewall you should set you Proxy address to keep others from wasting your resources and keep other from listening on your port, I used the 192.168.0.254 as my Webmin local address and port 3128.

Then change your proxy restriction from (allow manager localhost) to (allow manager “myaddress”)

myaddress should be what ever you have for your local address. In your case

acl myaddress src 192.168.1.0/24 192.168.2.0/24

Then when you click on Cache Manager Statistics and it asks for an address make that what you address to the squid server.

This should help.
 
Old 04-24-2012, 01:44 AM   #4
hafiz_871111
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Cool This Problem solved.. ;)

I just do what roinin said.. .. thanks roinin..
 
  


Reply



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 - Cache Manager ScooterB Linux - Networking 23 06-03-2008 09:15 AM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
Squid Cache Manager Replacement Suggestions... kemplej Linux - Software 0 03-15-2004 11:30 AM
Can someone pls take a look at my Squid Cache Manager info and tell me whats wrong!!! debloxie Linux - Networking 1 02-05-2004 03:32 AM
Can someone pls take a look at my Squid Cache Manager info and tell me whats wrong!!! debloxie Linux - Networking 0 02-04-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 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
Open Source Consulting | Domain Registration