LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2010, 05:05 AM   #1
raghureddii
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Rep: Reputation: 0
Proxy issue in CentOS


hile configuring the yum through proxy i was configures with some address(10.x.x.x).

after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system.

but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x).

finally i come to know that, still some location old proxy address(10.x.x.x).is there.

how to troubleshoot this issue.(how to find the location)

i was try to debug find the output below


DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.

--2010-08-22 05:56:01-- http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Connecting to 10.1.1.51:3128... connected.
Created socket 3.
Releasing 0x09406190 (new refcount 0).
Deleting unused 0x09406190.

---request begin---
GET http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt HTTP/1.0
User-Agent: Wget/1.11.4 Red Hat modified
Accept: */*
Host: dag.wieers.com

---request end---
Proxy request sent, awaiting response...
 
Old 08-22-2010, 07:07 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
Try adding lines similar to these in /etc/yum.conf:
Code:
# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
 
Old 08-22-2010, 10:05 AM   #3
raghureddii
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by carltm View Post
Try adding lines similar to these in /etc/yum.conf:
Code:
# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty


yum is working fine


but when i am trying to download using wget

#wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

-2010-08-22 05:56:01-- http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Connecting to 10.1.1.51:3128... connected.
Proxy request sent, awaiting response...

i am getting the o/p above
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Centos 5.4 Issue: "CentOS CD Not found in any of the media drives. Please i g.navink Red Hat 1 04-07-2010 04:12 PM
Centos behind proxy Centos_user Linux - Networking 4 03-02-2010 01:03 AM
configure NTLM in centos 5.2 for a proxy reyhaneh.emi Linux - Newbie 0 05-25-2009 02:59 AM
configureNTLM in centos 5.2 for a proxy server reyhaneh.emi Linux - Software 0 05-24-2009 05:34 AM
Centos 5 YUM/Proxy metallica1973 Red Hat 6 01-30-2009 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration