Red Hat Satellite certificate activation failed with syntax error
Issue
- Red Hat Satellite certificate activation failed with the below error :
# rhn-satellite-activate --rhn-cert=satellite-cert.xml
RHN_PARENT: satellite.rhn.redhat.com
ERROR: RHN Entitlement Certificate failed to validate:
Exception reported from satellite.example.com
Time: Fri Jun 2 15:03:32 2015
Exception type <class 'xml.parsers.expat.ExpatError'>
Exception Handler Information
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", line 265, in activateSatellite_local
satCerts.storeRhnCert(cert, check_generation=1, check_version=not(options.ignore_version_mismatch))
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satCerts.py", line 477, in storeRhnCert
stored_sc.load(db_cert)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnServer/satellite_cert.py", line 131, in load
self._load(s)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnServer/satellite_cert.py", line 143, in _load
dom_element = parseString(s)
File "/usr/lib64/python2.6/xml/dom/minidom.py", line 1928, in parseString
return expatbuilder.parseString(string)
File "/usr/lib64/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib64/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: syntax error: line 1, column 0
- Red Hat Satellite upgrade is failing at the time of Satellite certificate activation with below error :
[root@Satellite /]# ./install.pl --external-postgresql --upgrade --skip-selinux-test
..
ExpatError: syntax error: line 1, column 0
Environment
- Red Hat Satellite 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
