Search squid archive

Re: Fwd: Re: need help with cachemgr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/27/18 11:50 AM, jmperrote wrote:
> I try the sentence that
> you send my and the problem its the same.

You may have several problems. The commands I sent you fixed one of
those problems. With those new commands, squidclient sends correct cache
manager URL to Squid.


> No data retrive from cachemgr.

That is another problem. I do not know why your Squid does not respond
to these Cache Manager requests. Does Squid get these requests? What
does Squid access.log say?


> squidclient -vv -p 1084 mgr:info
> 
> verbosity level set to 2
> Request:
> GET cache_object://localhost/info HTTP/1.0
> Host: localhost
> User-Agent: squidclient/3.5.12
> Accept: */*
> Connection: close
> 
> 
> .
> Transport detected: IPv4-only
> Resolving localhost ...
> Connecting... localhost (127.0.0.1:1084)
> Connected to: localhost (127.0.0.1:1084)
> Sending HTTP request ...
> done.


The above debugging/stderr output looks OK to me (unlike the output you
posted earlier that showed wrong request URLs). It should be followed by
an HTTP response (on stdout).


> On reverse proxy mode, the cache is generated to ? or is empty.

I am not sure what you mean by "the cache is generated to ? or is
empty". If you do not see any HTTP response coming from Squid, then
investigate what Squid knows/says about the request, starting with any
relevant cache.log and access.log records.


HTH,

Alex.


> -------- Mensaje Original --------
> Asunto: Re:  need help with cachemgr
> Fecha: 2018-11-27 13:03
> De: Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>
> Destinatario: squid-users@xxxxxxxxxxxxxxxxxxxxx
> 
> On 11/27/18 6:13 AM, jmperrote wrote:
>> Hello need help with cachemgr, I using a squid as a reverse proxy mode,
>> when I try to connect to retrive data using squidclient, connecting to
>> cachemrg, only retrive squid OK, but the other values HIT, http request,
>> etc,  that ara usually retrived are not retrived.
>>
>> My case when I to try connect:
>>
>>                     squidclient -vv cache_object://localhost/ mgr:info
>>                     -p 1084
> 
> Place all named options before the anonymous ones and
> use one (pseudo) URL at a time:
> 
>   squidclient -vv -p 1084 cache_object://localhost/
>   squidclient -vv -p 1084 mgr:info
> 
> Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux