After upgrading Satellite server from v 5.4 to 5.6, "rhnpush" command fails with "Error Class Code: 2 Invalid username and password combination. "

Solution Verified - Updated -

Issue

  • I have upgraded Satellite server from v 5.4 to 5.6 and now rhnpush command is failing with below error message:
# rhnpush -c cust-rhel-x86_64-server-6 --server satellite.example.com /tmp/cust-package-rhel-x86_64-server-6-20140625.0734-0.4.x86_64.rpm 
Red Hat Network username: adsatuser
Red Hat Network password: 
...
Error Class Code: 2  
Error Class Info: Invalid username and password combination.  
Explanation:  
 An error has occurred while processing your request. If this problem  
 persists please enter a bug report at bugzilla.redhat.com.

 If you choose to submit the bug report, please be sure to include  
 details of what you were trying to do when this error occurred and  
 details on how to reproduce this problem.

Environment

  • Red Hat Satellite 5.6 (upgraded from Satellite 5.4)
  • rhnpush-5.5.65-5.elXsat.noarch or higher
  • rhnlib-2.5.22.1-6.elX or higher

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