Subscription-manager command fails with error '%' must be followed by '%' or '(', found: '%password'

Solution Verified - Updated -

Issue

  • In /etc/rhsm/rhsm.conf file the proxy password is not parsed properly.
  • If password of http proxy contains a special character '%' then subscription manager fails to run:
# subscription-manager refresh
  • Subscription manager commands fail if http proxy password contains special character % .

Environment

  • Red Hat Enterprise Linux 5.7 (and onwards)
  • Red Hat Subscription Management (RHSM)

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