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

Daniel Bareiro daniel-listas at gmx.net
Thu May 22 03:15:34 CEST 2008


On Sunday, 18 May 2008 22:53:03 -0500,
Marc Powell wrote:

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

I liked this simpleness. But after restarting the Nagios server, this
doesn't work :-(

Thanks for your reply.

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080521/04d76bca/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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