LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-19-2010, 11:45 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
REDHAT 5 Enterprise Yum Setup


I am attempting to run updates via yum and it is acting as though it has never been setup. How would I go about setting this up? We are registered with redhat. Here is what happens when I run yum as root.thanks

PHP Code:
 yum update
Loaded plugins
rhnpluginsecurity
This system is not registered with RHN
.
RHN support will be disabled.
Skipping security pluginno data
Setting up Update Process
No Packages marked 
for Update 

Last edited by metallica1973; 11-19-2010 at 12:23 PM.
 
Old 11-19-2010, 12:03 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by metallica1973 View Post
I am attempting to run updates via yum and it is acting as though it has never been setup. How would I go about setting this up? We are registered with redhat. thanks
If you're registered with RedHat, why don't you call RedHat support?

Look in their knowledgebase about rhn-register, too...that'll get your system set up and working with the RedHat Network.
 
Old 11-20-2010, 04:00 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by metallica1973 View Post
I am attempting to run updates via yum and it is acting as though it has never been setup. How would I go about setting this up? We are registered with redhat. Here is what happens when I run yum as root.thanks

PHP Code:
 yum update
Loaded plugins
rhnpluginsecurity
This system is not registered with RHN
.
RHN support will be disabled.
Skipping security pluginno data
Setting up Update Process
No Packages marked 
for Update 
If you are registered with Redhat then run the command rhn_register and login to your account . Then yum update will update from RHN.
 
Old 11-20-2010, 09:59 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by divyashree View Post
If you are registered with Redhat then run the command rhn_register and login to your account . Then yum update will update from RHN.
Good call..wish I had thought of that...
 
Old 11-24-2010, 09:20 AM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
It was definitely a registration thing. After learning that this server was a reinstallation from my boss, I called redhat and it turned out to be that when rhn_register was run it had the registration/hostname of the previous machine. So I deleted the previous profile and reran rhn_register and all worked well. Many thanks for the help.

Last edited by metallica1973; 11-24-2010 at 09:21 AM.
 
  


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
To run Redhat Enterprise 5 in Redhat 4 Enterprise compatibility mode. pvpnguyen Red Hat 4 05-01-2010 09:36 AM
looking for yum repo for redhat enterprise 4 ufmale Linux - Newbie 2 04-23-2008 10:32 PM
yum setup on Redhat 9? k3who Red Hat 2 02-15-2007 07:01 PM
yum repositories for redhat enterprise server 3 snowinferno Linux - Enterprise 1 10-25-2005 04:34 PM
yum redhat enterprise 3AS saag Linux - Newbie 0 08-22-2004 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:25 PM.

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