Cannot open command file for update

Brian O'Mahony brian.omahony at curamsoftware.com
Wed Jul 14 13:50:38 CEST 2010


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.

I did however recently do a restore of the machine (I restored an old copy of the VM and then copied over the backup data).


When I change the permissions, next time I click commit, it goes back to being un-openable:

[root at nagios servers]# ls -al /usr/local/nagios/var/r*

/usr/local/nagios/var/rw:
total 2
drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .
drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..
prw-rw---- 1 nagios nagios    0 Jul 14 12:40 nagios.cmd

B


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100714/1ae724c5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- 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