Command File Problem

Mickael Maddison mike at mbmwebcraft.com
Tue Oct 21 00:57:52 CEST 2003


Hello Sascha,

I had to add the apache user to the nagios group, then restart apache.

-- 
Take care,
 Mickael Maddison
 mailto:mike at mbmwebcraft.com
--

Monday, October 20, 2003, 12:51:12 PM, you wrote:
ST> Hello List,

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

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


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

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

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

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

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

ST> Users of nagiocmd:	nagios, wwwrun

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

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

ST> Any Ideas?

ST> Thanks

ST> Sascha







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




-------------------------------------------------------
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





More information about the Users mailing list