Command File error
Marc Powell
marc at ena.com
Wed Jul 12 03:39:19 CEST 2006
And restarted the web server presumably. That leaves 2 likely
possibilities:
- one or more of the directories above rw/ are not accessible by
your web server user or
- you have SELinux enabled and have not allowed http permissions
by policy. You can use 'audit2allow -l -i /var/log/messages' to see if
that's the case.
I don't use SELinux so I can't provide you with a specific policy.
--
Marc
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Israel Brewster
> Sent: Tuesday, July 11, 2006 6:43 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Command File error
>
> Yes, the nagios.cmd file is automatically created when I start
> nagios. The file does have read and write permissions for the nagcmd
> group, and I have added the webserver to said group.
>
> Israel
>
> On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote:
>
> > On Tue, 11 Jul 2006, Israel Brewster wrote:
> >
> >> Whenever I try to run a command from the nagios CGI's, I get an
error
> >> saying:
> >>
> >> 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.
> >>
> >> An error occurred while attempting to commit your command for
> >> processing.
> >>
> >> I have read through the documentation, and checked the permissions
on
> >> the command directory both manually and by sing the make install-
> >> commandmode command. I have also verified that both my webserver
and
> >> the nagios process user are in the group that owns the command
> >> directory. I still get the error though. Can anyone shed some light
> >> on this for me? Thanks.
> >
> > How about the nagios.cmd file? Is it there?
> >
> > Are the permissions set so that the webserver user can get to it?
>
>
>
>
------------------------------------------------------------------------
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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