Command File Problem

Marc Powell mpowell at ena.com
Tue Oct 21 00:37:08 CEST 2003


Hey Sascha --

2 things, the first being most likely.

1) did you restart apache after adding it to the nagioscmd group?

2) are there any directories above nagios.cmd that are not +rx for the nagioscmd group?


--
Marc

-----Original Message-----
From: Sascha Teifke <sascha at teifke.de>
To: nagios-users at lists.sourceforge.net <nagios-users at lists.sourceforge.net>
Sent: Mon Oct 20 14:51:12 2003
Subject: [Nagios-users] Command File Problem

Hello List,

I've got a problem using the cmd-execution feature.

If I try to schedule a downtime for a host the following Error occurs:


== snip ==
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' 
for update!

The permissions on the external command file and/or directory may be 
incorrect. Read the FAQs on how to setup proper permissions.

An error occurred while attempting to commit your command for processing.
== snap ==

But, I set the rights as descriped in the FAQ.

My Nagios User: 	nagios
My Apache-User:		wwwrun
My Nagios-CMD Group:	nagiocmd

Users of nagiocmd:	nagios, wwwrun

Rights of the Directory /usr/local/nagios/var/rw

drwxrws___   2 nagios    nagiocmd       80  Oct 20 21:34 rw/

Any Ideas?

Thanks

Sascha







-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031020/3e398486/attachment.html>


More information about the Users mailing list