Uploading solaris mpm files fails with the error '500 Internal Server Error'

Solution Verified - Updated -

Issue

  • Uploading solaris mpm files fails with the 500 Internal Server Error error as follows:

        bash-3.00# rhnpush -n 5 -c solaris-10-blastwave-i386 CSWffmpeg-0.4.9-2005.10.27_rev\=pre1_PSTAMP_2005.10.27.17.26.i386-solaris.mpm 
        Red Hat Network username: xxx
        Red Hat Network password: 
        Internal server error 500 Internal Server Error
        Error pushing CSWffmpeg-0.4.9-2005.10.27_rev=pre1_PSTAMP_2005.10.27.17.26.i386-solaris.mpm: Error 500 (500)
        Waiting 3 seconds and trying again...
    
  • Following http errors can be observed in the log file:

        Exception Handler Information
        Traceback (most recent call last):
          File "/usr/share/rhn/server/apacheUploadServer.py", line 102, in _wrapper
            ret = function(req)
          File "/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 135, in handler
            relative_path=self.rel_package_path, org_id=self.org_id)
          File "/usr/share/rhn/server/rhnPackageUpload.py", line 175, in push_package
            importer.run()
          File "/usr/share/rhn/server/importlib/importLib.py", line 651, in run
            self.submit()
          File "/usr/share/rhn/server/importlib/packageImport.py", line 322, in submit
            raise
          File "/usr/share/rhn/server/importlib/packageImport.py", line 509, in _import_signatures
            for package in self.batch:
          File "/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.py", line 276, in get_package_header
            hdr = ts.hdrFromFdno(file_desc)
          File "/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.py", line 110, in hdrFromFdno
            return self.ts.hdrFromFdno(fd)
        error: error reading package header
    
        RHN 12501 2011/04/21 00:06:10 -04:00: ('Unhandled exception',)
    

Environment

  • Red Hat Network Satellite 5.4

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