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 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.