rhn_register and other commands fail with a traceback "No module named rhpl.translate"

Solution Verified - Updated -

Issue

  • rhn_register and other commands fail with a traceback "No module named rhpl.translate
rhn_register
Traceback (most recent call last):
  File "/usr/sbin/rhn_register", line 16, in <module>
    from rhpl.translate import _
ImportError: No module named rhpl.translate
[root@sacahc112d2-prd ~]# sosreport
Traceback (most recent call last):
  File "/usr/sbin/sosreport", line 31, in <module>
    import sos.policyredhat
ImportError: No module named sos.policyredhat

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.