<div dir="ltr">On Mon, Sep 15, 2008 at 12:24 PM, Julie <span dir="ltr"><<a href="mailto:islandjewel@gmail.com">islandjewel@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Everyone here has been great about helping me on my previous problem - and now I have a new one.<br><br>I have read the FAQ and recreated the file and check permissions several times, but no matter what I do I can't get past:<br>

<br><div style="color: rgb(255, 0, 0);"><i>Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!</i></div>
<div style="color: rgb(255, 0, 0);"><i>The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
</i></div>
<i style="color: rgb(255, 0, 0);">An error occurred while attempting to commit your command for processing.</i><br><br>I should explain - I rebuilt nagios on a new system and then rsync'ed key config files. I was moving from 32 bit to 64 bit and wanted to recompile everything with 64 bit libraries. <br>

<br>At first I thought the rsync caused some problems. So following the FAQ - I deleted /usr/local/nagios/var/rw and recreated. <br><br>drwxrwsr-x 2 nagios nagios   4096 Sep 14 08:44 rw<br>prw-rw---- 1 nagios nagios 0 Sep 14 08:44 nagios.cmd<br>

<br><br>and both the user and group that runs nagios is nagios. I added apache to the nagios group. Bust still the error occurs. I have restarted and rebooted. I do have selinux running, but even tried "permissive" to see if that was the problem. I also ran<br>

<br>chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/<br>chcon -R -t httpd_sys_content_t /usr/local/nagios/share/<br>chcon -R -t httpd_sys_content_t /usr/local/nagios/var<br><br>and still no luck.<br><br>Help?!<br>
~J~<br>
</div>
</blockquote></div><br>What are the following values set to in nagios.cfg:<br><br>check_external_commands<br>command_check_interval<br>command_file<br><br>Thanks,<br>Terry<br><i><br></i></div>