[Spacewalk-list] rhnpush Internal server error 500 Internal Server Error

Benjamin Meier Benjamin.Meier at roland-rechtsschutz.de
Fri Feb 15 13:38:16 UTC 2013



Hello List,

I have installed Spacewalk 1.8 on fresh install CentOS 6.3 x86_64bit with
postgres as DB as descibed in the wiki. After follow all steps of manual
installtion instruction it seems that all is fine. So I defined a new
channel and sync it with the CentOS Base mirror. Afterwards I defined a
subchannel to upload some custom rpms with rhnpush wich ends in:

rhnpush -v -c tsm-64bit -d /root/BAC/ --nosig
Connecting to https://localhost/APP
Red Hat Network username: user
Red Hat Network password:
Package /root/BAC/TIVsm-JBB.x86_64.rpm Not Found on RHN Server -- Uploading
Uploading package /root/BAC/TIVsm-JBB.x86_64.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/BAC/TIVsm-JBB.x86_64.rpm:  (500)
Waiting 4 seconds and trying again...
Uploading package /root/BAC/TIVsm-JBB.x86_64.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/BAC/TIVsm-JBB.x86_64.rpm:  (500)
Waiting 2 seconds and trying again...
Uploading package /root/BAC/TIVsm-JBB.x86_64.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/BAC/TIVsm-JBB.x86_64.rpm:  (500)
Waiting 1 seconds and trying again...
Giving up after 3 attempts

So I checked the logs and found error in /var/log/httpd/error_log

[Fri Feb 15 14:10:02 2013] [error] Exception Handler Information
[Fri Feb 15 14:10:02 2013] [error] Traceback (most recent call last):
[Fri Feb 15 14:10:02 2013] [error]   File
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheUploadServer.py",
line 100, in _wrapper
[Fri Feb 15 14:10:02 2013] [error]     ret = function(req)
[Fri Feb 15 14:10:02 2013] [error]   File
"/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line
115, in handler
[Fri Feb 15 14:10:02 2013] [error]     self.file_checksum_type,
self.file_checksum)
[Fri Feb 15 14:10:02 2013] [error]   File
"/usr/lib/python2.6/site-packages/spacewalk/server/rhnPackageUpload.py",
line 269, in save_uploaded_package
[Fri Feb 15 14:10:02 2013] [error]     os.makedirs(temp_dir)
[Fri Feb 15 14:10:02 2013] [error]   File "/usr/lib64/python2.6/os.py",
line 150, in makedirs
[Fri Feb 15 14:10:02 2013] [error]     makedirs(head, mode)
[Fri Feb 15 14:10:02 2013] [error]   File "/usr/lib64/python2.6/os.py",
line 150, in makedirs
[Fri Feb 15 14:10:02 2013] [error]     makedirs(head, mode)
[Fri Feb 15 14:10:02 2013] [error]   File "/usr/lib64/python2.6/os.py",
line 157, in makedirs
[Fri Feb 15 14:10:02 2013] [error]     mkdir(name, mode)
[Fri Feb 15 14:10:02 2013] [error] OSError: [Errno 13] Permission denied:
'/var/satellite/redhat'

So I checked the permission for the directory and finally set also:

chmod apache:apache /var/satellite -R
chmod 777 /var/satellite -R

but the problem is still the same. So I ask Mr. google but I can not find a
suitable answer.

I also tried the nightly build but it is always the same error.

 Maybe somebody have had the same thing and can help me to fix it

regards

Ben

__________________________________
ROLAND Rechtsschutz-Versicherungs-AG
Informatik
Eumeniusstraße 15-17
D-50679 Köln

Telefon: 0221 8277-6424
Telefax: 0221 8277-6519
Mailto:Benjamin.Meier at roland-rechtsschutz.de
http://www.roland-rechtsschutz.de
__________________________________
ROLAND Rechtsschutz ist Testsieger bei Focus Money. 
Mehr Informationen unter www.roland-konzern.de.
 
ROLAND Rechtsschutz-Versicherungs-AG
Vorsitzender des Aufsichtsrats: Dr. Thomas Buberl
Vorstand: Gerhard Horrion (Vorsitzender), Bettina Hesse, Dr. Ulrich 
Scholten
Handelsregister Köln HRB 2164
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130215/a3d237f0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 31376 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130215/a3d237f0/attachment.jpe>


More information about the Spacewalk-list mailing list