If system language is set as "French", command "rhn_register" fails with "Error Class Code: 2" because of non-ascii characters.

Solution Unverified - Updated -


  • If system language is set as French, command rhn_register fails with Error Class Code: 2 because of non-ascii characters.
  • Command rhn_register cannot update its log, because of a non-ascii character.


  • Red Hat Enterprise Linux v 6.1
  • French language environment

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