Solved

squid proxy

Posted on 2013-10-24
3
1,016 Views
Last Modified: 2013-11-16
I have squid proxy on suse enterprise linux 11.2, for some maintenance puposes i have to swap the proxy ip with Windows ISA server. after that my squid is not working,so i am getting the following error in my access log file and none of user is able to browse the internet.

1382609509.685 239818 172.16.225.203 TCP_CLIENT_REFRESH_MISS/504 0 GET http://dnl-07.geo.kaspersky.com/index/u0607g.xml.dif - DIRECT/130.117.190.137 text/html
1382609515.918   9913 172.16.225.203 TCP_MISS/000 0 CONNECT 62.213.110.174:443 - NONE/- -
one more thing i am getting the different dns records in nslookup query

while i checked in the dns server there is only one record against the proxy with the new ip but on the linux machine itself there are three records.I have cleared the cache uodated the dns record even restarted the proxy server but in vain.

40.0.16.172.in-addr.arpa        name = isa.abc.local
40.0.16.172.in-addr.arpa        name = proxy-web.abc.local.
40.0.16.172.in-addr.arpa        name = proxy-server.abc.local
0
Comment
Question by:kastro Abbasi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Daniel Helgenberger earned 500 total points
ID: 39599153
I am not sure if I get what you have done?
1 shutdown squid
2 swapped IPs with another proxy
3 start squid
4 swiched back IPs
All was working well until after step 4.

TCP_CLIENT_REFRESH_MISS/504
TCP/504 is a gateway timeout - can you confirm squid can connect to the requested site? Maybe someth. went wrong when switching IPs or something (firewall) is blocking squid? Maybe iptables?

Basic debug on the cache server:
curl http://dnl-07.geo.kaspersky.com/index/u0607g.xml.dif

Open in new window

0
 

Author Comment

by:kastro Abbasi
ID: 39601837
no i can not even browse on the proxy itself. But why i am geting the two records against this server updating the old records in dns server and clear the cache on this machine.
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39601904
no i can not even browse on the proxy itself
What does this mean? Proxy has no wan connectivity?

There are many reasons why you could get those PTR's, most likely they are in the DNS you do your lookup against - and a left over from the IP switching. But don't worry, they to no harm and have nothing to do with your current problem. Consider cleaning up your reverse lookup zones to get rid of those PTRs.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question