Cannot open command file for update

Guy Waugh guidosh at gmail.com
Wed Jul 14 14:17:58 CEST 2010


Hi Brian,

On my system the /usr/local/nagios/var/rw directory has permissions
drwxrwsr-x. This is the only difference I can see between my system and
yours.

Regards,
Guy.

On 14 July 2010 12:50, Brian O'Mahony <brian.omahony at curamsoftware.com>wrote:

>  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.
>
>
>
> ------------------------------------------------------------------------------
> 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
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100714/fc852e29/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