could not open command file for update

Shirley shirley at origamipartners.com
Thu Oct 30 07:03:20 CET 2003


aside from directory permissions being wrong, is there any other reason
nagios would start to report

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

for any external command attempts? i've looked through the faqs and the
only searchable archive i could find, and aside from directory problems,
someone reported seeing the problem one night and then having it disappear
by morning.

initially i did not change any permissions while i was updating cfg files.
after restarting nagios to watch the changes take affect, i tried to
restart again via the web interface and i started getting first 'could not
stat()' errors and after i did all sorts of variations of
permissions/ownership on the var/rw/ directory, now i get the 'could not
open' with the most permissive options set on that dir. i have restarted
apache after every permissions change, btw and restarted nagios process as
well several times. external commands are enabled and the right directory
is referenced in the main cfg

what else can i check? 

thanks for any help



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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