What is the syntax? cachemgr_password (and then the password)?
I am still getting this message:
>> [root@proxy1 ~]# squidclient mgr:info
>> client: ERROR: Cannot connect to localhost:3128: Connection
refused
Mike
-----Original Message-----
From: Amos Jeffries [mailto:squid3@treenet.co.nz]
Sent: Friday, April 18, 2008 12:03 AM
To: Nick Duda
Cc: Michael J. Perrone; Kinkie; Squid-users
Subject: Re: FW: [squid-users] Squid Problem
Nick Duda wrote:
> Doing a google search I cant find that directive, does it even exist?
Do you mean cachemgr_passwd?
No, kinkie meant 'cachemgr_passwd'
>
> If squidmgr_password does exist as a directive, what is it used for?
Without it 'squidclient mgr:menu' lists a few things like shutting down
squid, displaying the config as 'hidden' and non-usable.
When its used, the mgr:menu changes the relevant objects to 'protected'
and you can use the password to run those commands using squidclient.
Amos
> -----Original Message-----
> From: Michael J. Perrone [mailto:mperrone@onlineffg.com]
> Sent: Thursday, April 17, 2008 11:54 AM
> To: Kinkie
> Cc: Squid-users
> Subject: RE: FW: [squid-users] Squid Problem
>
> I could not find a squidmgr_password in our squid.conf file. I tried
the
> command omitting the -W switch. It asked for a WWW password. I tried a
> few passwords, including the root password. No joy. I also tried
> entering the following line at the end of our squid.conf file:
>
> squidmgr_password squid
>
> I restarted the squid service and tried again. Again, no joy.
>
> How do I (and what is the syntax) to add a password to the squid.conf
> file? After I make the changes, I need to restart the service /
> computer, correct?
>
> Thanks,
>
> Mike
>
> -----Original Message-----
> From: Kinkie [mailto:gkinkie@gmail.com]
> Sent: Wednesday, April 16, 2008 6:20 PM
> To: Michael J. Perrone
> Cc: Squid-users
> Subject: Re: FW: [squid-users] Squid Problem
>
> On Wed, Apr 16, 2008 at 7:33 PM, Michael J. Perrone
> <mperrone@onlineffg.com> wrote:
> [...]
>> when I type the command "squidclient mgr:info" this is
>> the result... Is this how I get to the cache manager DNS page (the
>> machine is not running apache...)?
>>
>> [root@proxy1 ~]# squidclient mgr:info
>> client: ERROR: Cannot connect to localhost:3128: Connection refused
>
> squidclient -h <host> -p <port> -U admin -W <squidmgr_password>
> cache_object://<host>/<page>
>
> where you have to replace the brackets with the relevant values. The
> squidmgr_password can be found in your squid.conf file.
>
> Please keep the list in Cc, so that others may jump in and help if
they
> wish to.
> --
> /kinkie
-- Please use Squid 2.6.STABLE19 or 3.0.STABLE4Received on Tue Apr 22 2008 - 14:41:37 MDT
This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT