CGI error in 2.0b4 & 2.0b5

Deborah Martin Deborah.Martin at Kognitio.com
Wed Nov 23 15:52:02 CET 2005


Actually, just looking at my 2.0b4 build directory under sample-config and
nagios.cfg 
states 

log_file=@localstatedir@/nagios.log

so i don't think that can be the issue. 

regards,
deborah 
-----Original Message-----
From: Ton Voon [mailto:ton.voon at altinity.com]
Sent: 23 November 2005 14:44
To: Nagios Users
Subject: Re: [Nagios-users] CGI error in 2.0b4 & 2.0b5



On 23 Nov 2005, at 13:49, Marcel Mitsuto Fucatu Sugano wrote:

> On Tue, 2005-11-22 at 11:47 +0100, Hans Veneman wrote:
>> In about 3% of the requests (for any of the cgi's) they give an
>> internal server error.
>
> Same here.
>
> Not tried within all cgis, but status.cgi gives me this error  
> sometimes.
> Not sure if it is about 3% of time, but i've seen this error before.
> SuSE9.3, x86, with practically the same configure options.

I've got a small Nagios 2.0b5 installation I am playing with, but  
haven't come across this.

I've run a small loop to hammer the status.cgi but no errors after  
1000 iterations:

cd /usr/local/nagios/sbin
i=0; while [[ $i -lt 1000 ]] ; do REQUEST_METHOD=GET  
REMOTE_USER=admin ./status.cgi > /dev/null; if [[ $? -ne 0 ]] ; then  
echo "Error"; break; fi; let i=$i+1; done

I'm running on Debian 2.6.8-2-386.

I notice that the error Hans got from the strace was for nagios.log.  
However, the sample configuration file for Nagios 2.0b5 has  
status_file=nagios.dat (used to be status.log). Could you be using a  
Nagios 1 config file for a Nagios 2 install?

Ton


http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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 email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly 
prohibited.

Whilst Kognitio Limited takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused.
***********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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