Internal Server Error on Nagios 2.0

Marc Powell marc at ena.com
Tue Feb 21 17:52:56 CET 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Pete Shelfo
> Sent: Tuesday, February 21, 2006 10:10 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Internal Server Error on Nagios 2.0
> 
> I recently tried to fire up a new Nagios server running on RedHat 4
> Enterprise (fully patched).  Everything works fine, pre-flight passed,
> http is correct, web page displays; however, whenever I access a CGI
link
> on the left hand page I get the following error:
> 
> 
> "Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> Please contact the server administrator, root at localhost and inform
them of
> the time the error occurred, and anything you might have done that may
> have caused the error.
> More information about this error may be available in the server error
> log.
> 

[chop]

> My http config error log displays the following:
> 
> 
> Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of
> script headers: status
> 
> 
> .cgi, referer: http://servername/nagios//side.html
> <http://servername/nagios/side.html>
> 
> 
> I am currently running Nagios version 1.1 with no issues.  This really
> looks like an incompatibility with Apache or CGI or something?  Anyone
> have any ideas - I am flat out?

I would expect Apache to be providing more useful information in the
error_logs. At any rate, do you have SELinux enabled? Have you verified
that you are not experiencing restrictions based on that. I would also
try running status.cgi from the command line as a non-root user to see
if you experience any errors that way. It's not a perfect test but it
may provide some insight. I doubt it's a compatibility issue. Probably
SELinux or some library that isn't where it's expected. Were the CGI's
compiled on this machine? You might try running 'ldd status.cgi' and
make sure that the libraries are where they're expected and readable by
your apache user.

--
Marc 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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