LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2014, 11:14 AM   #1
tamhankarnikhil
LQ Newbie
 
Registered: Oct 2013
Distribution: Red Hat Enterprise Linux 6 Server
Posts: 11

Rep: Reputation: Disabled
Question YUM [Errno 14] HTTP Error 407: Proxy Authentication Required


Please help me in this. Here is my scenario:

1) I have a physical windows machine which has a company proxy settings and needs authentication which is my windows username and password.
2) I have a VM with Oracle Linux 5 installed and using http://public-yum.oracle.com/repo/Or.../latest/x86_64 repository for YUM.
3) I have added the below entries in /etc/yum.conf

Quote:
proxy=http://myproxyaddress:8080/
proxy_username=myusername
proxy_password=mypassword
and

Quote:
[root@machine oracle]# export http_proxy=”http://myproxyaddress:8080/”
3) When I try to use YUM I get below Error:

Quote:
[root@machine oracle]# yum update

Loaded plugins: security

http://public-yum.oracle.com/repo/Or...ta/repomd.xml: [Errno 14] HTTP Error 407: Proxy Authentication Required

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
How to resolve this? Please help.

Last edited by tamhankarnikhil; 10-15-2014 at 01:28 AM.
 
Old 10-14-2014, 04:19 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521
you are using port 8080
Quote:

proxy=http://myproxyaddress:8080/
but going to port 80
Quote:
[root@machine oracle]# export http_proxy=”http://yourproxyaddress:80/”
 
Old 10-15-2014, 01:29 AM   #3
tamhankarnikhil
LQ Newbie
 
Registered: Oct 2013
Distribution: Red Hat Enterprise Linux 6 Server
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
you are using port 8080

but going to port 80
Sorry, its a typing mistake. I am using 8080 only. Why is it not working?
 
  


Reply

Tags
oracle linux, yum, yum conf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Problem by using wget: ERROR 407: Proxy Authentication Required thomas2004ch Linux - Software 4 09-01-2010 04:38 PM
407 Proxy Authentication Required goldeneagle1234 Linux - Newbie 3 10-20-2009 10:18 PM
HTTP/1.1 407 Proxy Authentication Required - Suse Linux Enterprise Desktop 10. ryzor Linux - Networking 10 10-17-2009 09:05 AM
407 Proxy Authentication Required cucolin@ Linux - Networking 3 09-12-2006 09:54 AM
"407 Proxy Authentication Required." help super_teds Linux - Networking 1 11-18-2004 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration