From: Ben C. <BCl...@pe...> - 2004-11-03 15:56:43
|
Joe, The place I would start, if others members have not answered already: 1. su to your httpd user. Eg, $ su apache Really important to do all testing as the httpd user. 2. Set an environment variable: $ export QUERY_STRING=3D"?select_host=3D1" 3. run the code: $ /usr/local/nagios/sbin/perfparse.cgi Let us know. Regards, Ben. Marr, Joe wrote: > Hi All, >=20 > =20 >=20 > I=92m trying to install the software for the first time, using the meth= od 2. >=20 > =20 >=20 > When I try to launch the CGI using the standard link=20 > (http://server.domain.com/nagios/cgi-bin/perfgraph.cgi?all_bin=3D1) or = any=20 > link other then http://server.domain.com/nagios/cgi-bin/perfgraph.cgi I= =20 > get this error. >=20 >=20 > *Server error!* >=20 > The server encountered an internal error and was unable to complete you= r=20 > request. >=20 > Error message: > malformed header from script. Bad header=3Dperfgraph.cgi: perfgraph.cgi >=20 > If you think this is a server error, please contact the webmaster=20 > <mailto:root@localhost> >=20 >=20 > *Error 500* >=20 > =20 >=20 > I see that there was someone else with issue in the forums, but I tried= =20 > the things Ben suggested. Does anyone know what this error is about? >=20 > =20 >=20 > Joe Marr >=20 > =20 >=20 |