How to re-register the system with Red Hat Satellite 5?

Solution Verified - Updated -


  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Satellite 5


  • How to re-register a system to a new or rebuilt Satellite server?
  • How to re-register a system to Red Hat Satellite ?
  • rhn_register does not register system to Satellite


  • Red Hat Enterprise Linux versions before RHEL 7 will allow registration with RHN Classic, though RHEL 7 registration requires the newer subscription-manager (RHSM) method of registration.

  • If the client system has been re-installed and its old system profile is still on Red Hat Satellite, then the old system profile needs to be deleted to free up the entitlements that it is consuming. Delete each duplicate or obsolete system profile with the following steps:

  • For Systems registered to Red Hat Satellite: Follow the steps below:

    1. Log in to the Satellite server.
    2. Click on the "Systems" tab in the top navigation bar and then the name of the old or duplicated system in the System List.
    3. Click the "delete system" link in the top-right corner of the page.
    4. Confirm system profile deletion by clicking the "Delete System" button.
    5. Lastly, go to the command prompt of the client system and login as root and delete the file /etc/sysconfig/rhn/systemid
  • To re-register the system, run either of the following commands:

# rhn_register


# rhnreg_ks --username=<RHN or Satellite login> --password=<RHN or Satellite password> --force
  • To move entitlements from one system to another without deleting any system profiles, refer to the following solution: How do I move my Red Hat Network (RHN) entitlement to another machine?.
  • Note: Red Hat Enterprise Linux 3.x and 4.x have reached their Extended Life Phase, so they cannot be registered or updated from RHN Classic or Satellite without an active Extended Lifecycle Support (ELS) subscription. For further details on Extended Life Phase and ELS, please refer to: Red Hat Enterprise Linux Life Cycle.

  • If using Satellite and kickstart to provision systems, there are two alternatives to re-register without having to manually delete the profile:

    1. Configure the desired behaviour in the kickstart profile. Go to System Details > Details on the kickstart profile, and select the approppriate option:

      Red Hat Satellite Profile:
      If a Red Hat Satellite system profile already exists for a re-provisioned system outside of the Red Hat Satellite UI:
          Re-connect to the existing system profile. Do not create a new system profile.
          Delete the existing system profile and create a new system profile.
          Leave the existing system profile in place, but do not re-connect to it. Instead, create a new system profile.
    2. Using Satellite's API, add a script to your kickstart to delete the relevant profile during the installation before re-registering it. For documentation on API usage, please see the relevant guide on the documentation page (Satellite 5.5 and earlier / Satellite 5.6 and later)

Diagnostic Steps

  • Check the systemid in file /etc/sysconfig/rhn/systemid is the same as the one you check on RHN.
# vi /etc/sysconfig/rhn/systemid

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.


rhn_register will prompt for RHN username/password if your system is bypassed from proxy. After applying correct login credential, this will automatically add the system into RHN server.


Amitabh Talukdar

Is there anyway a system can unregister itself from Satellite from the command prompt?

Hi Scott. You might also like to try asking this question over on the Satellite discussion group here on the customer portal:

When I am using Spacewalk and register systems to it I get the message from yum "This system is not registered to Red Hat Subscription Management" Since the client is registered to spacewalk I don't want other sysadmins seeing this message and getting confused. How can I make this message go away when the system is registered to spacewalk instead of RHN?

Sys Engineer:

I believe you can disable the 'rhsmcertd' process as well as the subscription-manager plugin for yum:

# chkconfig rhsmcertd off
# service rhsmcertd stop
# sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/subscription-manager.conf
# yum clean all ## Just for good measure

That seems to have done it for me. Since we're not using rhsmcertd in our organization, I actually have written a wrapper around my bootstrap scripts that (in part) checks for the aforementioned subscription-manager elements and ensures they're disabled.

Hope that helps!

Hi Sys Engineer and Adam:

For future reference, the following solution covers that particular message: I've updated it to include turning off the rhsmcertd service. Let me know if you have any further comments or suggestions for improving it.

Adam, thanks so much for the tip! And Tasos, thanks for updating our solution to keep our knowledge current. We really appreciate the collaboration everyone.

I have installed RHEL 6.4 on a VMWare platform without a internet connection. So when I used the rhn_register command the server tried unsuccessfully. How can I register this system?

i am not able to register rhn.
Error Class Code: 70
Error Class Info:
All available subscriptions for the requested channel have been exhausted.
Please contact a Red Hat Network Sales associate.
An error has occurred while processing your request. If this problem
persists please enter a bug report at
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.

Please open a Red Hat support case so that we can help you with this.

I cannot register new systems at all. I am in a test environment and have to reinstall to test / validate the process. After two installs (where RHN allowed registration) - RHN will no longer allow me to register, even though no system are visible in the Customer Portal. I have done a lot of digging that brought me to here. Hence the request. This again is a test system, RH 6 Ent trial, running in VMWare fusion environment.

The instruction seems to be out-dated.
Please I need to move the entitlement to another 6.6 server while the original one is destroyed already.
I cannot find the "Systems" tab nor "Delete system" link.
What is Red Hat Satellite server, could you please give a link to it, do I need it?

In my experience on RHEL6.7 I had to add a step 6 in addition to those in the above article to revert the settings in /etc/sysconfig/rhn/up2date back to: