LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2005, 11:23 AM   #1
rcallbeck
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
rhn_register issue


Good day,

Linux newbie here... setting up a RHEL 3 box... I am trying to update my system, but am having some troubles with up2date.

I have a managed subscription on the rhn.redhat.com side, and it shows I have a few hundred updates for my system. However, at my server, the up2date seems fubar'd. I run rhn_register, and get the following traceback:

'Traceback (most recent call last):
File "/usr/sbin/rhn_register", line 1174, in ?
sys.exit(main() or 0)
File "/usr/sbin/rhn_register", line 484, in main
sourcesFile.writeUp2date()
File "sourcesConfig.py", line 100, in writeUp2date
UnboundLocalError: local variable 'firstUsedLine' referenced before assignment
[root@localhost bin]# rhn_register
Traceback (most recent call last):
File "/usr/sbin/rhn_register", line 1174, in ?
sys.exit(main() or 0)
File "/usr/sbin/rhn_register", line 484, in main
sourcesFile.writeUp2date()
File "sourcesConfig.py", line 100, in writeUp2date
UnboundLocalError: local variable 'firstUsedLine' referenced before assignment

If I click on the up2date alert icon and say to launch up2date, it tells me my password is invalid, without giving me a chance to input my pw.

Will I need to "re0install" up2date? Is there a better way?

Thanks..

Rudy
 
Old 07-27-2005, 05:28 PM   #2
poochdog
Member
 
Registered: Jul 2004
Location: United Kingdom
Distribution: Fedora Core 9
Posts: 141

Rep: Reputation: 15
Hi,

Which version of Redhat are you using? I had the same problem with Redhat 9. I'm kinda thinking that because now they are mainly into the Enterprise Linux that they are not supporting the older types. I know that the Fedora version of Linux is able to update....
 
Old 07-28-2005, 09:50 AM   #3
rcallbeck
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
poochdog:

I am using Red Hat EL 3 AS...

Fixed the problem the other day... basically, stopped the rhnsd service removed the rhn RPM's (rhn_applet and rhn_register, I believe), and re-installed them.

I also had to go into Red Hat Network, remove my system and re-register once I had everything working again...

One thing of note... after i did my initial re-install, I had an SSL certificate error, but that was due to a version conflict on the certificate... but that was easily corrected using instructions found on google and elsewhere...
 
  


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
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 06:07 AM
Certificate used by up2date and rhn_register stitch_n_milo Linux - Newbie 9 05-01-2004 05:39 AM
Iptables rules for allowing rhn_register (up2date)? andy_sco123 Linux - Security 4 05-20-2002 05:30 PM
rhn_register jlm159 Linux - Software 4 02-27-2002 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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