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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content