From: Bertinelli M. <Ber...@an...> - 2004-11-04 11:52:18
|
Yves, thanks for your reply. Do you think that the version of gd 1.8.4-11 is good or must change immediatly? Massimo -----Messaggio originale----- Da: Yves Mettier [mailto:yme...@li...]=20 Inviato: gioved=EC 4 novembre 2004 11.50 A: per...@li... Oggetto: Re: R: [Perfparse-users] Help..... > 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? yes, it can be. Run "gdlib-config --cflags --libs" Does it answer something unexpected (including "gdlib-config : not = found") ? Don't hesitate to run ./configure = --with-gdlib_config_dir=3D/path/to/gd/bin > 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 > (0.101.1 - 0.103.1). yes, this can be an explanation : the configure script changed to use gdlib_config :) Yves > I hope in your great support. > Reguards > Massimo Bertinelli > > -----Messaggio originale----- > Da: Ben Clewett [mailto:BCl...@pe...] > 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 > your browser was aggressively caching the page response. Therefore > 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 > 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..... >> >> >> Does that help at all? >> >> Joe Marr >> >> -----Original Message----- >> From: Ben Clewett [mailto:BCl...@pe...] >> Sent: Wednesday, November 03, 2004 11:36 AM >> To: Marr, Joe >> Cc: Ben Clewett; per...@li... >> Subject: Re: [Perfparse-users] Help..... >> >> OOps, I gave you the wrong name. 'perfgraph.cgi' is what you = correctly >> guessed. >> >> But this is very odd. What you just did is effectively what Apache >> does. It should have produced the HTML starting from the <HTML> = tag. I >> >> can see your database being correctly queried with valid data being >> returned. All be it without the closing </body></html> but this is = not >> because the program is in error. >> >> I will have to think about this.... >> >> Ben >> >> >> Marr, Joe wrote: >> >> >>>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 >>>sh-2.05b$ ./perfgraph.cgi >>>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 >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Darchprint">archprint= </a></ >> >>>nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbooksrs6000%2D2">boo= ksrs60 >> >>>00-2</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">bro= dart-c >> >>>or01</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">bro= dart-c >> >>>or03</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">bro= dart-c >> >>>or04</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">bro= dart-f >> >>>rw01</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">bro= dart-g >> >>>wy01</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">bro= dart-s >> >>>wt01</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">bro= dart-s >> >>>wt03</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">bro= dart-s >> >>>wt04</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">bro= dart-s >> >>>wt05</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">bro= dart-s >> >>>wt06</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">bro= dart-s >> >>>wt07</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0201">= brodar >> >>>t-vlan0201</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0301">= brodar >> >>>t-vlan0301</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0302">= brodar >> >>>t-vlan0302</a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc8">dc8</a></nobr>&= nbsp;& >> >>>nbsp;<nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>&= nbsp;& >> >>>nbsp;<nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dexcedrin">excedrin</= a></no >> >>>br> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dgatekeeper">gatekeep= er</a> >> >>></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dinternet">internet</= a></no >> >>>br> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ditwebapps">itwebapps= </a></ >> >>>nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver">mailserv= er</a> >> >>></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailser= ver2</ >> >>>a></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>&= nbsp;& >> >>>nbsp;<nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>&= nbsp;& >> >>>nbsp;<nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D0">serial0= -0</a> >> >>></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D1">serial0= -1</a> >> >>></nobr> <nobr><a >>> >> >> = href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dsmtp">smtp</a></nobr= >  >> >>>; </td></tr></table> >>> </td> >>> </tr> >>> </table> >>></td></tr></table></p> >>> >>>Joe Marr >>> >>>-----Original Message----- >>>From: Ben Clewett [mailto:BCl...@pe...] >>>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 >>>>(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. >>>> >>>>Error message: >>>>malformed header from script. Bad header=3Dperfgraph.cgi: = perfgraph.cgi >>>> >>>>If you think this is a server error, please contact the webmaster >>>><mailto:root@localhost> >>>> >>>> >>>> *Error 500* >>>> >>>> >>>> >>>>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? >>>> >>>> >>>> >>>>Joe Marr >>>> >>>> >>>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> 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 >> > > > > ------------------------------------------------------- > 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 > > > ------------------------------------------------------- > 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 > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - ------------------------------------------------------- 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 |