Could not import locale for C.UTF-8: [Errno 2] No translation file found for domain: 'rhsm'

Solution Verified - Updated -

Issue

  • Log entries for subscription manager shows messages:
[INFO] rhsm-service:7260:MainThread @i18n.py:169 - Could not import locale for C.UTF-8: [Errno 2] No translation file found for domain: 'rhsm'
[INFO] rhsm-service:7260:MainThread @i18n.py:139 - Could not import locale either for C.UTF-8_C.UTF-8: [Errno 2] No translation file found for domain: 'rhsm'
  • Multiple messages found in /var/log/rhsm/rhsm.log related to "Could not import locale".

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Subscription Management

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