nagios.cmd command failure

Patrick Morris patrick.morris at hp.com
Thu Jan 3 03:34:58 CET 2008


On Thu, 03 Jan 2008, Nate Tompkins wrote:

> When trying to update anything on the website i get this error message:
> 
> 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.
> 
> Return from whence you came<javascript:window.history.go(-2)>
> 
> I have tried everything with the permissions, restarted the service and web service.. From what i read the nagios.cmd is made upon start up. Is there away to create a new nagios.cmd or copy and past one in?

Nope... though the good news is that if the permissions on
/usr/local/nagios/var/rw are correct, Nagios *will* create the pipe for
you when it starts.

You just need to make sure that the file it creates is writeable by the
user your webserver runs as. If it's not, chances are you compiled
Nagios yourself and used incorrect configure flags for how your
webserver is configured.  At that point your options are to either
recompile with the correct flags, or to modify the user your webserver
runs as so that it has write privileges to that file.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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