LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-26-2011, 09:52 AM   #1
danndp
Member
 
Registered: Nov 2010
Posts: 51

Rep: Reputation: 2
RHN Satellite or RHN Classic support will be disabled.


Hello,

Looking for some help on my little problem, i'm using Red Hat 5.6

Quote:
Red Hat Enterprise Linux Client release 5.6 (Tikanga)
Kernel \r on an \m
I registered the license few months ago, but now i'm trying to install some packages through yum but it doesn't work, take a look:

Quote:
#yum install bind
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
Proxy Authentication Required
Setting up Install Process
No package bind available.
Nothing to do
You have new mail in /var/spool/mail/root
I already configured the /etc/yum.conf to pass through the proxy:

Quote:
#cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

######################
###PROXY CONFIGURATION###
proxy=http://proxy.house.es:8080
proxy_username=******
proxy_password=******
So, i'm quite confuse right now, could be this a problem with license? i did the same process on a CentOS machine (obviously behind my proxy) and the installation was perfect, but on this red hat is impossible....

Any hints please?

Thanks
 
Old 05-26-2011, 12:02 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Let's apply Occam's Razor here and focus on: "Proxy Authentication Required"

Talk to the proxy admin and work with him to see what the problem is. If you are the proxy admin, then view the service logs to determine what is happening.
 
1 members found this post helpful.
Old 05-27-2011, 01:35 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Also, compare the above carefully with the working Centos system. Could be a typo.
 
1 members found this post helpful.
Old 05-27-2011, 06:04 AM   #4
danndp
Member
 
Registered: Nov 2010
Posts: 51

Original Poster
Rep: Reputation: 2
Solved

Hello,

It has been SOLVED...i followed the instructions here: http://www.linuxquestions.org/questi...-proxy-686944/

In resume: the problem was not exactly on the /etc/yum.conf instead i had to change the file /etc/sysconfig/rhn/up2date and update the following information:


Quote:
enableProxy[comment]=Use a HTTP Proxy
enableProxy=0 (change it to 1)

proxyPassword[comment]=The password to use for an authenticated proxy
proxyPassword= (put proxy password)

proxyUser[comment]=The username for an authenticated proxy
proxyUser= (put proxy username)

httpProxy[comment]=HTTP proxy in hostort format, e.g. squid.redhat.com:3128
httpProxy= (put http_proxy environment variable)

enableProxyAuth[comment]=To use an authenticated proxy or not
enableProxyAuth=0 (Change it to 1)
The weird thing is why i've to change this upt2date file...

Thanks
 
1 members found this post helpful.
  


Reply


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
rhn proxy vs rhn satellite drManhattan Red Hat 2 04-21-2011 01:06 AM
RHN account overview shows 1 sub available and RHN update install can't find mbennettinvail Red Hat 6 02-08-2010 07:34 PM
Max RHN Proxy/Satellite Server Connections agman Red Hat 0 02-01-2007 02:33 PM
Looking for Alternative to RHN Satellite Server basic functionality chad504 Linux - Enterprise 10 01-24-2007 10:28 AM
? on cloning errata for RHN Satellite Server dmorgan Red Hat 1 04-08-2004 08:30 PM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration