<!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>RE: [Nagios-users] Issue w/External Commands</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>drwxrwS--- 2 nagios nagiocmd 4096 Feb 18 00:30 /usr/local/nagios/var/rw</FONT>
</P>
<P><FONT SIZE=2>root 834 1 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 883 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 884 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 885 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 886 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 887 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 888 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 889 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
<BR><FONT SIZE=2>apache 890 834 0 00:30 ? 00:00:00 /usr/sbin/httpd</FONT>
</P>
<P><FONT SIZE=2>[root@johnny5 var]# groups apache</FONT>
<BR><FONT SIZE=2>apache : apache nagiocmd</FONT>
<BR><FONT SIZE=2>[root@johnny5 var]# groups nagios</FONT>
<BR><FONT SIZE=2>nagios : nagios nagiocmd</FONT>
</P>
<P><FONT SIZE=2>Pretty standard RH8 install. Httpd installed during OS build.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Rasmus Plewe [<A HREF="mailto:rplewe@hpce.nec.com">mailto:rplewe@hpce.nec.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, February 18, 2003 3:00 AM</FONT>
<BR><FONT SIZE=2>To: Nagios users list</FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] Issue w/External Commands</FONT>
</P>
<BR>
<P><FONT SIZE=2>On Tue, Feb 18, 2003 at 12:04:36AM -0600, Daniel Jimenez wrote:</FONT>
<BR><FONT SIZE=2>> On Mon, 17 Feb 2003, Daniel Jimenez wrote:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > My problem is that whenever I go to add host/service comments I'm</FONT>
<BR><FONT SIZE=2>> > returned w/</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Error: Could not stat() command file</FONT>
<BR><FONT SIZE=2>> '/usr/local/nagios/var/rw/nagios.cmd'!</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Anyone have any insight?</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Daniel Jimenez</FONT>
</P>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Subhendu Ghosh [[1]<A HREF="mailto:sghosh@sghosh.org">mailto:sghosh@sghosh.org</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Monday, February 17, 2003 11:37 PM</FONT>
<BR><FONT SIZE=2>> To: 'nagios-users@lists.sourceforge.net'</FONT>
<BR><FONT SIZE=2>> Subject: Re: [Nagios-users] Issue w/External Commands</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> <A HREF="http://www.nagios.org/faqs/viewfaq.php?faq_id=58&expand=false&showdesc=true" TARGET="_blank">http://www.nagios.org/faqs/viewfaq.php?faq_id=58&expand=false&showdesc=true</A></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Subhendu,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> These are actually the steps I followed to set this up. I've gone over</FONT>
<BR><FONT SIZE=2>> the steps at least twenty times and find no mistakes.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Daniel</FONT>
</P>
<BR>
<P><FONT SIZE=2>Excuse my disbelief, but with unixoide operating systems I still think</FONT>
<BR><FONT SIZE=2>that if you do something right, it will work.</FONT>
<BR><FONT SIZE=2>Could you please post the output of:</FONT>
</P>
<P><FONT SIZE=2>ls -ld /usr/local/nagios/var/rw </FONT>
</P>
<P><FONT SIZE=2>ps -ef | grep httpd</FONT>
</P>
<P><FONT SIZE=2>grep <user obtained from previous command> /etc/group</FONT>
</P>
<BR>
<P><FONT SIZE=2>Please try to avoid mailing in HTML. At least on this list. </FONT>
</P>
<BR>
<P><FONT SIZE=2>Rasmus</FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>In the beginning was The Word and The Word was </FONT>
<BR><FONT SIZE=2>Content-type: text/plain </FONT>
</P>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This sf.net email is sponsored by:ThinkGeek</FONT>
<BR><FONT SIZE=2>Welcome to geek heaven.</FONT>
<BR><FONT SIZE=2><A HREF="http://thinkgeek.com/sf" TARGET="_blank">http://thinkgeek.com/sf</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>
</BODY>
</HTML>