From: Gili L. <Gi...@so...> - 2004-12-12 15:08:52
|
Hi All, I tried to compile the new version (0.104.3), but I have the same error. In the http error log I can see : [error] [client 10.1.1.2] malformed header from script. Bad header=perfparse.cgi: perfparse.cgi, referer: http://10.1.1.1/nagios/cgi-bin/perfparse.cgi This is before the debug (printf(stderr, "%s:%d\n", __FILE__,__LINE__);) in inserted... Same thing after I put it in the debug line (after the header() and in the headerGraphDisplay() function) I also tried "chmod ug+s perfparse.cgi" and nothing... If I run the cgi from command line I get the HTML (from the apache user and root), but I don't get a png. The connection to the MtSQL is OK, I can see that when I changed the user, then I don't get the HTML (by command prompt)... Thanks, Gili |
From: Gili L. <Gi...@so...> - 2004-12-23 14:52:08
|
Hi All, I have no proxy, the machines sits in the same LAN (side by side)... any ideas? Gili |
From: Ben C. <bcl...@pe...> - 2004-12-24 08:56:15
|
Gili, There are a number of reasons for this. I would need to know a little more about your network. Eg, what URL are you calling, what http server, what browser. We also had a name change. perfgraph.cgi -> perfparse.cgi. Please ensure you are calling the correct one. My first suggestion is that you may have an apache miss-configuration. Please check your setup. If you are running Nagios and PP side by side, if one works the other should. Check all settings and permissions and see if you can see any differences. Please let us know. Regards, Ben. Gili Lapid wrote: > Hi All, > > I have no proxy, the machines sits in the same LAN (side by side)... > any ideas? > > Gili -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |
From: Yves <yme...@pe...> - 2004-12-13 10:36:59
|
Hi :) Following message is from Ben who has problems with mails. Yves Can you please check the caching on your browser and proxy server. Set your browser to check for new versions of the script every time, and if possible flush the cache on your browser and proxy. (The error message can be broadcast from the proxy as a valid page. But without the meta information to tell browser when to check for the page again. Therefore the browser caches the error. It's happened to me and driven me mad!) You may have a crash in the code beyond the header. The header is buffered, a crash destroys the buffer and hence the header. After your header add fflush(stderr). If this is the case you will now have a blank page returned, hopefully showing an error. Can you also tell me whether this on the main menu, or other pages? Ben > Hi All, > > I tried to compile the new version (0.104.3), but I have the same error= . > In the http error log I can see : > [error] [client 10.1.1.2] malformed header from script. Bad > header=3Dperfparse.cgi: perfparse.cgi, referer: > http://10.1.1.1/nagios/cgi-bin/perfparse.cgi > > This is before the debug (printf(stderr, "%s:%d\n", __FILE__,__LINE__);= ) in > inserted... > Same thing after I put it in the debug line (after the header() and in = the > headerGraphDisplay() function) > > I also tried "chmod ug+s perfparse.cgi" and nothing... > If I run the cgi from command line I get the HTML (from the apache user= and > root), but I don't get a png. > > The connection to the MtSQL is OK, I can see that when I changed the us= er, > then I don't get the HTML (by command prompt)... > > Thanks, > Gili > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > 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/ - |