rhnpush fails with "internal server error" and traceback message occurs on satellite server.
Environment
- Red Hat Satellite 5.x
Issue
- rhnpush fails with internal server error and traceback message generated as following:
# rhnpush -d /var/satellite/HP/HP-ProLiantSupportPack_x86_64_RHEL6/ --server=http://localhost/APP -c hp-sps-x86_64-rhel6 --force -u rhnsat -p rhnsat
Internal server error 500 Internal Server Error
Error pushing /var/satellite/HP/HP-ProLiantSupportPack_x86_64_RHEL6/hp-smh-templates-8.6.0.14-16.noarch.rpm: Error 500 (500)
Waiting 1 seconds and trying again...
Internal server error 500 Internal Server Error
Error pushing /var/satellite/HP/HP-ProLiantSupportPack_x86_64_RHEL6/hp-smh-templates-8.6.0.14-16.noarch.rpm: Error 500 (500)
Waiting 2 seconds and trying again...
Internal server error 500 Internal Server Error
Error pushing /var/satellite/HP/HP-ProLiantSupportPack_x86_64_RHEL6/hp-smh-templates-8.6.0.14-16.noarch.rpm: Error 500 (500)
Waiting 1 seconds and trying again...
Giving up after 3 attempts
Connecting to https://localhost/APP
Red Hat Network password:
Package /home/satelliteuser/x123/RPM/rmecma.i686.rpm Not Found on RHN Server -- Uploading
Uploading package /home/satelliteuser/x123/RPM/rmecma.i686.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing /home/satelliteuser/x123/RPM/rmecma.i686.rpm: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w123.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w123.org/1999/xhtml" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Error</title>
<link rel="shortcut icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/css/rhn-base.css" type="text/css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/css/rhn-iecompat.css" />
<![endif]-->
<script src="/javascript/prototype-1.6.0.js"></script>
Connecting to https://127.0.0.1/APP
url is https://127.0.0.1/PACKAGE-PUSH
Result codes: 200 OK
Computing checksum and package info. This may take some time ...
Package kernel-doc-2.6.32-358.el6.noarch.rpm Not Found on RHN Server -- Uploading
Uploading package kernel-doc-2.6.32-358.el6.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing kernel-doc-2.6.32-358.el6.noarch.rpm: (500)
1
Waiting 3 seconds and trying again...
Uploading package kernel-doc-2.6.32-358.el6.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing kernel-doc-2.6.32-358.el6.noarch.rpm: (500)
1
Waiting 1 seconds and trying again...
Uploading package kernel-doc-2.6.32-358.el6.noarch.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing kernel-doc-2.6.32-358.el6.noarch.rpm: (500)
1
Waiting 3 seconds and trying again...
Giving up after 3 attempts
Resolution
- Increase the disk space, /var/satellite is full:
/dev/mapper/VolGroup00-SatVol01
180621680 171446636 4 100% /var/satellite
Diagnostic Steps
- Check for enough free space:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-RootVol
10321208 5324216 4472704 55% /
/dev/mapper/VolGroup00-TmpVol
5160576 352552 4545880 8% /tmp
/dev/mapper/VolGroup00-VarVol
12414788 7628648 4160748 65% /var
/dev/mapper/VolGroup00-SatVol01
180621680 171446636 4 100% /var/satellite
-
Check the selinux status, try with disabling the selinux [# setenforce 0]
-
Check if you able to push package with --force
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
