[Spacewalk-list] Spacewalk 1.1 - rhnpush unable to create directories

matmeintz at sbcglobal.net matmeintz at sbcglobal.net
Tue Oct 19 16:28:22 UTC 2010


I just installed Spacewalk version 1.1.

I created a channel attempted to do an rhnpush to populate the new channel.  

rhnpush -vvv --channel=el5_x64 --server=http://localhost/APP --dir=/install/el5.5_x64/Server/ -u spacewalk -p xxxx

I am currently getting the following error:

Uploading files from directory /install/el5.5_x64/Server/
Connecting to http://localhost/APP
url is http://localhost/PACKAGE-PUSH
Result codes: 200 OK
Computing checksum and package info. This may take some time ...
Package /install/el5.5_x64/Server/libsoup-2.2.98-2.el5_3.1.x86_64.rpm Not Found on RHN Server -- Uploading
Uploading package /install/el5.5_x64/Server/libsoup-2.2.98-2.el5_3.1.x86_64.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing
 /install/el5.5_x64/Server/libsoup-2.2.98-2.el5_3.1.x86_64.rpm: Error 500Error Message:
    Package upload failed: [Errno 13] Permission denied: '/var/satellite/redhat/1/3fc/libsoup'
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server (500)
1


In my initial run, permission was denied to "/var/satellite/redhat/1". 

I created the directory called 1, set it's ownership to apache:apache and permissions to 755.

After that the permission was denited to "/var/satellite/redhat/1/3fc".

I created the directory called 3fc, set it's ownership to apache:apache and permissions to 755.

At this point it appears that rhnpush is having trouble creating directories even though permissions are correct.

As
 a test I did a su - apache and was able to create a directory under 
"/var/satellite/redhat/1" without problems, so I'm not sure why they 
can't be created via
 rhnpush.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20101019/19b814d1/attachment.htm>


More information about the Spacewalk-list mailing list