LinuxQuestions.org
Help answer threads with 0 replies.
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 08-24-2009, 06:36 AM   #1
user1221
LQ Newbie
 
Registered: Apr 2009
Posts: 11

Rep: Reputation: 0
Unable to update the server with the Red hat network


Hi Guys,

We have one red hat enterprise linux 5, server which is registered with the RHN, I am not able to update the server with the RHN.

when issued the following
#yum update

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:

Error Message:
Please run rhn_register (or up2date --register on Red Hat Enterprise Linux 3 or later)
as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.

Setting up Update Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Skipping security plugin, no data
No Packages marked for Update/Obsoletion

Thanks & Regards
 
Old 08-24-2009, 07:10 AM   #2
user1221
LQ Newbie
 
Registered: Apr 2009
Posts: 11

Original Poster
Rep: Reputation: 0
The update channel was not subscribed with the RHN, I tried to subscribe the channel and then it was updating

gpg $(up2date --gpg-flags) --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-bash: up2date: command not found
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 37017186: public key "Red Hat, Inc. (release key) <security@redhat.com>" imported
gpg: Total number processed: 1
gpg: imported: 1

-----------
[root@cc1001-medting rpm-gpg]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
Setting up Update Process
Setting up repositories
rhel-i386-server-5 100% |=========================| 1.3 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 2.1 MB 01:39
################################################## 5516/5516
Skipping security plugin, no data
Resolving Dependencies
Skipping security plugin, no data
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for chkconfig to pack into transaction set.
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 143, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 441, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 194, in resolveDeps
self.populateTs(test=1)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 153, in populateTs
self.downloadHeader(txmbr.po)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 760, in downloadHeader
cache=repo.http_caching != 'none',
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 461, in getHeader
cache=cache,
File "/usr/lib/yum-plugins/rhnplugin.py", line 209, in _getFile
start, end, copy_local, checkfunc, text, reget, cache)
File "/usr/lib/yum-plugins/rhnplugin.py", line 298, in _noExceptionWrappingGet
return result
UnboundLocalError: local variable 'result' referenced before assignment
-
 
Old 08-24-2009, 12:56 PM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
Blog Entries: 6

Rep: Reputation: 75
Could you try yum clean all then yum update also try yum repolist
 
Old 08-24-2009, 01:05 PM   #4
reveal
LQ Newbie
 
Registered: Aug 2009
Location: earth
Distribution: *.* except mac os
Posts: 7

Rep: Reputation: 0
gpg $(up2date --gpg-flags) --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-bash: up2date: command not found

You could also try yum install up2date as the system doesnt see it installed. and you will see those gpg key messages with releases a lot.
 
Old 08-24-2009, 04:46 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
have you called your tech rep. on the telephone

that is why you are paying $$$ Red hat
 
Old 08-24-2009, 07:48 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
up2date was superseded by yum as of RHEL 5.0
 
  


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
unable to set up network card on red hat 7.2 sunnyfla2 Linux - Newbie 1 06-15-2009 01:21 PM
How To Update Time In Red Hat Server jmmo1981 Linux - General 2 03-08-2007 12:06 PM
Red Hat Update Agent freezing, unable to update (FC4) Malakye Fedora 1 12-09-2005 09:02 PM
Red Hat Network Update Kernel Problem ejbest Fedora 2 10-05-2004 07:01 AM
Finding the Red Hat Network Icon to Update system scottpioso Linux - General 25 09-20-2003 11:55 PM


All times are GMT -5. The time now is 11:15 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