Benjamin Meier wrote: % Hello List, ... % 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) ... % [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
Correct permissions are: drwxr-xr-x. 22 root root 4096 Feb 18 03:34 /var drwxr-xr-x. 4 apache root 4096 Feb 18 05:09 /var/satellite drwxr-xr-x. 3 apache root 4096 Feb 18 04:35 /var/satellite/redhat You might also check /var/log/audit/audit.log for selinux AVC denial messages. % regards % % Ben Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list