Not able to push custom package in satellite 5.x Error: 500 Internal Server Error

Solution Verified - Updated -

Issue

  • Getting below error while pushing custom package using rhnpush command.
# rhnpush --nosig --force -v -c channel-name --server http://localhost/APP testpackage.rpm
Connecting to http://localhost/APP
Package testpackage.rpm Not Found on RHN Server -- Uploading
Uploading testpackage.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing testpackage.noarch.rpm:  (500)
Waiting 5 seconds and trying again...
Uploading testpackage.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing testpackage.noarch.rpm:  (500)
Waiting 2 seconds and trying again...
Uploading testpackage.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing testpackage.noarch.rpm:  (500)
Waiting 1 seconds and trying again...
Giving up after 3 attempts

Environment

Red Hat Satellite 5.6

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.