It worked!<br><br>I ran the following command:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">chcon -R system_u:object_r:httpd_sys_script_rw_t /var/log/nagios/
</blockquote><div><br>And it's working fine now. Thank you Chris and Jim for your help! <br><br>MFC<br></div><br><br><div><span class="gmail_quote">On 6/23/06, <b class="gmail_sendername">Chris Stankaitis</b> <<a href="mailto:chris.stankaitis@datawire.net">
chris.stankaitis@datawire.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Miguel Fernandes wrote:<br>><br>> These are the results:
<br>><br>> [root@localhost nagios]# ls --context /var/log/nagios/<br>> drwxr-xr-x nagios nagios system_u:object_r:var_log_t archives<br>> -rw-rw-r-- nagios nagios root:object_r:var_log_t
comments.dat<br>> -rw-rw-r-- nagios nagios root:object_r:var_log_t downtime.dat<br>> -rw-r--r-- nagios nagios root:object_r:var_log_t nagios.log<br>> -rw-r--r-- nagios nagios root:object_r:var_log_t
objects.cache<br>> -rw------- nagios nagios root:object_r:var_log_t<br>> retention.dat<br>> -rw-rw-r-- nagios nagios root:object_r:var_log_t status.dat<br>><br>><br>> MFC<br>><br>
<br>That seems to be it.. the webserver cannot read the objects.cache file.<br>try changing the context on it to httpd_sys_content_t.... if for some<br>reason if it or any other log needs RW access (like the comments.dat or
<br>downtime.dat etc) it may need httpd_sys_script_rw_t context.. you'll<br>have to do some trial and error to get it just right but it should get<br>you going.<br><br>--Chris<br></blockquote></div><br>