From: Marr, J. <jm...@br...> - 2004-11-03 15:44:55
|
This my log for HTTPD. =20 [Wed Nov 03 10:42:37 2004] [error] [client 10.200.6.67] malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi, referer: http://excedrin.brodart.com/nagios/side.html [Wed Nov 03 10:42:48 2004] [error] [client 10.200.6.67] malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi, referer: http://excedrin.brodart.com/nagios/ [Wed Nov 03 10:42:58 2004] [error] [client 10.200.6.67] malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi [Wed Nov 03 10:43:10 2004] [error] [client 10.200.6.67] malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi, referer: http://excedrin.brodart.com/nagios/cgi-bin/perfgraph.cgi [Wed Nov 03 10:43:16 2004] [error] [client 10.200.6.67] malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi, referer: http://excedrin.brodart.com/nagios/cgi-bin/perfgraph.cgi =20 If I move the config file, I get..... =20 [Wed Nov 03 10:33:33 2004] [error] [client 10.200.6.67] Premature end of script headers: perfgraph.cgi, referer: http://excedrin.brodart.com/nagios/side.html [Wed Nov 03 10:33:33 2004] [error] [client 10.200.6.67] Error, can't open configuation file: "//usr/local/nagios//etc/perfparse.cfg", referer: http://excedrin.brodart.com/nagios/side.html =20 So Im going assume that its reading the config (althought the double "/" worries me) =20 Joe Marr ________________________________ From: Ferrill, James [mailto:jam...@NE...]=20 Sent: Wednesday, November 03, 2004 10:21 AM To: Marr, Joe; per...@li... Subject: RE: [Perfparse-users] Help..... =20 Joe, =20 I had a similar problem after upgrading from 0.100.6 to 0.103.1. Saw this in the /var/log/apache/error.log file: =20 Error, can't open configuation file: "//usr/local/nagios/etc/perfparse.cfg" [Wed Nov 3 09:10:21 2004] [error] [client 172.29.19.28] Premature end of script headers: /usr/local/nagios/sbin/perfgraph.cgi =20 chmod a+r /usr/local/nagios/etc/perfparse.cfg fixes it. =20 James Ferrill -----Original Message----- From: per...@li... [mailto:per...@li...]On Behalf Of Marr, Joe Sent: Wednesday, November 03, 2004 7:30 AM To: per...@li... Subject: [Perfparse-users] Help..... Hi All, =20 I'm trying to install the software for the first time, using the method 2. =20 When I try to launch the CGI using the standard link (http://server.domain.com/nagios/cgi-bin/perfgraph.cgi?all_bin=3D1) or = any link other then http://server.domain.com/nagios/cgi-bin/perfgraph.cgi I get this error. Server error! The server encountered an internal error and was unable to complete your request.=20 Error message:=20 malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi=20 If you think this is a server error, please contact the webmaster <mailto:root@localhost> =20 Error 500 =20 I see that there was someone else with issue in the forums, but I tried the things Ben suggested. Does anyone know what this error is about? =20 Joe Marr =20 |