From: Bertinelli M. <Ber...@an...> - 2004-11-04 10:18:49
|
Ben, do you remember of me? :) I have one question about this problem: when I lunch ./configure with the standard parameters I receive a = warning about gdlib-config dir , possibile that this is the problem? I think no....but I'm very tired because i don't understand where is = the problem. Also for me the version 0.100.7 work fine other version don't work=20 (0.101.1 - 0.103.1). I hope in your great support. Reguards Massimo Bertinelli =20 -----Messaggio originale----- Da: Ben Clewett [mailto:BCl...@pe...]=20 Inviato: gioved=EC 4 novembre 2004 9.04 A: Marr, Joe Cc: per...@li... Oggetto: Re: [Perfparse-users] Help..... Hi Joe, I am glad you got it to work. The only think I can think of is that=20 your browser was aggressively caching the page response. Therefore=20 although you fixed the problem by doing something to the perfparse.cfg, = this was not reflected in your browser which was showing you the cached = copy of the 'Bad script header'. By replacing the file, you change the = timestamp of the file, which is enough to flush the cache. You may = want=20 to look at the cache settings of your browser and/or proxy server and = see... Any more issues, please let me know. Regards, Ben. Marr, Joe wrote: > When I install and use version 0.100.7 everything works..... >=20 >=20 > Does that help at all? >=20 > Joe Marr >=20 > -----Original Message----- > From: Ben Clewett [mailto:BCl...@pe...]=20 > Sent: Wednesday, November 03, 2004 11:36 AM > To: Marr, Joe > Cc: Ben Clewett; per...@li... > Subject: Re: [Perfparse-users] Help..... >=20 > OOps, I gave you the wrong name. 'perfgraph.cgi' is what you = correctly=20 > guessed. >=20 > But this is very odd. What you just did is effectively what Apache=20 > does. It should have produced the HTML starting from the <HTML> tag. = I >=20 > can see your database being correctly queried with valid data being=20 > returned. All be it without the closing </body></html> but this is = not=20 > because the program is in error. >=20 > I will have to think about this.... >=20 > Ben >=20 >=20 > Marr, Joe wrote: >=20 >=20 >>I don't have a perfparse.cgi. but (weird) perfgraph.cgi displays = data. >> >>[root@excedrin sbin]# su apache >>[apache@excedrin sbin]$ sh >>sh-2.05b$ export QUERY_STRING=3D"?select_host=3D1" >>sh-2.05b$ ./perfg >>perfgant.png perfgraph.cgi =20 >>sh-2.05b$ ./perfgraph.cgi=20 >>Expires: Sun, 02 Jan 2000 01:01:01 GMT >>content-type: text/html >> >><HTML> >><HEAD> >><TITLE> >>PerfParse</TITLE> >><BODY BGcolor=3D"#EEFFFF" TEXT=3D"#000000" LINK=3D"#000000" = VLINK=3D"#000000" >>ALINK=3D"#000000"> >><p align=3Dcenter> >><table width=3D600 border=3D1 cellpadding=3D5 cellspacing=3D0 >>bgcolor=3D"#CCCCCC"><tr><td> >> <table width=3D"100%" border=3D0 cellpadding=3D0 cellspacing=3D0> >> <tr> >> <td width=3D60><img src=3D"/nagios/images/perfparse-logo-sm.png" >>border=3D0></td> >> <td align=3Dcenter><font face=3D"Arial, Helvetica" size=3D2> >> <b>Select Host to Graph</b><br> >> <a href=3D"perfgraph.cgi">Click to return to main menu.</a> >> </td> >> <td width=3D60 align=3Dright><font face=3D"Arial, Helvetica" >>size=3D1>v0.103.1</td> >> </tr> >> </table> >></td></tr></table></p> >><p align=3Dcenter> >><table width=3D600 border=3D1 cellpadding=3D5 cellspacing=3D0 >>bgcolor=3D"#CCCCCC"><tr><td> >> <table width=3D"100%" border=3D0 cellpadding=3D0 cellspacing=3D0> >> <tr> >> <td align=3Dcenter> >><font face=3D"Arial, Helvetica" = size=3D2><b>Group:</b> Unassigned >><table width=3D"100%" border=3D1 cellpadding=3D5 cellspacing=3D0 >>bgcolor=3D"#FFFFFF"><td><font face=3D"Arial, Helvetica" size=3D2> >><nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Darchprint">archprint= </a></ >=20 >>nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbooksrs6000%2D2">boo= ksrs60 >=20 >>00-2</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">bro= dart-c >=20 >>or01</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">bro= dart-c >=20 >>or03</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">bro= dart-c >=20 >>or04</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">bro= dart-f >=20 >>rw01</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">bro= dart-g >=20 >>wy01</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">bro= dart-s >=20 >>wt01</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">bro= dart-s >=20 >>wt03</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">bro= dart-s >=20 >>wt04</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">bro= dart-s >=20 >>wt05</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">bro= dart-s >=20 >>wt06</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">bro= dart-s >=20 >>wt07</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0201">= brodar >=20 >>t-vlan0201</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0301">= brodar >=20 >>t-vlan0301</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0302">= brodar >=20 >>t-vlan0302</a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc8">dc8</a></nobr>&= nbsp;& >=20 >>nbsp;<nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>&= nbsp;& >=20 >>nbsp;<nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dexcedrin">excedrin</= a></no >=20 >>br> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dgatekeeper">gatekeep= er</a> >=20 >></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dinternet">internet</= a></no >=20 >>br> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ditwebapps">itwebapps= </a></ >=20 >>nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver">mailserv= er</a> >=20 >></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailser= ver2</ >=20 >>a></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>&= nbsp;& >=20 >>nbsp;<nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>&= nbsp;& >=20 >>nbsp;<nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D0">serial0= -0</a> >=20 >></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D1">serial0= -1</a> >=20 >></nobr> <nobr><a >> >=20 > = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dsmtp">smtp</a></nobr= >  >=20 >>; </td></tr></table> >> </td> >> </tr> >> </table> >></td></tr></table></p> >> >>Joe Marr >> >>-----Original Message----- >>From: Ben Clewett [mailto:BCl...@pe...]=20 >>Sent: Wednesday, November 03, 2004 10:56 AM >>To: Marr, Joe >>Cc: per...@li... >>Subject: Re: [Perfparse-users] Help..... >> >>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, >>> >>> >>> >>>I'm trying to install the software for the first time, using the >> >>method 2. >> >> >>> >>>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. >>> >>> >>> *Server error!* >>> >>>The server encountered an internal error and was unable to complete >> >>your=20 >> >> >>>request. >>> >>>Error message: >>>malformed header from script. Bad header=3Dperfgraph.cgi: = perfgraph.cgi >>> >>>If you think this is a server error, please contact the webmaster=20 >>><mailto:root@localhost> >>> >>> >>> *Error 500* >>> >>> >>> >>>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? >>> >>> >>> >>>Joe Marr >>> >>> >>> >> >> >> >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=CCk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dclick _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |