Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'

Phil Cotching pcotching at realmedia.com
Tue Sep 10 11:17:03 CEST 2002


I think you just need to create the rw dir by hand (dont forget to set
permissions).

On Tue, 10 Sep 2002 11:06:31 +0200
Freddy Frouin <freddy.frouin at fluxus.net> wrote:

> Do the access rights be ok on:
> /usr
> /usr/local
> /usr/local/nagios
> /usr/local/nagios/var
> /usr/local/nagios/var/rw
> to allow the web user to enter in this directory architecture ?
> 
> [I've done a test on my linux, it could be the reason why the web user
> could'nt access to the file if one of the directory do not allow him
> to entered in it, even if the file has the good rights...]
> 
> Freddy.
> 
> On Tue, 10 Sep 2002 10:55:47 +0200
> "Bart Molendijk" <bartm at q-go.com> wrote:
> 
> > hello everyone,
> > 
> > when i try to reschedule a sevice check i get the message:
> > 
> > "Error: Could not stat() command file
> > '/usr/local/nagios/var/rw/nagios.cmd'!
> > 
> > The external command file may be missing, Nagios may not be running,
> > and/or Nagios may not be checking external commands.
> > 
> > An error occurred while attempting to commit your command for
> > processing."
> > 
> > I have nagios running & gave the /usr/local/nagios/var/rw/nagios.cmd
> > the right permissions & made a group nagios.cmd to wich i added
> > users nobody,appache  and nagios, as described in the documentation.
> > everything is running propperly only this is a problem.
> > 
> > Tanx for the help
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -- 
> Freddy Frouin
> Responsable Supervision
> Fluxus - British Telecom
> 30, rue du Château des Rentiers
> 75013 Paris
> 
> Tél: +33 (0)1 44 97 70 00
> Fax: +33 (0)1 44 97 70 07
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list