Internal server error

Marc Powell marc at ena.com
Mon Dec 5 17:02:09 CET 2005


Try this (preferably as the apache user) --

$ bash
$ REQEUST_METHOD=GET
$ export REQUEST_METHOD
$ /usr/local/nagios/sbin/status.cgi

It looks like there may be some library missing or not where it's
supposed to be. Was nagios compiled on this machine? You can use 'ldd
/usr/local/nagios/sbin/status.cgi' and verify that the libraries exist
where they're expected. Additionally, if you have SELinux enabled, make
sure that's not causing any problems.

--
Marc


> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Charles Guimont
> Sent: Monday, December 05, 2005 9:48 AM
> To: jpratt at norwich.edu; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Internal server error
> 
> Hello, I forgot to say what was the error log in apache:
> 
> 
> [Mon Dec  5 10:46:05 2005] [error] [client ***] Premature end of
> script headers: /usr/local/nagios/sbin/status.cgi
> 
> 
> Charles
> 
> On 05-12-05, at 10:37, Jamie Pratt wrote:
> 
> > Hi. Did you modify your httpd.conf file like it says to below, and
> > then restart apache? I would check your apache access and error
> > logs as well for more clues...
> >
> > http://nagios.sourceforge.net/docs/2_0/installweb.html
> >
> > regards,
> > jamie
> >
> > --
> >
> >
> > Jamie Pratt
> > Unix Systems Administrator
> > Norwich University - Information Technology
> > http://www.norwich.edu
> > 1-802-485-2532
> >
> >
> >
> > Charles Guimont wrote:
> >> Hello,
> >> I have installed nagios. Since I installeed it, when I try to
> >> access the cgi using the web, I get an error of:
> >> *Internal Server Error*
> >> The server encountered an internal error or misconfiguration and
> >> was unable to complete your request.
> >> Please contact the server administrator, webmaster at rocq.qc.ca
> >> <mailto:webmaster at rocq.qc.ca> 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.
> >> Additionally, a 404 Not Found error was encountered while trying
> >> to use an ErrorDocument to handle the request.
> >> /Apache/1.3.34 Server at www.rocq.qc.ca <http://www.rocq.qc.ca>
> >> Port 80/
> >> I tryed to search the web to find some solutions without success.
> >> Is there something I could to to make it work?
> >> I tryed to recompile many times
> >> Thanks,
> >> Charles
> >
> >
> 
> 
> 
> -------------------------------------------------------
> 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> 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


-------------------------------------------------------
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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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