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.omah...@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:
>
>
>
> [r...@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@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
>
------------------------------------------------------------------------------
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@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