Alright,<div><br></div><div>The problem was that the directory /var/satellite/redhat is accessed by tomcat user too. So I changed the group from root to apache as follows:</div><div><br></div><div>From:</div><div>drwxr-x--- 3 apache root 4096 Jan 23 18:40 /var/satellite/redhat/</div>

<div><br></div><div>To:<br><div>drwxr-x--- 3 apache apache 4096 Jan 23 18:40 /var/satellite/redhat/</div><div><br></div><div>Because:</div><div><div># grep apache /etc/group</div><div>apache:x:00000:tomcat</div></div><div>

<br></div><div>Thanks,</div><div>Nilton Moura.</div><br><div class="gmail_quote">2012/1/24 Nilton Moura <span dir="ltr"><<a href="mailto:redhat@nmoura.eti.br">redhat@nmoura.eti.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Yes Michael,<div><br></div><div>The file is readable/accessible by apache and SELinux is disabled, so (I searched too) there isn't AVC errors in audit.log.</div><div><br></div><div>I tried to reconfigure Spacewalk 2x (spacewalk-setup), clearing the schema, checking file permissions and log, but the error continues.</div>



<div><br></div><div>Thanks,</div><div>Nilton.<div><div class="h5"><br><br><div class="gmail_quote">2012/1/24 Michael Mraka <span dir="ltr"><<a href="mailto:michael.mraka@redhat.com" target="_blank">michael.mraka@redhat.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nilton Moura wrote:<br>
% Hi everybody.<br>
%<br>
% I recently install SW 1.6 on a RHEL 6.2, and when I upload a package or<br>
<div>% sync a repo, whatever, the GUI shows "Missing file", but the path is<br>
% correct and the file is there.<br>
</div>%<br>
% File System Path:<br>
% redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm<br>
% Download: Missing File: anacron-2.3-45.el5.centos.x86_64.rpm<br>
%<br>
% # pwd<br>
% /var/satellite<br>
% # ls -l<br>
% redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm<br>
% -rw-r--r-- 1 apache apache 37345 Jan 23 18:40<br>
% redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm<br>
%<br>
% spacewalk-data-fsck didn't show me anything:<br>
%<br>
% # spacewalk-data-fsck<br>
% # echo $?<br>
% 0<br>
%<br>
% I searched but I could not find anything suspicious in the /var/log/rhn/*<br>
% and /var/log/httpd/*.<br>
%<br>
% Does anyone have some idea?<br>
<br>
Is the file readable / accessible by apache?<br>
SELinux? Any AVC errors in /var/log/audit/audit.log?<br>
<br>
% Thanks,<br>
% Nilton Moura.<br>
<br>
<br>
Regards,<br>
<span><font color="#888888"><br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>