Thank you Yong Lee, That's exactly the command that solved the problem.<br><br>MFC<br><br><div><span class="gmail_quote">On 6/23/06, <b class="gmail_sendername">Yong Lee</b> <<a href="mailto:ylee@eqo.com">ylee@eqo.com</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;">Use the command :<br><br>ls -laZ to check on the context of the file (probably
<br>/var/log/nagios/objects.cache<br><br>I've got mine set to : user_u:object_r:httpd_sys_content_t<br><br>you can set it using :<br><br>chcon user_u:object_r:httpd_sys_content_t <file path><br><br><br>-----Original Message-----
<br>From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net
</a>] On Behalf Of Chris<br>Stankaitis<br>Sent: June 23, 2006 7:58 AM<br>To: Miguel Fernandes<br>Cc: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Subject: SPAM Possible: Re: [Nagios-users] SELinux blocking nagios' cgis on
<br>FC5<br><br>SPAM: --------------------  Anti-Spam Report ----------------------<br>SPAM:<br>SPAM: YES, score=8.8 threshold=7.2<br>SPAM:<br>SPAM: Hit! DCC             (  0.0 pts) [Distributed Checksum Score]<br>SPAM: Hit! REFERENCES      ( -
0.2 pts)['References' matched '/.+/']<br>SPAM: Hit! SPFFAIL         (  9.0 pts)['Received-SPF' matched '/^fail /']<br>SPAM: ----------------- End of Anti-Spam Report -------------------<br><br><br>>     audit(1151073510.912
:1650): avc:  denied  { read } for  pid=7942<br>>     comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630<br>>     scontext=root:system_r:httpd_sys_script_t:s0<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file
<br>>     audit(1151073601.054:1651): avc:  denied  { read } for  pid=7999<br>>     comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630<br>>     scontext=root:system_r:httpd_sys_script_t:s0
<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file<br>>     audit(1151073696.660:1652): avc:  denied  { read } for  pid=8037<br>>     comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630
<br>>     scontext=root:system_r:httpd_sys_script_t:s0<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file<br>>     audit(1151073787.393:1653): avc:  denied  { read } for  pid=8067<br>>     comm="status.cgi
" name="objects.cache" dev=dm-0 ino=98630<br>>     scontext=root:system_r:httpd_sys_script_t:s0<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file<br>>     audit(1151073877.523:1654): avc:  denied  { read } for  pid=8108
<br>>     comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630<br>>     scontext=root:system_r:httpd_sys_script_t:s0<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file<br>>     audit(
1151073967.653:1655): avc:  denied  { read } for  pid=8203<br>>     comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630<br>>     scontext=root:system_r:httpd_sys_script_t:s0<br>>     tcontext=root:object_r:var_log_t:s0 tclass=file
<br>><br>><br><br>what's the context on /var/log/nagios... I am no expert but it looks<br>like status.cgi is not allowed (by SELinux) to read the objects.cache<br><br>--Chris<br><br>Using Tomcat but need to do more? Need to support web services, security?
<br>Get stuff done quickly with pre-integrated technology to make your job<br>easier<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting
<br>any issue.<br><br></blockquote></div><br>