<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Command File Problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hey Sascha --<BR>
<BR>
2 things, the first being most likely.<BR>
<BR>
1) did you restart apache after adding it to the nagioscmd group?<BR>
<BR>
2) are there any directories above nagios.cmd that are not +rx for the nagioscmd group?<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
-----Original Message-----<BR>
From: Sascha Teifke <sascha@teifke.de><BR>
To: nagios-users@lists.sourceforge.net <nagios-users@lists.sourceforge.net><BR>
Sent: Mon Oct 20 14:51:12 2003<BR>
Subject: [Nagios-users] Command File Problem<BR>
<BR>
Hello List,<BR>
<BR>
I've got a problem using the cmd-execution feature.<BR>
<BR>
If I try to schedule a downtime for a host the following Error occurs:<BR>
<BR>
<BR>
== snip ==<BR>
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'<BR>
for update!<BR>
<BR>
The permissions on the external command file and/or directory may be<BR>
incorrect. Read the FAQs on how to setup proper permissions.<BR>
<BR>
An error occurred while attempting to commit your command for processing.<BR>
== snap ==<BR>
<BR>
But, I set the rights as descriped in the FAQ.<BR>
<BR>
My Nagios User: nagios<BR>
My Apache-User: wwwrun<BR>
My Nagios-CMD Group: nagiocmd<BR>
<BR>
Users of nagiocmd: nagios, wwwrun<BR>
<BR>
Rights of the Directory /usr/local/nagios/var/rw<BR>
<BR>
drwxrws___ 2 nagios nagiocmd 80 Oct 20 21:34 rw/<BR>
<BR>
Any Ideas?<BR>
<BR>
Thanks<BR>
<BR>
Sascha<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This SF.net email is sponsored by OSDN developer relations<BR>
Here's your chance to show off your extensive product knowledge<BR>
We want to know what you know. Tell us and you have a chance to win $100<BR>
<A HREF="http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54">http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<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 any issue.<BR>
::: Messages without supporting info will risk being sent to /dev/null<BR>
</FONT>
</P>
</BODY>
</HTML>