Re register Linux Server System with RHN

8:11 PM

his document describes how to re-register the linux server with RHN ( Step1 to Step3). It also helps if we have issues while running yum update on the linux servers which is related with server registration (Step1 to Step5).
1. Login to your system and delete /etc/sysconfig/rhn/systemid file using rm command, enter:
rm /etc/sysconfig/rhn/systemid
2. Now register box with the update agent using rhn_register, enter:
rhn_register
3. Please follow the on-screen guide to complete the registration.
4. Once the registration completed, please run:
yum clean all
5. Now re-run the yum update.
One of the error I received while doing the yum update and the re-register option has helped to fix the issue:
[root@sjcinqalwsrt01s ~]# sudo yum update
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 161, in main
    return exFatal(e)
  File "/usr/share/yum-cli/yummain.py", line 64, in exFatal
    logger.critical('\n\n%s', to_unicode(e))
  File "/usr/lib64/python2.4/logging/__init__.py", line 1019, in critical
    apply(self._log, (CRITICAL, msg, args), kwargs)
  File "/usr/lib64/python2.4/logging/__init__.py", line 1078, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info)
  File "/usr/lib64/python2.4/logging/__init__.py", line 1064, in makeRecord
    return LogRecord(name, level, fn, lno, msg, args, exc_info)
  File "/usr/lib64/python2.4/logging/__init__.py", line 226, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: 'NoneType' object is not callable
sudo rhn-profile-sync
An error has occurred:
 
Error Message:
    Abuse of Service detected for server sjcinqsrt01s.ood.ops (1017054815)
Error Class Code: 49
Error Class Info:
     You are getting this error because RHN has detected an abuse of
     service from this system and account. This error is triggered when
     your system makes too many connections to Red Hat Network. This
     error can not be triggered under a normal use of the Red Hat Network
     service as configured by default on Red Hat Linux.
 
     The Red Hat Network services for this system will remain disabled
     until you will reduce the RHN network traffic from your system to
     acceptable limits.
 
     Please log into RHN and visit https://rhn.redhat.com/help/contact.pxt
     to contact technical support if you think you have received this
     message in error.
 
See /var/log/up2date for more information

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results