Re: [squid-users] Cache peer does not work

From: Carlos Manuel Trepeu Pupo <charlie.mtp_at_gmail.com>
Date: Sat, 14 May 2011 13:26:06 -0400

2011/5/14 Dr. Muhammad Masroor Ali <mmasroorali_at_cse.buet.ac.bd>:
> Yes, I am actually writing
> cache_peer 172.16.101.3     parent    3128  3130  default
>
> I was so exasperated that I did not type it correctly.
>
> Dr. Muhammad Masroor Ali
> Professor
> Department of Computer Science and Engineering
> Bangladesh University of Engineering and Technology
> Dhaka-1000, Bangladesh
>
> Phone: 880 2 966 5650 (PABX)
>
> In a world without walls and fences, who needs Windows and Gates?
>
>
>
>
>
> On Sat, May 14, 2011 at 10:23 PM, Hasanen AL-Bana <hasanen_at_gmail.com> wrote:
>> cache_peer 127.0.0.1     parent    3128  3130  default
>> the above link points to the same server ! probably incorrect , you
>> must use your parent IP address instead (172.16.101.3)
>>
>> On Sat, May 14, 2011 at 7:17 PM, Dr. Muhammad Masroor Ali
>> <mmasroorali_at_cse.buet.ac.bd> wrote:
>>>
>>> Dear All,
>>> I thought that this would have been straight forward.
>>>
>>> In an Ubuntu machine, I use proxy 172.16.101.3 as the proxy for
>>> browsing. This does not require any user name or password for access.
>>>
>>> I installed squid3 in this machine and set 127.0.0.1:3128 as proxy in
>>> the browser. Also in the squid.conf file I have put,
>>> cache_peer 127.0.0.1     parent    3128  3130  default
>>>
>>> Now when I try to browse, nothing happens. That is, the browser says
>>> connecting or some such, and after a very long time it fails to open
>>> the page.

You must have to configure the parameter nonhierarchical_direct off

Then, the squid will ask to the parent first before go directly to
find the page.

>>>
>>> No error message has been found in the log files. I am really at a
>>> loss what to do.
>>>
>>> Could somebody please tell me what to do. Thanks in advance.
>>>
>>> Dr. Muhammad Masroor Ali
>>> Professor
>>> Department of Computer Science and Engineering
>>> Bangladesh University of Engineering and Technology
>>> Dhaka-1000, Bangladesh
>>>
>>> Phone: 880 2 966 5650 (PABX)
>>>
>>> In a world without walls and fences, who needs Windows and Gates?
>>
>
Received on Sat May 14 2011 - 17:26:14 MDT

This archive was generated by hypermail 2.2.0 : Sun May 15 2011 - 12:00:02 MDT