Nagios command file not working

Marc Powell mpowell at ena.com
Wed May 7 17:04:34 CEST 2003


Permissions on /usr/local/nagios? Apache is a member of group
nagiosapache and _has been restarted_ since adding it to that group?

--
Marc

> -----Original Message-----
> From: Martens, Jason [mailto:jmartens at cityofevanston.org]
> Sent: Wednesday, May 07, 2003 9:45 AM
> To: nagios-users at lists.sourceforge.net
> 
> I've read the FAQ and set the permissions exactly as they asked, but
for
> some reason, nagios still can't open the file.  All of the links in
the
> web interface exist, but when I try to run a command, like force an
> update on a host, I get the following error message:
> 
> Error: Could not stat() command file
> '/usr/local/nagios/var/rw/nagios.cmd'!
> 
> The external command file may be missing, Nagios may not be running,
> and/or Nagios may not be checking external commands.
> 
> The permissions on the file are like so:
> 
> [root at testwebserver rw]# pwd
> /usr/local/nagios/var/rw
> [root at testwebserver rw]# ll
> total 0
> prw-rw----    1 nagios   nagiosapache        0 May  6 16:59 nagios.cmd
> 
> The permissions on the directory are like this:
> 
> [root at testwebserver var]# ll -d rw
> drwxrwS---    2 nagios   nagiosapache     4096 May  6 16:59 rw
> [root at testwebserver var]#
> 
> 
> Any thoughts?
> Jason
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise
solutions
> www.enterpriselinuxforum.com
> 
> _______________________________________________
> 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


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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