Hi! I've update the Nagios version from 3.0b5 to 3.0.1 stable. But re-scheduling a new check for a service I get:
------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- sparky:/usr/local/nagios/var/rw# ll total 0 prw-rw---- 1 nagios nagios 0 2008-05-18 10:38 nagios.cmd sparky:/usr/local/nagios/var/rw# id nagios uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd) sparky:/usr/local/nagios/var/rw# id www-data uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(nagcmd) The permissions are according to Ubuntu Quickstart. Changing the group of nagios.cmd to nagcmd I get rid of the problem. But restarting Nagios, the nagios.cmd permissions are reset to nagios:nagios. What can be the problem? Tnaks in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ 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