Hello,

I am in need of some debugging direction here. I have Ganglia 3.1.2
installed and running. The web interface works perfectly fine under
php-fcgi.

We have a vested interest in getting the web interface to work using the
Java php interpreter, Quercus, on Glassfish. Using the same gmond and
gmetad on the working implementation, however I am getting this message
from Quercus:

There was an error collecting ganglia data (127.0.0.1:8652): XML error:
No error at 0

I have tried getting Quercus to report specific php errors to no avail,
and  the Glassfish logs are silent. I thought, at first it may be a poor
implementation of fsockopen(), and found there was such a bug in old
versions of Quercus for udp calls. That appears to be fixed, this code
works under Quercus:

<?php
$errno = null;
$errstr = null;
$fd = fsockopen('udp://localhost', 8652, $errno, $errstr);
if ($fd) print "success\n";
else print $errstr;
?>

indicating a successful UDP connection to gmetad.

But the message indicates an XML error, and I am uncertain how I might
test this. As soon as I find the issue, I'd like to present a bug report
to the Quercus team.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to