When trying to update or register, RHEL or Satellite fails with "Error Class Code: 9 Error Class Info: Invalid System Credentials"
Environment
- Red Hat Enterprise Linux(RHEL)
- Red Hat Classic
- Red Hat Satellite
Issue
- While updating or registering the system getting following error:
Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
- satellite-sync fails with
Error Class Code: 9
10:48:11 Red Hat Network Satellite - live synchronization
10:48:11 url: https://satellite.rhn.redhat.com
10:48:11 debug/output level: 1
10:48:11
10:48:11
ERROR: there was a problem synchronizing the information.
Error message:
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.
- When registering a RHUI client an
Error Class Code: 9is displayed.
Resolution
- To resolve this error, delete the current system profile on RHN and re-register the system so that it will update the new system profile as well as the new system ID. For step by step information regarding re-registration process, refer "How to re-register the system with Red Hat Network (RHN) Classic or Red Hat Satellite?"
- For additional issues involving
Error Class Code: 9see Error Class Code: 9.
Root Cause
-
This error occurs when the SystemID on the system in question (
/etc/sysconfig/rhn/systemid) and the SystemID on RHN Classic or Satellite mis-match. In this case, a system will not receive any updates as RHN Hosted or Satellite is unaware of the system. RHN and Satellite maintains profiles for the systems that are registered to it. Every system is identified based on the ServerID. This SystemID on RHN or Satellite should match SystemID listed in "/etc/sysconfig/rhn/systemid" file. -
Especially, RHEL5 with prior to kernel-2.6.18-200, since there is no {thread,core}_siblings_list in /sys, it might happen, please refer to the following article: RHSM register fails with "No cpu socket information found"
Diagnostic Steps
-
Compare system id with the server ID of the system registered on your RHN account. The output of the above command would be similar to the following:
# grep ID /etc/sysconfig/rhn/systemid <value><string>ID-100100000</string></value> - To search system using system ID on RHN, you can follow the below steps:
-
Search for system on RHN in Advanced Search
-
Put systemID in search text box.
- From "Field to Search:" option select "ID".
- Click on Search button.
Traceback observed as well:
[root@~] # yum install httpd
Loaded plugins: product-id, rhnplugin, rhui-lb, security
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error Message:
Please run rhn_register 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.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
