[Spacewalk-list] Missing file? (SW 1.6)

Nilton Moura redhat at nmoura.eti.br
Tue Jan 24 16:28:36 UTC 2012


Alright,

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:

From:
drwxr-x--- 3 apache root 4096 Jan 23 18:40 /var/satellite/redhat/

To:
drwxr-x--- 3 apache apache 4096 Jan 23 18:40 /var/satellite/redhat/

Because:
# grep apache /etc/group
apache:x:00000:tomcat

Thanks,
Nilton Moura.

2012/1/24 Nilton Moura <redhat at nmoura.eti.br>

> Yes Michael,
>
> The file is readable/accessible by apache and SELinux is disabled, so (I
> searched too) there isn't AVC errors in audit.log.
>
> I tried to reconfigure Spacewalk 2x (spacewalk-setup), clearing the
> schema, checking file permissions and log, but the error continues.
>
> Thanks,
> Nilton.
>
>
> 2012/1/24 Michael Mraka <michael.mraka at redhat.com>
>
>> Nilton Moura wrote:
>> % Hi everybody.
>> %
>> % I recently install SW 1.6 on a RHEL 6.2, and when I upload a package or
>> % sync a repo, whatever, the GUI shows "Missing file", but the path is
>> % correct and the file is there.
>> %
>> % File System Path:
>> %
>> redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm
>> % Download: Missing File: anacron-2.3-45.el5.centos.x86_64.rpm
>> %
>> % # pwd
>> % /var/satellite
>> % # ls -l
>> %
>> redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm
>> % -rw-r--r-- 1 apache apache 37345 Jan 23 18:40
>> %
>> redhat/1/2ab/anacron/2.3-45.el5.centos/x86_64/2ab8de0329b11d3bdf62a98ecea8e906/anacron-2.3-45.el5.centos.x86_64.rpm
>> %
>> % spacewalk-data-fsck didn't show me anything:
>> %
>> % # spacewalk-data-fsck
>> % # echo $?
>> % 0
>> %
>> % I searched but I could not find anything suspicious in the
>> /var/log/rhn/*
>> % and /var/log/httpd/*.
>> %
>> % Does anyone have some idea?
>>
>> Is the file readable / accessible by apache?
>> SELinux? Any AVC errors in /var/log/audit/audit.log?
>>
>> % Thanks,
>> % Nilton Moura.
>>
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> Satellite Engineering, Red Hat
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120124/7ed1ca2c/attachment.htm>


More information about the Spacewalk-list mailing list