<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>List,</FONT>
</P>
<P><FONT SIZE=2>Randomly, I am unable to send commands to Nagios. It was working okay. When I do I get:</FONT>
</P>
<P><FONT SIZE=2>Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!</FONT>
</P>
<P><FONT SIZE=2>I have made no changes to the server, nor have others.</FONT>
</P>
<P><FONT SIZE=2>----</FONT>
</P>
<P><FONT SIZE=2>[root@johnny5 var]# ls -alsh </FONT>
<BR><FONT SIZE=2>total 52K</FONT>
<BR><FONT SIZE=2>4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:47 .</FONT>
<BR><FONT SIZE=2>4.0K drwxrwxr-x 7 nagios nagios 4.0K Apr 7 15:40 ..</FONT>
<BR><FONT SIZE=2>4.0K drwxrwxr-x 2 nagios nagios 4.0K Apr 22 00:00 archives</FONT>
<BR><FONT SIZE=2>4.0K -rw-rw-r-- 1 nagios nagios 1.1K Apr 22 18:35 comment.log</FONT>
<BR><FONT SIZE=2> 0 -rw-rw-r-- 1 nagios nagios 0 Apr 22 18:35 downtime.log</FONT>
<BR><FONT SIZE=2>4.0K -rw-r--r-- 1 root root 4 Apr 22 18:35 nagios.lock</FONT>
<BR><FONT SIZE=2> 12K -rw-rw-r-- 1 nagios nagios 8.8K Apr 22 18:35 nagios.log</FONT>
<BR><FONT SIZE=2>4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 rw</FONT>
<BR><FONT SIZE=2>8.0K -rw-rw-r-- 1 nagios nagios 5.6K Apr 22 18:47 status.log</FONT>
<BR><FONT SIZE=2>8.0K -rw-rw-r-- 1 nagios nagios 4.2K Apr 22 18:35 status.sav</FONT>
</P>
<P><FONT SIZE=2>---</FONT>
</P>
<P><FONT SIZE=2>[root@johnny5 rw]# ls -alsh</FONT>
<BR><FONT SIZE=2>total 8.0K</FONT>
<BR><FONT SIZE=2>4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 .</FONT>
<BR><FONT SIZE=2>4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:52 ..</FONT>
<BR><FONT SIZE=2> 0 prw-rw---- 1 nagios nagiocmd 0 Apr 22 18:35 nagios.cmd</FONT>
</P>
<BR>
<P><FONT SIZE=2>I'm not sure what the issue is, could anyone provide pointers? I've checked the FAQs and Docs, yet I see nothing that fixes the issue.</FONT></P>
<P><FONT SIZE=2>Daniel Jimenez</FONT>
<BR><FONT SIZE=2>Systems Administrator</FONT>
<BR><FONT SIZE=2>Avatar Computer Solutions, Inc. </FONT>
<BR><FONT SIZE=2>Network Support, Voice / Data Cabling, and Internet Services</FONT>
<BR><FONT SIZE=2>340 N. Sam Houston Parkway E. Suite #265</FONT>
<BR><FONT SIZE=2>Voice: 281.999.1300 / 888.503.0503</FONT>
<BR><FONT SIZE=2>Fax: 281.999.7070</FONT>
<BR><FONT SIZE=2>Web: www.avatar-cs.net</FONT>
</P>
</BODY>
</HTML>