satellite-sync fails with "Error Class Code: 3006 Error Class Info: Invalid satellite certificate "
Environment
- Red Hat Satellite
Issue
satellite-syncfails with errorInvalid satellite certificate.rhn_checkfails withError Class Code: 3006 Error Class Info: Invalid satellite certificate.-
Error in the email sent by the Satellite:
Exception type satellite_tools.syncLib.RhnSyncException Exception Handler Information Traceback (most recent call last): File "/usr/bin/satellite-sync", line 142, in main return satsync.Runner().main() File "/usr/share/rhn/satellite_tools/satsync.py", line 212, in main ret = method() File "/usr/share/rhn/satellite_tools/satsync.py", line 279, in _step_channel_families self.syncer.processChannelFamilies() File "/usr/share/rhn/satellite_tools/satsync.py", line 581, in processChannelFamilies "channel-families") File "/usr/share/rhn/satellite_tools/satsync.py", line 462, in _process_simple stream = method() File "/usr/share/rhn/satellite_tools/xmlWireSource.py", line 206, in getChannelFamilyXmlStream return self._openSocketStream("dump.channel_families", (self.systemid,)) File "/usr/share/rhn/satellite_tools/xmlWireSource.py", line 170, in _openSocketStream raise RhnSyncException, lastErrorMsg RhnSyncException: Error Message: Satellite Cert expired Error Class Code: 3006 Error Class Info: Invalid satellite certificate 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.
Resolution
Root Cause
- This error is generally seen when the certificate has expired.
Diagnostic Steps
- Check for expire date under the certificate by executing:
# cat /etc/sysconfig/rhn/rhn-entitlement-cert.xml|grep expire
<rhn-cert-field name="expires">2010-12-09 00:00:00</rhn-cert-field>
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.
