You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
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 |
From: Yves M. <yme...@li...> - 2004-11-04 10:50:04
|
> Ben, > do you remember of me? > :) > I have one question about this problem: > when I lunch ./configure with the standard parameters I receive a warni= ng > 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/b= in > I think no....but I'm very tired because i don't understand where is th= e > 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 gdl= ib_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 wan= t > to look at the cache settings of your browser and/or proxy server and s= ee... > > 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 correctl= y >> 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 no= t >> 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">archpri= nt</a></ >> >>>nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbooksrs6000%2D2">b= ooksrs60 >> >>>00-2</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">b= rodart-c >> >>>or01</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">b= rodart-c >> >>>or03</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">b= rodart-c >> >>>or04</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">b= rodart-f >> >>>rw01</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">b= rodart-g >> >>>wy01</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">b= rodart-s >> >>>wt01</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">b= rodart-s >> >>>wt03</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">b= rodart-s >> >>>wt04</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">b= rodart-s >> >>>wt05</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">b= rodart-s >> >>>wt06</a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">b= rodart-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;<nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr= > & >> >>>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">gateke= eper</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">itwebap= ps</a></ >> >>>nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver">mailse= rver</a> >> >>></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mails= erver2</ >> >>>a></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr= > & >> >>>nbsp;<nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr= > & >> >>>nbsp;<nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D0">seria= l0-0</a> >> >>></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D1">seria= l0-1</a> >> >>></nobr> <nobr><a >>> >> >> href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dsmtp">smtp</a></no= br>  >> >>>; </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) o= r >>> >>>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.c= gi >>>> >>>>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/ - |
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 |
From: Yves M. <yme...@li...> - 2004-11-04 10:13:48
|
> Hi all, > > Yesterday, I upgraded from Perfparse 0.100.6 to 0.103.1. It was set up = to use > --with-file-perfdata and I kept it that way to save time since it works= well. I have a > cron job that runs perfparse.sh every 15 minutes, leaving the servicepe= rf.log intact. A > cron job also runs perfparse.sh once just before midnight with --delete= that tells it to > restart nagios and delete the serviceperf.log file. > > When I upgraded, I created a new perfparse.sh script to mimic this beha= viour. It works > well, but I ran into several issues that I wanted to share with the dev= elopment group. > > 1) perfparse-log2db --show-config doesn't mention anything about > Service_Log_Position_Mark_File. The docs mention it, but it doesn't see= m to use it. It > does use Service_Log_Position_Mark_Path. The doc will be changed. The option is Service_Log_Position_Mark_Path tha= t is for a directory. Maybe I should rename it (again :) Service_Log_Position_Mark_= Dir ? That directory contains the position mark files. There is one position ma= rk file for one servicelog file. If you use the same servicelog file, you have only one p= osition mark file. This is interesting for those who have more than one service log file and= need one position mark file per service log file. If you reset the service log file but still use the position mark file, p= erfparse will detect that the file changed and will restart from the beginning. But if = you do that, maybe you should disable this feature ? > 2) The mark file that was created looked like this: > > -rw-r--r-- 1 root root 19 Nov 3 09:30 perfdata_log.servic= eperf.log.mark > -rw-r--r-- 1 root root 17 Nov 2 23:56 perfdata_log.servic= eperf.log1.mark > > I didn't know if the filename was supposed to be that complicated. > Service_Log_Position_Mark_File would have been useful here. No :) But Service_Log_Position_Mark_File_Prefix or Service_Log_Position_Mark_Fi= le_Suffix yes. This can be done easily. What do you suggest ? (I prefer a suffix because= the directory is already some kind of prefix if you want to use something else than som= ewhere/var/ :) > 3) I found an issue where the serviceperf.log file is renamed to servic= eperf.log1 in the > perfparse.sh script when nagios is restarted and the serviceperf.log is= deleted. This > causes the creation of the second mark file. But the next day, the midn= ight run sees the > previous mark file and uses that to process the newer serviceperf.log f= ile. A lot of > records were processed a second time. The solution was to remove the ma= rk file along > with the serviceperf.log file at nagios restart time. With one position mark file created for each different service log file n= ame, you can understand what happened. But I want to be sure that it is not a bug in perfparse, but some problem= in your script. When you move the serviceperf.log file to serviceperf.log1 (and r= eboot nagios), what does that file contain ? All the data for the day ? If yes, you need to also move the position mark file because perfparse wi= ll read perfdata_log.serviceperf.log1.mark for serviceperf.log1. If it finds anyt= hing else (nothing or some wrong position mark file), it will start from the beginn= ing, and in your case, record duplicate data. If I'm not too far from the truth, is there something that we can do in p= erfparse to prevent that, or is it only the documentation that need to be updated ? > 4) The file perfparse.log.log was created in the var directory. I'm not= sure where this > is coming from. Seems to only include some errors: Why perfparse.log.log ? Well, this is a minor bug. I fix that right now a= nd 0.104 will be correct :) > # cat perfparse.log.log > 2004/11/02 15:39:53 [log_reader.c:181 28998 ] Could not open > '/usr/local/nagios/var/perfdata_log.serviceperf.log1.mark' Well, this is not an error if you run perfparse on serviceperf.log1 for t= he first time. This is not an error if you deleted perfdata_log.serviceperf.log1.mark. This is an error if you expect the file to exist and perfparse to read it= and if perfparse cannot. Perfparse cannot know when it runs the first time or if you deleted that = file yourself, and cannot tell if being unable to read the file is an error or not. So I= decided to write a message in the log but not stop the program. If you have a better idea, tell me, because I'm conscious that such a mes= sage does not have a clear meaning :) > > 5) Here are the contents of my perfparse.cfg file: Run perfparse-log2db -c perfparse.cfg --show_config and you will know the= options that perfparse really uses and the ones that are obsolete or unused for perfpa= rse-log2db. Do that with all the perfparse binaries that you use, because they don't = output the same thing (they don't use the same options) Yves > # > # PerfParse Config file. > # > # In all cases, variables used as: > # > # 1. From program default defined by configure. > # 2. From this file. > # 3. From variables passed to programs. > # > > # Perfparsed server management > > Server_Port =3D "1976" > > Use_Storage_Socket_Output =3D "no" > Storage_Socket_Output_Port =3D "1974" > Storage_Socket_Output_Host_Name =3D "localhost" > > # Database management and authentication > > Use_Storage_Mysql =3D "yes" > No_Raw_Data =3D "no" > No_Bin_Data =3D "no" > > DB_User =3D "nagios" > DB_Name =3D "nagios" > DB_Pass =3D "nagios" > DB_Host =3D "127.0.0.1" > > # Performance Data Log Files ("-" for stdin) > # Drop file - For lines of log rejected > # Lock file - For only one perfparse running at the same time > # Nagios lock - Nagios file containing its PID (Necessary to delete= log files) > # Output Log File - For logging all the data that perfparse reads > > Delete_Host_Log =3D "no" > Delete_Service_Log =3D "no" > > Host_Log =3D "/usr/local/nagios/var/hostperf.log= " > Service_Log =3D "/usr/local/nagios/var/serviceperf.= log" > Service_Log_Position_Mark_File =3D "serviceperf.pos" > Service_Log_Position_Mark_Path =3D "/usr/local/nagios/var" > Service_Log_Save_Position =3D "yes" > > Drop_File =3D "/tmp/perfparse.drop" > Drop_File_Rotate =3D "no" > > Error_Log =3D "/usr/local/nagios/var/perfparse.lo= g" > Error_Log_Rotate =3D "no" > > Lock_File =3D "/usr/local/nagios/var/perfparse.lo= ck" > Nagios_Lock =3D "/usr/local/nagios/var/nagios.lock" > > Output_Log_File =3D "no" > Output_Log_Rotate =3D "no" > Output_Log_Filename =3D "/usr/local/nagios/var/perfparse_ou= tput_log" > > # Reporting options > # Do not display a report on exit of perfparse > # Do not display completion status of perfparse > > Do_Report =3D "no" > Show_Status_Bar =3D "no" > > # Misc > Dummy_Hostname =3D "dummy" > > # CGI management > # Default user permissions in the CGI. Accepted values are (ro|rw|hide) > > Default_user_permissions_Policy =3D "rw" > Default_user_permissions_Host_groups =3D "rw" > > > ------------------- > James Ferrill > IT Analyst II > NextiraOne LLC > Phone: 713-307-4029 > Email: jam...@ne... > > --=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/ - |
From: Ben C. <BCl...@pe...> - 2004-11-04 08:04:08
|
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,=20 this was not reflected in your browser which was showing you the cached=20 copy of the 'Bad script header'. By replacing the file, you change the=20 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"#0= 00000" >>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">archprin= t</a></ >=20 >>nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbooksrs6000%2D2">bo= oksrs60 >=20 >>00-2</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">br= odart-c >=20 >>or01</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">br= odart-c >=20 >>or03</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">br= odart-c >=20 >>or04</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">br= odart-f >=20 >>rw01</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">br= odart-g >=20 >>wy01</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">br= odart-s >=20 >>wt01</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">br= odart-s >=20 >>wt03</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">br= odart-s >=20 >>wt04</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">br= odart-s >=20 >>wt05</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">br= odart-s >=20 >>wt06</a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">br= odart-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>= & >=20 >>nbsp;<nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>= & >=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">gatekee= per</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">itwebapp= s</a></ >=20 >>nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver">mailser= ver</a> >=20 >></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailse= rver2</ >=20 >>a></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>= & >=20 >>nbsp;<nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>= & >=20 >>nbsp;<nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D0">serial= 0-0</a> >=20 >></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dserial0%2D1">serial= 0-1</a> >=20 >></nobr> <nobr><a >> >=20 > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dsmtp">smtp</a></nob= r>  >=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.cg= i >>> >>>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 |
From: Marr, J. <jm...@br...> - 2004-11-03 17:44:12
|
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...]=20 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=20 guessed. 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 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. I will have to think about this.... Ben Marr, Joe wrote: > I don't have a perfparse.cgi. but (weird) perfgraph.cgi displays data. >=20 > [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 >=20 > <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">book= srs60 > 00-2</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">brod= art-c > or01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">brod= art-c > or03</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">brod= art-c > or04</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">brod= art-f > rw01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">brod= art-g > wy01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">brod= art-s > wt01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">brod= art-s > wt03</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">brod= art-s > wt04</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">brod= art-s > wt05</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">brod= art-s > wt06</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">brod= art-s > wt07</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0201">b= rodar > t-vlan0201</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0301">b= rodar > t-vlan0301</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0302">b= rodar > t-vlan0302</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc8">dc8</a></nobr>&n= bsp;& > nbsp;<nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>&n= bsp;& > 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">gatekeepe= r</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">mailserve= r</a> > </nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailserv= er2</ > a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>&n= bsp;& > nbsp;<nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>&n= bsp;& > 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> >=20 > Joe Marr >=20 > -----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..... >=20 > Joe, >=20 > The place I would start, if others members have not answered already: >=20 > 1. su to your httpd user. Eg, $ su apache > Really important to do all testing as the httpd user. >=20 > 2. Set an environment variable: > $ export QUERY_STRING=3D"?select_host=3D1" >=20 > 3. run the code: > $ /usr/local/nagios/sbin/perfparse.cgi >=20 > Let us know. >=20 > Regards, Ben. >=20 >=20 >=20 > Marr, Joe wrote: >=20 >=20 >>Hi All, >> >>=20 >> >>I'm trying to install the software for the first time, using the >=20 > method 2. >=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 >=20 > any=20 >=20 >>link other then http://server.domain.com/nagios/cgi-bin/perfgraph.cgi >=20 > I=20 >=20 >>get this error. >> >> >> *Server error!* >> >>The server encountered an internal error and was unable to complete >=20 > your=20 >=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* >> >>=20 >> >>I see that there was someone else with issue in the forums, but I >=20 > tried=20 >=20 >>the things Ben suggested. Does anyone know what this error is about? >> >>=20 >> >>Joe Marr >> >>=20 >> >=20 >=20 >=20 |
From: Marr, J. <jm...@br...> - 2004-11-03 16:37:13
|
Sure thing,=20 Let me know if I can be of any assistance. Joe Marr -----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..... OOps, I gave you the wrong name. 'perfgraph.cgi' is what you correctly=20 guessed. 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 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. I will have to think about this.... Ben Marr, Joe wrote: > I don't have a perfparse.cgi. but (weird) perfgraph.cgi displays data. >=20 > [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 >=20 > <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">book= srs60 > 00-2</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">brod= art-c > or01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">brod= art-c > or03</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">brod= art-c > or04</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">brod= art-f > rw01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">brod= art-g > wy01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">brod= art-s > wt01</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">brod= art-s > wt03</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">brod= art-s > wt04</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">brod= art-s > wt05</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">brod= art-s > wt06</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">brod= art-s > wt07</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0201">b= rodar > t-vlan0201</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0301">b= rodar > t-vlan0301</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0302">b= rodar > t-vlan0302</a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc8">dc8</a></nobr>&n= bsp;& > nbsp;<nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>&n= bsp;& > 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">gatekeepe= r</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">mailserve= r</a> > </nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailserv= er2</ > a></nobr> <nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>&n= bsp;& > nbsp;<nobr><a > href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>&n= bsp;& > 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> >=20 > Joe Marr >=20 > -----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..... >=20 > Joe, >=20 > The place I would start, if others members have not answered already: >=20 > 1. su to your httpd user. Eg, $ su apache > Really important to do all testing as the httpd user. >=20 > 2. Set an environment variable: > $ export QUERY_STRING=3D"?select_host=3D1" >=20 > 3. run the code: > $ /usr/local/nagios/sbin/perfparse.cgi >=20 > Let us know. >=20 > Regards, Ben. >=20 >=20 >=20 > Marr, Joe wrote: >=20 >=20 >>Hi All, >> >>=20 >> >>I'm trying to install the software for the first time, using the >=20 > method 2. >=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 >=20 > any=20 >=20 >>link other then http://server.domain.com/nagios/cgi-bin/perfgraph.cgi >=20 > I=20 >=20 >>get this error. >> >> >> *Server error!* >> >>The server encountered an internal error and was unable to complete >=20 > your=20 >=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* >> >>=20 >> >>I see that there was someone else with issue in the forums, but I >=20 > tried=20 >=20 >>the things Ben suggested. Does anyone know what this error is about? >> >>=20 >> >>Joe Marr >> >>=20 >> >=20 >=20 >=20 |
From: Ben C. <BCl...@pe...> - 2004-11-03 16:36:05
|
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="?select_host=1" > 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="#EEFFFF" TEXT="#000000" LINK="#000000" VLINK="#000000" > ALINK="#000000"> > <p align=center> > <table width=600 border=1 cellpadding=5 cellspacing=0 > bgcolor="#CCCCCC"><tr><td> > <table width="100%" border=0 cellpadding=0 cellspacing=0> > <tr> > <td width=60><img src="/nagios/images/perfparse-logo-sm.png" > border=0></td> > <td align=center><font face="Arial, Helvetica" size=2> > <b>Select Host to Graph</b><br> > <a href="perfgraph.cgi">Click to return to main menu.</a> > </td> > <td width=60 align=right><font face="Arial, Helvetica" > size=1>v0.103.1</td> > </tr> > </table> > </td></tr></table></p> > <p align=center> > <table width=600 border=1 cellpadding=5 cellspacing=0 > bgcolor="#CCCCCC"><tr><td> > <table width="100%" border=0 cellpadding=0 cellspacing=0> > <tr> > <td align=center> > <font face="Arial, Helvetica" size=2><b>Group:</b> Unassigned > <table width="100%" border=1 cellpadding=5 cellspacing=0 > bgcolor="#FFFFFF"><td><font face="Arial, Helvetica" size=2> > <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=archprint">archprint</a></ > nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=booksrs6000%2D2">booksrs60 > 00-2</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dcor01">brodart-c > or01</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dcor03">brodart-c > or03</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dcor04">brodart-c > or04</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dfrw01">brodart-f > rw01</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dgwy01">brodart-g > wy01</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt01">brodart-s > wt01</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt03">brodart-s > wt03</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt04">brodart-s > wt04</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt05">brodart-s > wt05</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt06">brodart-s > wt06</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dswt07">brodart-s > wt07</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dvlan0201">brodar > t-vlan0201</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dvlan0301">brodar > t-vlan0301</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=brodart%2Dvlan0302">brodar > t-vlan0302</a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=dc8">dc8</a></nobr> & > nbsp;<nobr><a > href="perfgraph.cgi?select_metric=1&host_name=dc9">dc9</a></nobr> & > nbsp;<nobr><a > href="perfgraph.cgi?select_metric=1&host_name=excedrin">excedrin</a></no > br> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=gatekeeper">gatekeeper</a> > </nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=internet">internet</a></no > br> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=itwebapps">itwebapps</a></ > nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=mailserver">mailserver</a> > </nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=mailserver2">mailserver2</ > a></nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=ns1">ns1</a></nobr> & > nbsp;<nobr><a > href="perfgraph.cgi?select_metric=1&host_name=ns2">ns2</a></nobr> & > nbsp;<nobr><a > href="perfgraph.cgi?select_metric=1&host_name=serial0%2D0">serial0-0</a> > </nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=serial0%2D1">serial0-1</a> > </nobr> <nobr><a > href="perfgraph.cgi?select_metric=1&host_name=smtp">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="?select_host=1" > > 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=1) 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=perfgraph.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 >> >> >> > > > |
From: Marr, J. <jm...@br...> - 2004-11-03 16:27:13
|
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 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">book= srs60 00-2</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor01">brod= art-c or01</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor03">brod= art-c or03</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dcor04">brod= art-c or04</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dfrw01">brod= art-f rw01</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dgwy01">brod= art-g wy01</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt01">brod= art-s wt01</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt03">brod= art-s wt03</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt04">brod= art-s wt04</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt05">brod= art-s wt05</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt06">brod= art-s wt06</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dswt07">brod= art-s wt07</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0201">b= rodar t-vlan0201</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0301">b= rodar t-vlan0301</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dbrodart%2Dvlan0302">b= rodar t-vlan0302</a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc8">dc8</a></nobr>&n= bsp;& nbsp;<nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Ddc9">dc9</a></nobr>&n= bsp;& 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">gatekeepe= r</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">mailserve= r</a> </nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dmailserver2">mailserv= er2</ a></nobr> <nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns1">ns1</a></nobr>&n= bsp;& nbsp;<nobr><a href=3D"perfgraph.cgi?select_metric=3D1&host_name=3Dns2">ns2</a></nobr>&n= bsp;& 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...]=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, >=20 > =20 >=20 > I'm trying to install the software for the first time, using the method 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 your=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 |
From: Ferrill, J. <jam...@NE...> - 2004-11-03 16:01:11
|
Hi all, Yesterday, I upgraded from Perfparse 0.100.6 to 0.103.1. It was set up = to use --with-file-perfdata and I kept it that way to save time since it = works well. I have a cron job that runs perfparse.sh every 15 minutes, = leaving the serviceperf.log intact. A cron job also runs perfparse.sh = once just before midnight with --delete that tells it to restart nagios = and delete the serviceperf.log file. When I upgraded, I created a new perfparse.sh script to mimic this = behaviour. It works well, but I ran into several issues that I wanted to = share with the development group. 1) perfparse-log2db --show-config doesn't mention anything about = Service_Log_Position_Mark_File. The docs mention it, but it doesn't seem = to use it. It does use Service_Log_Position_Mark_Path. 2) The mark file that was created looked like this: -rw-r--r-- 1 root root 19 Nov 3 09:30 = perfdata_log.serviceperf.log.mark -rw-r--r-- 1 root root 17 Nov 2 23:56 = perfdata_log.serviceperf.log1.mark I didn't know if the filename was supposed to be that complicated. = Service_Log_Position_Mark_File would have been useful here. 3) I found an issue where the serviceperf.log file is renamed to = serviceperf.log1 in the perfparse.sh script when nagios is restarted and = the serviceperf.log is deleted. This causes the creation of the second = mark file. But the next day, the midnight run sees the previous mark = file and uses that to process the newer serviceperf.log file. A lot of = records were processed a second time. The solution was to remove the = mark file along with the serviceperf.log file at nagios restart time. 4) The file perfparse.log.log was created in the var directory. I'm not = sure where this is coming from. Seems to only include some errors: # cat perfparse.log.log 2004/11/02 15:39:53 [log_reader.c:181 28998 ] Could not open = '/usr/local/nagios/var/perfdata_log.serviceperf.log1.mark' 5) Here are the contents of my perfparse.cfg file: # # PerfParse Config file. # # In all cases, variables used as: # # 1. From program default defined by configure. # 2. From this file. # 3. From variables passed to programs. # # Perfparsed server management Server_Port =3D "1976" Use_Storage_Socket_Output =3D "no" Storage_Socket_Output_Port =3D "1974" Storage_Socket_Output_Host_Name =3D "localhost" # Database management and authentication Use_Storage_Mysql =3D "yes" No_Raw_Data =3D "no" No_Bin_Data =3D "no" DB_User =3D "nagios" DB_Name =3D "nagios" DB_Pass =3D "nagios" DB_Host =3D "127.0.0.1" # Performance Data Log Files ("-" for stdin) # Drop file - For lines of log rejected # Lock file - For only one perfparse running at the same time # Nagios lock - Nagios file containing its PID (Necessary to delete = log files) # Output Log File - For logging all the data that perfparse reads Delete_Host_Log =3D "no" Delete_Service_Log =3D "no" Host_Log =3D "/usr/local/nagios/var/hostperf.log" Service_Log =3D = "/usr/local/nagios/var/serviceperf.log" Service_Log_Position_Mark_File =3D "serviceperf.pos" Service_Log_Position_Mark_Path =3D "/usr/local/nagios/var" Service_Log_Save_Position =3D "yes" Drop_File =3D "/tmp/perfparse.drop" Drop_File_Rotate =3D "no" Error_Log =3D = "/usr/local/nagios/var/perfparse.log" Error_Log_Rotate =3D "no" Lock_File =3D = "/usr/local/nagios/var/perfparse.lock" Nagios_Lock =3D "/usr/local/nagios/var/nagios.lock" Output_Log_File =3D "no" Output_Log_Rotate =3D "no" Output_Log_Filename =3D = "/usr/local/nagios/var/perfparse_output_log" # Reporting options # Do not display a report on exit of perfparse # Do not display completion status of perfparse Do_Report =3D "no" Show_Status_Bar =3D "no" # Misc Dummy_Hostname =3D "dummy" # CGI management # Default user permissions in the CGI. Accepted values are (ro|rw|hide) Default_user_permissions_Policy =3D "rw" Default_user_permissions_Host_groups =3D "rw" ------------------- James Ferrill IT Analyst II NextiraOne LLC Phone: 713-307-4029 Email: jam...@ne... |
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 |
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 |
From: Marr, J. <jm...@br...> - 2004-11-03 15:38:12
|
I'm using 0.103.1. The config file is in the correct directory (/usr/local/nagios/etc).=20 Im using 4.1.7 for MySQL (Client and Server) Here is a show_config [root@excedrin bin]# ./perfparse-log2db --show_config Perfparse-log2* [options] # File where Perfparse logs messages # Error_Log =3D "string" Error_Log =3D "perfparse.log" # Rotate Perfparse log files # Error_Log_Rotate =3D "Y/N" Error_Log_Rotate =3D "Yes" # When perfparse cannot parse a file, it drops it to that file # Drop_File =3D "string" Drop_File =3D "/tmp/perfparse.drop" #=20 # Drop_File_Rotate =3D "Y/N" Drop_File_Rotate =3D "Yes" # Log source from nagios (or other tools) that perfparse will scan Authorized values: a file name, '-' for stdin, '|' for a fifo and '>' for a host:port socket For sockets, a command 'history' will be sent before retreiving the data # Service_Log =3D "string" Service_Log =3D "-" # Save the read position in the nagios log file ? If yes, perfparse will start from that position instead of from the beginning # Service_Log_Save_Position =3D "Y/N" Service_Log_Save_Position =3D "yes" # Path for files containing the read position for nagios log files # Service_Log_Position_Mark_Path =3D "string" Service_Log_Position_Mark_Path =3D "" # Start timestamp for history retreiving (positive is absolute, negative is relative to end tm) # History_Start_Tm =3D "value" History_Start_Tm =3D "-86400" # End timestamp for history retreiving (positive is absolute, negative is relative to Now) # History_End_Tm =3D "value" History_End_Tm =3D "-30" # Show status bar when running # Show_Status_Bar =3D "Y/N" Show_Status_Bar =3D "no" # Print a report at the end of the processing # Do_Report =3D "Y/N" Do_Report =3D "no" # Dummy hostname if gethostname() does not work # Dummy_Hostname =3D "string" Dummy_Hostname =3D "dummy" # Don't store raw data # No_Raw_Data =3D "Y/N" No_Raw_Data =3D "no" # Don't store bin data # No_Bin_Data =3D "Y/N" No_Bin_Data =3D "no" # Storage Module : mysql # = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D # Use Mysql storage module # Use_Storage_Mysql =3D "Y/N" Use_Storage_Mysql =3D "yes" # Database user # DB_User =3D "string" DB_User =3D "*****" # Database password # DB_Pass =3D "string" DB_Pass =3D "*****" # Database name # DB_Name =3D "string" DB_Name =3D "*****" # Database hostname # DB_Host =3D "string" DB_Host =3D "*****" Let me know if there is any more info I can provide. Joe Marr -----Original Message----- From: per...@li... [mailto:per...@li...] On Behalf Of Yves Mettier Sent: Wednesday, November 03, 2004 8:45 AM To: per...@li... Subject: Re: [Perfparse-users] Help..... Check if you have a configuration file in your installation directory. If you only have etc/perfparse.cfg.example, rename it as etc/perfparse.cfg and edit. If that does not solve the problem, try to give us more info, including the version of perfparse you are using (latest is 0.103.1). Yves > 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 > > > > --=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=3Dick _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Ferrill, J. <jam...@NE...> - 2004-11-03 15:21:15
|
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 |
From: Yves M. <yme...@li...> - 2004-11-03 15:05:35
|
> Hi, > > i would like a confirmation from the developers, stating that PP > doesn't need to close nagios for each PP action (in the latest > version). If this is the case it's great. While using scripts scanning > for the well functioning of nagios, a slave replica could initiate its > nagios just because in a certain moment caught nagios restarting due > to PP. This would be an annoying problem Since 0.101.1 and the replacement of perfparse with perfparse-log2db, reb= ooting nagios is optionnal and will depend on how you install perfparse. Please read the documentation in doc/install_guide.html and the 6 methods= to install perfparse (perfparse-log2db, perfparsed, perfparse-log2socket and combina= tion of those bianaries...) (contributions to the documentation are welcome : one cannot test all the= installation methods in a production environment) Yves --=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/ - |
From: Ricardo D. M. <ric...@gm...> - 2004-11-03 14:39:12
|
Hi, i would like a confirmation from the developers, stating that PP doesn't need to close nagios for each PP action (in the latest version). If this is the case it's great. While using scripts scanning for the well functioning of nagios, a slave replica could initiate its nagios just because in a certain moment caught nagios restarting due to PP. This would be an annoying problem Regards --=20 Ricardo David Martins ___________________________________________________________________________= __________________________ AVISO Esta mensagem (incluindo quaisquer anexos) pode conter informa=E7=E3o confidencial para uso exclusivo do destinat=E1rio. Se n=E3o for o destinat=E1rio pretendido, n=E3o dever=E1 usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. DISCLAIMER This e-mail (including any attachments) may contain confidential information for exclusive use of its recipient. If you are not the intended recipient you must not use, distribute or copy this e-mail. If you have received this e-mail in error please notify the sender and delete it immediately. Thank You. ___________________________________________________________________________= __________________________ |
From: Yves M. <yme...@li...> - 2004-11-03 13:45:30
|
Check if you have a configuration file in your installation directory. If you only have etc/perfparse.cfg.example, rename it as etc/perfparse.cf= g and edit. If that does not solve the problem, try to give us more info, including t= he version of perfparse you are using (latest is 0.103.1). Yves > 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 you= r > 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 > > > > --=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/ - |
From: Marr, J. <jm...@br...> - 2004-11-03 13:29:43
|
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 |
From: Ben C. <BCl...@pe...> - 2004-11-02 12:25:08
|
Dear Users, Jeff Scott has very kindly donated to the project the domains perfparse.net, perfparse.org and perfparse.com. As well as hosting and storage of web and email. Many thanks for this kindness. The official domain of the project will now become: http://www.perfparse.org If any users of perfparse would like to make valid use of an email address at this domain, please let me know. Regards, Ben. BCl...@pe... |
From: Ben C. <Be...@cl...> - 2004-11-02 12:17:44
|
Dear Users, New version 0.103.1. This includes new abilities. All existing code from previous version remains the same. The MySQL compilation problem has also been fixed. New version, as explained by the author: Perfparsed, when run as a TCP/IP server (which was already possible with 0.102.1), implements a new command : "history". If the file_output storage module is enabled and working, you can ask perfparsed to get some data from the archives between two dates, with optional filters (host/metric/key). As a hidden flavour, with the "history command", perfparsed can read gzipped files if you decided to compress them :) Perfparse can read perf data from a new source : ">host:port". A source with the first character as ">", followed with the host name and port of a running perfparsed can be asked that way for data thanks to the new "history" feature of perfparsed. New options were added to get the data between two dates, with the optional filters host/metric/key. Those two features open the door of new ways to install perfparse, the choice between storing the data in a mysql database to show graphs and compute statistics, and storing data on the remote host as plain text files for easier manipulation, and retrieve the data only when needed. Yves & Ben. |
From: Yves M. <yme...@li...> - 2004-11-02 09:14:43
|
> Yves, > > If I modify libpp_mysql/dbms.h and have them point to an > absolute location of /usr/include/mysql/mysql.h and > /usr/include/mysql/errmsg.h it seems to compile properly. Does that mean that mysql_config is either not working or broken ? Do you have mysql_config in your path ? If yes, what does mysql_config --cflags return ? It should answer -I/some/path/to/include/mysql If yes, do you have mysql.h in /some/path/to/include/mysql ? If you don't have mysql_config in your path, try to compile perfparse wit= h this: configure <your options> --with-mysql_config_dir=3D/some/path/to/mysql/bi= n 0.103.1 will be released today, so you may want to wait for it before tes= ting. Yves > > Michael > > > ------------------- > BitPusher, LLC > http://www.bitpusher.com/ > 1.888.9PUSHER > (415) 724.7998 - Mobile > > >> Do you have mysql-devel or libmysql-devel or something similar install= ed ? >> Seems that libmysqlclient.a or libmysqlclient.so is missing. But I'm n= ot >> sure. >> >> Could you also try perfparse-0.103.0ym4 from >> http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.103= .0/ >> ? >> >> This is the development branch and 0.103.0ym4 will probably be release= d as >> 0.103.1 >> tomorrow (tuesday). Tell me if you also have compilation problems with >> that one please >> :) >> >> Yves >> >> >>> No luck. Same errors. >>> >>> >>>> Try to compile without the -j option >>>> >>>> Yves >>>> >>>>> Update to this. I've installed mysql 4.0.22, and the problem is st= ill >>>>> the >>>>> same (compiles fine >>>>> with 101.1 but not 102.2) >>>>> >>>>> >>>>> >>>>>> I'm attempting to compile perfparse 0.102.2. I'm compiling everyth= ing >>>>>> the same way I was >>>>>> compiling 0.101.1, >>>>>> >>>>>> with options : >>>>>> >>>>>> --------------- >>>>>> #!/bin/sh >>>>>> >>>>>> make -j clean >>>>>> >>>>>> ./configure \ >>>>>> --prefix=3D/home/nagios \ >>>>>> --with-imagedir=3D/home/nagios/html/images \ >>>>>> --with-cgidir=3D/home/nagios/cgi-bin \ >>>>>> --with-http_image_path=3D/images >>>>>> make -j >>>>>> make -j install-strip >>>>>> --------------- >>>>>> >>>>>> >>>>>> The compilation is failing with : >>>>>> >>>>>> make[2]: Entering directory >>>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>>> perfparse-log2socket perfparse_log2socket-perfparse-log2any.o >>>>>> perfparse_log2socket-perfparse-common.o >>>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.= o >>>>>> perfparse_log2socket-storage.o >>>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>>> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns >>>>>> -lresolv >>>>>> -lc -lnss_files -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql >>>>>> -lpp_mysql -L../libpp_common -lpp_common >>>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>>> perfparse-log2file perfparse_log2file-perfparse-log2any.o >>>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reade= r.o >>>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>>> -lmysqlclient >>>>>> -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc >>>>>> -lnss_files >>>>>> -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql -lpp_mysql >>>>>> -L../libpp_common -lpp_common >>>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2file >>>>>> perfparse_log2file-perfparse-log2any.o >>>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reade= r.o >>>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fi= les >>>>>> -lnss_dns -lresolv -lglib-2.0 >>>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so >>>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/l= ibpp_common.so >>>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2socket >>>>>> perfparse_log2socket-perfparse-log2any.o >>>>>> perfparse_log2socket-perfparse-common.o >>>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.= o >>>>>> perfparse_log2socket-storage.o >>>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fi= les >>>>>> -lnss_dns -lresolv -lglib-2.0 >>>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so >>>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/l= ibpp_common.so >>>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_store_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_fetch_row' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_affected_rows' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_init' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_options' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_close' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_num_rows' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_error' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_free_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_use_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_query' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_real_connect' >>>>>> collect2: ld returned 1 exit status >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_store_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_fetch_row' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_affected_rows' >>>>>> /home/nagios_software/buildmake[2]: /perfparse*** >>>>>> [perfparse-log2file] >>>>>> Error 1 >>>>>> -0.102.2/libpp_mysql/.libs/make[2]: libpp_mysql.so:*** Waiting for >>>>>> unfinished jobs.... >>>>>> undefined reference to `mysql_init' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_options' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_close' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_num_rows' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_error' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_free_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_use_result' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_query' >>>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/li= bpp_mysql.so: >>>>>> undefined reference to `mysql_real_connect' >>>>>> collect2: ld returned 1 exit status >>>>>> make[2]: *** [perfparse-log2socket] Error 1 >>>>>> make[2]: Leaving directory >>>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>>> make[1]: *** [install-recursive] Error 1 >>>>>> make[1]: Leaving directory >>>>>> `/home/nagios_software/build/perfparse-0.102.2' >>>>>> make: *** [install-strip] Error 2 >>>>>> >>>>>> ------- >>>>>> >>>>>> -- >>>>>> ------------------- >>>>>> BitPusher, LLC >>>>>> http://www.bitpusher.com/ >>>>>> 1.888.9PUSHER >>>>>> (415) 724.7998 - Mobile >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> 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_id=3D5588&alloc_id=3D12065&op=3Dclick >>>>>> _______________________________________________ >>>>>> Perfparse-users mailing list >>>>>> Per...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>>>> >>>>> >>>>> >>>>> ------------------- >>>>> BitPusher, LLC >>>>> http://www.bitpusher.com/ >>>>> 1.888.9PUSHER >>>>> (415) 724.7998 - Mobile >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> - 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/ - >>>> >>>> >>>> >>>> >>> >>> >>> ------------------- >>> BitPusher, LLC >>> http://www.bitpusher.com/ >>> 1.888.9PUSHER >>> (415) 724.7998 - Mobile >>> >>> >> >> >> -- >> - 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/ - >> >> >> >> > > > > --=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/ - |
From: Michael T. H. <mi...@ha...> - 2004-11-01 21:23:35
|
Yves, If I modify libpp_mysql/dbms.h and have them point to an absolute location of /usr/include/mysql/mysql.h and /usr/include/mysql/errmsg.h it seems to compile properly. Michael ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile > Do you have mysql-devel or libmysql-devel or something similar installe= d ? > Seems that libmysqlclient.a or libmysqlclient.so is missing. But I'm no= t > sure. > > Could you also try perfparse-0.103.0ym4 from > http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.103.= 0/ > ? > > This is the development branch and 0.103.0ym4 will probably be released= as > 0.103.1 > tomorrow (tuesday). Tell me if you also have compilation problems with > that one please > :) > > Yves > > >> No luck. Same errors. >> >> >>> Try to compile without the -j option >>> >>> Yves >>> >>>> Update to this. I've installed mysql 4.0.22, and the problem is sti= ll >>>> the >>>> same (compiles fine >>>> with 101.1 but not 102.2) >>>> >>>> >>>> >>>>> I'm attempting to compile perfparse 0.102.2. I'm compiling everythi= ng >>>>> the same way I was >>>>> compiling 0.101.1, >>>>> >>>>> with options : >>>>> >>>>> --------------- >>>>> #!/bin/sh >>>>> >>>>> make -j clean >>>>> >>>>> ./configure \ >>>>> --prefix=3D/home/nagios \ >>>>> --with-imagedir=3D/home/nagios/html/images \ >>>>> --with-cgidir=3D/home/nagios/cgi-bin \ >>>>> --with-http_image_path=3D/images >>>>> make -j >>>>> make -j install-strip >>>>> --------------- >>>>> >>>>> >>>>> The compilation is failing with : >>>>> >>>>> make[2]: Entering directory >>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>> perfparse-log2socket perfparse_log2socket-perfparse-log2any.o >>>>> perfparse_log2socket-perfparse-common.o >>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>>> perfparse_log2socket-storage.o >>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns >>>>> -lresolv >>>>> -lc -lnss_files -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql >>>>> -lpp_mysql -L../libpp_common -lpp_common >>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>> perfparse-log2file perfparse_log2file-perfparse-log2any.o >>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader= .o >>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>> -lmysqlclient >>>>> -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc >>>>> -lnss_files >>>>> -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql -lpp_mysql >>>>> -L../libpp_common -lpp_common >>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2file >>>>> perfparse_log2file-perfparse-log2any.o >>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader= .o >>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fil= es >>>>> -lnss_dns -lresolv -lglib-2.0 >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/li= bpp_common.so >>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2socket >>>>> perfparse_log2socket-perfparse-log2any.o >>>>> perfparse_log2socket-perfparse-common.o >>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>>> perfparse_log2socket-storage.o >>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fil= es >>>>> -lnss_dns -lresolv -lglib-2.0 >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/li= bpp_common.so >>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_store_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_fetch_row' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_affected_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_init' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_options' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_close' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_num_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_error' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_free_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_use_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_query' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_real_connect' >>>>> collect2: ld returned 1 exit status >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_store_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_fetch_row' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_affected_rows' >>>>> /home/nagios_software/buildmake[2]: /perfparse*** >>>>> [perfparse-log2file] >>>>> Error 1 >>>>> -0.102.2/libpp_mysql/.libs/make[2]: libpp_mysql.so:*** Waiting for >>>>> unfinished jobs.... >>>>> undefined reference to `mysql_init' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_options' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_close' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_num_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_error' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_free_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_use_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_query' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_real_connect' >>>>> collect2: ld returned 1 exit status >>>>> make[2]: *** [perfparse-log2socket] Error 1 >>>>> make[2]: Leaving directory >>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>> make[1]: *** [install-recursive] Error 1 >>>>> make[1]: Leaving directory >>>>> `/home/nagios_software/build/perfparse-0.102.2' >>>>> make: *** [install-strip] Error 2 >>>>> >>>>> ------- >>>>> >>>>> -- >>>>> ------------------- >>>>> BitPusher, LLC >>>>> http://www.bitpusher.com/ >>>>> 1.888.9PUSHER >>>>> (415) 724.7998 - Mobile >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> 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_id=3D5588&alloc_id=3D12065&op=3Dclick >>>>> _______________________________________________ >>>>> Perfparse-users mailing list >>>>> Per...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>>> >>>> >>>> >>>> ------------------- >>>> BitPusher, LLC >>>> http://www.bitpusher.com/ >>>> 1.888.9PUSHER >>>> (415) 724.7998 - Mobile >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> 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 >>>> >>>> >>> >>> >>> -- >>> - 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/ - >>> >>> >>> >>> >> >> >> ------------------- >> BitPusher, LLC >> http://www.bitpusher.com/ >> 1.888.9PUSHER >> (415) 724.7998 - Mobile >> >> > > > -- > - 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/ - > > > > |
From: Michael T. H. <mi...@ha...> - 2004-11-01 21:20:09
|
Yves, I do have mysql-devel installed. Except for upgrading to 4.0.22, nothing has actually changed on the system. I've even deleted my base dir of 0.101.1 and recompiled from scratch, just to make sure it didn't have something cached. with 0.103.0ym4, compilation fails differently :) In file included from storage_mysql.c:34: ../libpp_mysql/dbms.h:29:19: mysql.h: No such file or directory ../libpp_mysql/dbms.h:30:20: errmsg.h: No such file or directory In file included from storage_mysql.c:34: ../libpp_mysql/dbms.h:36: syntax error before "db_mysql" ../libpp_mysql/dbms.h:36: warning: type defaults to `int' in declaration of `db_mysql' ../libpp_mysql/dbms.h:36: warning: data definition has no type or storage class ../libpp_mysql/dbms.h:37: syntax error before '*' token ../libpp_mysql/dbms.h:37: warning: type defaults to `int' in declaration of `query_result' ../libpp_mysql/dbms.h:37: warning: data definition has no type or storage class ../libpp_mysql/dbms.h:38: syntax error before "result_row" ../libpp_mysql/dbms.h:38: warning: type defaults to `int' in declaration of `result_row' ../libpp_mysql/dbms.h:38: warning: data definition has no type or storage class storage_mysql.c: In function `storage_mysql_atexit': storage_mysql.c:237: warning: implicit declaration of function `mysql_clo= se' storage_mysql.c: In function `validate_host': storage_mysql.c:317: warning: implicit declaration of function `mysql_fetch_row' storage_mysql.c: In function `isSaveBinAllowed': storage_mysql.c:441: subscripted value is neither array nor pointer /usr/include/bits/mathinline.h: At top level: log_parser.h:54: warning: `__nan_union' defined but not used rm -f perfparse.sh.example perfparse.sh.tmp sed -e 's,@bindir\@,/home/nagios/bin,g' -e 's,@sysconfdir\@,/home/nagios/etc,g' -e 's,@localstatedir\@,/home/nagios/var,g' -e 's,@prefix\@,/home/nagios,g' ./perfparse.sh.in >perfparse.sh.tmp make[2]: *** [perfparse_log2db-storage_mysql.o] Error 1 make[2]: *** Waiting for unfinished jobs.... chmod +x perfparse.sh.tmp make[2]: *** Waiting for unfinished jobs.... mv perfparse.sh.tmp perfparse.sh.example make[2]: *** Waiting for unfinished jobs.... log_parser.h:54: warning: `__nan_union' defined but not used log_parser.h:54: warning: `__nan_union' defined but not used log_parser.h:54: warning: `__nan_union' defined but not used log_parser.h:54: warning: `__nan_union' defined but not used mkdir .libs log_parser.h:54: warning: `__nan_union' defined but not used In file included from storage_mysql.c:34: ../libpp_mysql/dbms.h:29:19: mysql.h: No such file or directory ../libpp_mysql/dbms.h:30:20: errmsg.h: No such file or directory In file included from storage_mysql.c:34: ../libpp_mysql/dbms.h:36: syntax error before "db_mysql" ../libpp_mysql/dbms.h:36: warning: type defaults to `int' in declaration of `db_mysql' ../libpp_mysql/dbms.h:36: warning: data definition has no type or storage class ../libpp_mysql/dbms.h:37: syntax error before '*' token ../libpp_mysql/dbms.h:37: warning: type defaults to `int' in declaration of `query_result' ../libpp_mysql/dbms.h:37: warning: data definition has no type or storage class ../libpp_mysql/dbms.h:38: syntax error before "result_row" ../libpp_mysql/dbms.h:38: warning: type defaults to `int' in declaration of `result_row' ../libpp_mysql/dbms.h:38: warning: data definition has no type or storage class storage_mysql.c: In function `storage_mysql_atexit': storage_mysql.c:237: warning: implicit declaration of function `mysql_clo= se' log_parser.h:54: warning: `__nan_union' defined but not used storage_mysql.c: In function `validate_host': storage_mysql.c:317: warning: implicit declaration of function `mysql_fetch_row' storage_mysql.c: In function `isSaveBinAllowed': storage_mysql.c:441: subscripted value is neither array nor pointer /usr/include/bits/mathinline.h: At top level: log_parser.h:54: warning: `__nan_union' defined but not used make[2]: *** [perfparsed-storage_mysql.o] Error 1 make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/nagios_software/build/perfparse-0.103.0= ym4' make: *** [install-strip] Error 2 [root@nagios1 perfparse-0.103.0ym4]# log_parser.h:54: warning: `__nan_union' defined but not used gcc -g -O2 -Wall -o .libs/perfparse-log2socket perfparse_log2socket-perfparse-log2any.o perfparse_log2socket-perfparse-common.o perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o perfparse_log2socket-storage.o perfparse_log2socket-storage_socket_output.o -lglib-2.0 -L/home/nagios_software/build/perfparse-0.103.0ym4/libpp_common /home/nagios_software/build/perfparse-0.103.0ym4/libpp_common/.libs/libpp= _common.so -lm -Wl,--rpath -Wl,/home/nagios/lib creating perfparse-log2socket gcc -g -O2 -Wall -o .libs/perfparse-log2stdout perfparse_log2stdout-perfparse-log2any.o perfparse_log2stdout-perfparse-common.o perfparse_log2stdout-log_reader.o perfparse_log2stdout-log_parser.o perfparse_log2stdout-storage.o perfparse_log2stdout-storage_stdout.o -lglib-2.0 -L/home/nagios_software/build/perfparse-0.103.0ym4/libpp_common /home/nagios_software/build/perfparse-0.103.0ym4/libpp_common/.libs/libpp= _common.so -lm -Wl,--rpath -Wl,/home/nagios/lib gcc -g -O2 -Wall -o .libs/perfparse-log2file perfparse_log2file-perfparse-log2any.o perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader.o perfparse_log2file-log_parser.o perfparse_log2file-storage.o perfparse_log2file-storage_file_output.o -lglib-2.0 -L/home/nagios_software/build/perfparse-0.103.0ym4/libpp_common /home/nagios_software/build/perfparse-0.103.0ym4/libpp_common/.libs/libpp= _common.so -lm -Wl,--rpath -Wl,/home/nagios/lib creating perfparse-log2stdout creating perfparse-log2file > Do you have mysql-devel or libmysql-devel or something similar installe= d ? > Seems that libmysqlclient.a or libmysqlclient.so is missing. But I'm no= t > sure. > > Could you also try perfparse-0.103.0ym4 from > http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.103.= 0/ > ? > > This is the development branch and 0.103.0ym4 will probably be released= as > 0.103.1 > tomorrow (tuesday). Tell me if you also have compilation problems with > that one please > :) > > Yves > > >> No luck. Same errors. >> >> >>> Try to compile without the -j option >>> >>> Yves >>> >>>> Update to this. I've installed mysql 4.0.22, and the problem is sti= ll >>>> the >>>> same (compiles fine >>>> with 101.1 but not 102.2) >>>> >>>> >>>> >>>>> I'm attempting to compile perfparse 0.102.2. I'm compiling everythi= ng >>>>> the same way I was >>>>> compiling 0.101.1, >>>>> >>>>> with options : >>>>> >>>>> --------------- >>>>> #!/bin/sh >>>>> >>>>> make -j clean >>>>> >>>>> ./configure \ >>>>> --prefix=3D/home/nagios \ >>>>> --with-imagedir=3D/home/nagios/html/images \ >>>>> --with-cgidir=3D/home/nagios/cgi-bin \ >>>>> --with-http_image_path=3D/images >>>>> make -j >>>>> make -j install-strip >>>>> --------------- >>>>> >>>>> >>>>> The compilation is failing with : >>>>> >>>>> make[2]: Entering directory >>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>> perfparse-log2socket perfparse_log2socket-perfparse-log2any.o >>>>> perfparse_log2socket-perfparse-common.o >>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>>> perfparse_log2socket-storage.o >>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns >>>>> -lresolv >>>>> -lc -lnss_files -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql >>>>> -lpp_mysql -L../libpp_common -lpp_common >>>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>>> perfparse-log2file perfparse_log2file-perfparse-log2any.o >>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader= .o >>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>> -lmysqlclient >>>>> -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc >>>>> -lnss_files >>>>> -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql -lpp_mysql >>>>> -L../libpp_common -lpp_common >>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2file >>>>> perfparse_log2file-perfparse-log2any.o >>>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader= .o >>>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fil= es >>>>> -lnss_dns -lresolv -lglib-2.0 >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/li= bpp_common.so >>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>> gcc -g -O2 -Wall -o .libs/perfparse-log2socket >>>>> perfparse_log2socket-perfparse-log2any.o >>>>> perfparse_log2socket-perfparse-common.o >>>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>>> perfparse_log2socket-storage.o >>>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_fil= es >>>>> -lnss_dns -lresolv -lglib-2.0 >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so >>>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/li= bpp_common.so >>>>> -Wl,--rpath -Wl,/home/nagios/lib >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_store_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_fetch_row' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_affected_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_init' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_options' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_close' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_num_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_error' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_free_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_use_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_query' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_real_connect' >>>>> collect2: ld returned 1 exit status >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_store_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_fetch_row' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_affected_rows' >>>>> /home/nagios_software/buildmake[2]: /perfparse*** >>>>> [perfparse-log2file] >>>>> Error 1 >>>>> -0.102.2/libpp_mysql/.libs/make[2]: libpp_mysql.so:*** Waiting for >>>>> unfinished jobs.... >>>>> undefined reference to `mysql_init' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_options' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_close' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_num_rows' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_error' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_free_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_use_result' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_query' >>>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/lib= pp_mysql.so: >>>>> undefined reference to `mysql_real_connect' >>>>> collect2: ld returned 1 exit status >>>>> make[2]: *** [perfparse-log2socket] Error 1 >>>>> make[2]: Leaving directory >>>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>>> make[1]: *** [install-recursive] Error 1 >>>>> make[1]: Leaving directory >>>>> `/home/nagios_software/build/perfparse-0.102.2' >>>>> make: *** [install-strip] Error 2 >>>>> >>>>> ------- >>>>> >>>>> -- >>>>> ------------------- >>>>> BitPusher, LLC >>>>> http://www.bitpusher.com/ >>>>> 1.888.9PUSHER >>>>> (415) 724.7998 - Mobile >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> 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_id=3D5588&alloc_id=3D12065&op=3Dclick >>>>> _______________________________________________ >>>>> Perfparse-users mailing list >>>>> Per...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>>> >>>> >>>> >>>> ------------------- >>>> BitPusher, LLC >>>> http://www.bitpusher.com/ >>>> 1.888.9PUSHER >>>> (415) 724.7998 - Mobile >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> 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 >>>> >>>> >>> >>> >>> -- >>> - 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/ - >>> >>> >>> >>> >> >> >> ------------------- >> BitPusher, LLC >> http://www.bitpusher.com/ >> 1.888.9PUSHER >> (415) 724.7998 - Mobile >> >> > > > -- > - 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/ - > > > > ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile |
From: Yves M. <yme...@li...> - 2004-11-01 21:03:16
|
Do you have mysql-devel or libmysql-devel or something similar installed = ? Seems that libmysqlclient.a or libmysqlclient.so is missing. But I'm not = sure. Could you also try perfparse-0.103.0ym4 from http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.103.0/= ? This is the development branch and 0.103.0ym4 will probably be released a= s 0.103.1 tomorrow (tuesday). Tell me if you also have compilation problems with th= at one please :) Yves > No luck. Same errors. > > >> Try to compile without the -j option >> >> Yves >> >>> Update to this. I've installed mysql 4.0.22, and the problem is stil= l >>> the >>> same (compiles fine >>> with 101.1 but not 102.2) >>> >>> >>> >>>> I'm attempting to compile perfparse 0.102.2. I'm compiling everythin= g >>>> the same way I was >>>> compiling 0.101.1, >>>> >>>> with options : >>>> >>>> --------------- >>>> #!/bin/sh >>>> >>>> make -j clean >>>> >>>> ./configure \ >>>> --prefix=3D/home/nagios \ >>>> --with-imagedir=3D/home/nagios/html/images \ >>>> --with-cgidir=3D/home/nagios/cgi-bin \ >>>> --with-http_image_path=3D/images >>>> make -j >>>> make -j install-strip >>>> --------------- >>>> >>>> >>>> The compilation is failing with : >>>> >>>> make[2]: Entering directory >>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>> perfparse-log2socket perfparse_log2socket-perfparse-log2any.o >>>> perfparse_log2socket-perfparse-common.o >>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>> perfparse_log2socket-storage.o >>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lreso= lv >>>> -lc -lnss_files -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql >>>> -lpp_mysql -L../libpp_common -lpp_common >>>> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >>>> perfparse-log2file perfparse_log2file-perfparse-log2any.o >>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader.= o >>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql -lmysqlcli= ent >>>> -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc >>>> -lnss_files >>>> -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql -lpp_mysql >>>> -L../libpp_common -lpp_common >>>> gcc -g -O2 -Wall -o .libs/perfparse-log2file >>>> perfparse_log2file-perfparse-log2any.o >>>> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader.= o >>>> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >>>> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_file= s >>>> -lnss_dns -lresolv -lglib-2.0 >>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so >>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/lib= pp_common.so >>>> -Wl,--rpath -Wl,/home/nagios/lib >>>> gcc -g -O2 -Wall -o .libs/perfparse-log2socket >>>> perfparse_log2socket-perfparse-log2any.o >>>> perfparse_log2socket-perfparse-common.o >>>> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >>>> perfparse_log2socket-storage.o >>>> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >>>> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_file= s >>>> -lnss_dns -lresolv -lglib-2.0 >>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so >>>> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/lib= pp_common.so >>>> -Wl,--rpath -Wl,/home/nagios/lib >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_store_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_fetch_row' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_affected_rows' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_init' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_options' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_close' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_num_rows' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_error' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_free_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_use_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_query' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_real_connect' >>>> collect2: ld returned 1 exit status >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_store_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_fetch_row' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_affected_rows' >>>> /home/nagios_software/buildmake[2]: /perfparse*** [perfparse-log2fil= e] >>>> Error 1 >>>> -0.102.2/libpp_mysql/.libs/make[2]: libpp_mysql.so:*** Waiting for >>>> unfinished jobs.... >>>> undefined reference to `mysql_init' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_options' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_close' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_num_rows' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_error' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_free_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_use_result' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_query' >>>> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libp= p_mysql.so: >>>> undefined reference to `mysql_real_connect' >>>> collect2: ld returned 1 exit status >>>> make[2]: *** [perfparse-log2socket] Error 1 >>>> make[2]: Leaving directory >>>> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >>>> make[1]: *** [install-recursive] Error 1 >>>> make[1]: Leaving directory >>>> `/home/nagios_software/build/perfparse-0.102.2' >>>> make: *** [install-strip] Error 2 >>>> >>>> ------- >>>> >>>> -- >>>> ------------------- >>>> BitPusher, LLC >>>> http://www.bitpusher.com/ >>>> 1.888.9PUSHER >>>> (415) 724.7998 - Mobile >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> 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_id=3D5588&alloc_id=3D12065&op=3Dclick >>>> _______________________________________________ >>>> Perfparse-users mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>> >>> >>> >>> ------------------- >>> BitPusher, LLC >>> http://www.bitpusher.com/ >>> 1.888.9PUSHER >>> (415) 724.7998 - Mobile >>> >>> >>> >>> ------------------------------------------------------- >>> 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 >>> >>> >> >> >> -- >> - 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/ - >> >> >> >> > > > ------------------- > BitPusher, LLC > http://www.bitpusher.com/ > 1.888.9PUSHER > (415) 724.7998 - Mobile > > --=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/ - |
From: Yves M. <yme...@li...> - 2004-11-01 20:44:22
|
Try to compile without the -j option Yves > Update to this. I've installed mysql 4.0.22, and the problem is still = the > same (compiles fine > with 101.1 but not 102.2) > > > >> I'm attempting to compile perfparse 0.102.2. I'm compiling everything >> the same way I was >> compiling 0.101.1, >> >> with options : >> >> --------------- >> #!/bin/sh >> >> make -j clean >> >> ./configure \ >> --prefix=3D/home/nagios \ >> --with-imagedir=3D/home/nagios/html/images \ >> --with-cgidir=3D/home/nagios/cgi-bin \ >> --with-http_image_path=3D/images >> make -j >> make -j install-strip >> --------------- >> >> >> The compilation is failing with : >> >> make[2]: Entering directory >> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >> perfparse-log2socket perfparse_log2socket-perfparse-log2any.o >> perfparse_log2socket-perfparse-common.o >> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >> perfparse_log2socket-storage.o >> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv >> -lc -lnss_files -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql >> -lpp_mysql -L../libpp_common -lpp_common >> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -Wall -o >> perfparse-log2file perfparse_log2file-perfparse-log2any.o >> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader.o >> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql -lmysqlclien= t >> -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_fil= es >> -lnss_dns -lresolv -lglib-2.0 -L../libpp_mysql -lpp_mysql >> -L../libpp_common -lpp_common >> gcc -g -O2 -Wall -o .libs/perfparse-log2file >> perfparse_log2file-perfparse-log2any.o >> perfparse_log2file-perfparse-common.o perfparse_log2file-log_reader.o >> perfparse_log2file-log_parser.o perfparse_log2file-storage.o >> perfparse_log2file-storage_file_output.o -L/usr/lib/mysql >> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_files >> -lnss_dns -lresolv -lglib-2.0 >> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so >> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/libpp= _common.so >> -Wl,--rpath -Wl,/home/nagios/lib >> gcc -g -O2 -Wall -o .libs/perfparse-log2socket >> perfparse_log2socket-perfparse-log2any.o >> perfparse_log2socket-perfparse-common.o >> perfparse_log2socket-log_reader.o perfparse_log2socket-log_parser.o >> perfparse_log2socket-storage.o >> perfparse_log2socket-storage_socket_output.o -L/usr/lib/mysql >> /usr/lib/mysql/libmysqlclient.a -lz -lcrypt -lnsl -lm -lc -lnss_files >> -lnss_dns -lresolv -lglib-2.0 >> -L/home/nagios_software/build/perfparse-0.102.2/libpp_mysql >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so >> -L/home/nagios_software/build/perfparse-0.102.2/libpp_common >> /home/nagios_software/build/perfparse-0.102.2/libpp_common/.libs/libpp= _common.so >> -Wl,--rpath -Wl,/home/nagios/lib >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_store_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_fetch_row' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_affected_rows' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_init' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_options' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_close' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_num_rows' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_error' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_free_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_use_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_query' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_real_connect' >> collect2: ld returned 1 exit status >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_store_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_fetch_row' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_affected_rows' >> /home/nagios_software/buildmake[2]: /perfparse*** [perfparse-log2file] >> Error 1 >> -0.102.2/libpp_mysql/.libs/make[2]: libpp_mysql.so:*** Waiting for >> unfinished jobs.... >> undefined reference to `mysql_init' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_options' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_close' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_num_rows' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_error' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_free_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_use_result' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_query' >> /home/nagios_software/build/perfparse-0.102.2/libpp_mysql/.libs/libpp_= mysql.so: >> undefined reference to `mysql_real_connect' >> collect2: ld returned 1 exit status >> make[2]: *** [perfparse-log2socket] Error 1 >> make[2]: Leaving directory >> `/home/nagios_software/build/perfparse-0.102.2/perfparse' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory `/home/nagios_software/build/perfparse-0.10= 2.2' >> make: *** [install-strip] Error 2 >> >> ------- >> >> -- >> ------------------- >> BitPusher, LLC >> http://www.bitpusher.com/ >> 1.888.9PUSHER >> (415) 724.7998 - Mobile >> >> >> >> >> ------------------------------------------------------- >> 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_id=3D5588&alloc_id=3D12065&op=3Dclick >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > > ------------------- > BitPusher, LLC > http://www.bitpusher.com/ > 1.888.9PUSHER > (415) 724.7998 - Mobile > > > > ------------------------------------------------------- > 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/ - |