Never mind: duh. I forgot to turn squid back on (I had it off because it was
so slow.)
The client command gives an HTML page with an error on it.
**************************
<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
<A HREF="3328">3328</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid URL
</STRONG>
</UL>
<P>
Some aspect of the requested URL is incorrect. Possible problems:
<UL>
<LI>Missing or incorrect access protocol (should be `http://'' or similar)
<LI>Missing hostname
<LI>Illegal double-escape in the URL-Path
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:root">root</A>.
<br clear="all">
<hr noshade size=1>
Generated Tue, 20 Apr 2004 14:25:22 GMT by proxy.domain.com
(Squid/2.4.STABLE7)
</BODY></HTML>
**********************************
-----Original Message-----
From: Angela Burrell [mailto:angela@jobsearchnetwork.ca]
Sent: Tuesday, April 20, 2004 3:13 PM
To: Andreas Pettersson
Subject: RE: [squid-users] slow squid; FAQ question
Andreas,
Thank you for your reply. I have two problems.
1. Yes I have Apache set up on my server. But I cannot find the cachemgr.cgi
file that the FAQ # 9 mentions. I used the Linux find command, but all it
does is print out a list of all my directories. The locations that the FAQ
says the cachemgr.cgi file might be, don't exist on my machine.
2. I tried to do as you suggested and used the client command. My squid.conf
is already set up as you said.
[root@localhost squid]# squidclient
bash: squidclient: command not found
[root@localhost squid]# client cache_object://localhost/info
client: ERROR: Cannot connect to localhost:3128: Connection refused
[root@localhost squid]# client cache_object://localhost:3328/info
client: ERROR: Cannot connect to localhost:3128: Connection refused
(note that the port squid is listening on is NOT 3128. but 3328)
I have Mandrake Multi-Network-Firewall. Linux kernel 2.4.18-8, where might
the cachemgr.cgi file be?
Thanks.
-----Original Message-----
From: Andreas Pettersson [mailto:andpet@telia.com]
Sent: Tuesday, April 20, 2004 3:04 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] slow squid; FAQ question
Cache Manager is a web interface to access a huge amount of stastistics out
of squid.
The setup is described in the faq at
http://www.squid-cache.org/Doc/FAQ/FAQ-9.html
If you don't have a web server and don't want to set up one you can use a
shortcut to find the info mentioned in FAQ-11 using only bin/squidclient (or
just 'client'):
# squidclient cache_object://localhost/info
In squid.conf you have to make sure that localhost is allowed to use the
cache_object protocol:
acl manager proto cache_object
http_access allow manager localhost
/Andreas
----- Original Message -----
From: "Angela Burrell" <angela@jobsearchnetwork.ca>
To: <squid-users@squid-cache.org>
Sent: Tuesday, April 20, 2004 8:27 PM
Subject: [squid-users] slow squid; FAQ question
>
> Regarding this FAQ:
>
> http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.17
>
> My SQUID is running _extremely_ slowly. (About 7-10 seconds for each web
> page
> to load). Lately I've had to bypass it which I don't want to do, since I
> have squidGuard running. I think that the above FAQ *might* answer my
> question but I don't understand this directive:
>
> "examine the Cache Manager Info ouput and look at these two lines"
>
> How does one examine the Cache Manager? I've looked in all my *.log files,
> and didn't find the two lines in question.
Received on Tue Apr 20 2004 - 13:19:54 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT