problems with nagios.cmd and apache 2.0.5 & above

Marc Powell marc at ena.com
Thu Sep 1 19:31:56 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Drew Cullis
> Sent: Thursday, September 01, 2005 9:52 AM
> To: Nagios-users; Drew (Work)
> Subject: [Nagios-users] problems with nagios.cmd and apache 2.0.5 &
above
> 
> Greetings all;
> I am in the process of upgrading our development server along with
> Nagios and am running into  a problem getting nagios to work with
> Apache.  I am running Red Hat Enterprise Server
> which has Apache 2.0.52 by default. I found this post from last year
but
> it doesn't look like there was resolution to his problem, which is the
> same as mine.
> 
> https://sourceforge.net/mailarchive/message.php?msg_id=10405076
> 
> For your dining and dancing pleasure, here is the error that is
> generated when you try to run an external command.
> 
> 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
> 
> Nagios does work like a charm on my workstation running Apache 2.0.46,
> no issues whatsoever straight out of the box. It looks like the issue
is
> with Apache 2.0.5 and above.

IMHO, it would be surprising if this were an apache issue. Have you
thoroughly eliminated SELinux permission as a potential cause and
verified permissions on nagios.cmd and the directories above it? Do you
find references to nagios.cmd in /var/log/messages? Does the apache
error_log provide any additional information?

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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