Could not open commandfile '/usr/local/nagios/var/rw/nagios.cmd'

Marc Powell marc at ena.com
Mon May 19 05:53:03 CEST 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick
> Sent: Sunday, May 18, 2008 12:35 PM
> To: dbareiro at gmx.net; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Could not open commandfile
> '/usr/local/nagios/var/rw/nagios.cmd'
> 


> There are at least a couple ways to fix this. One would be to
recompile Nagios
> to use a group your webserver is a member of.  Another would be to set
the
> "rw" directory setgid www-data so new files created there have that as
their
> group. For that to work, the nagios user would also need to be a
member of
> www-data.

... or just set nagios_group in nagios.cfg to be nagcmd...

--
Marc 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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