On Wed, Dec 09, 2009 at 05:47:39PM +0100, Samuel Gimeno wrote:
> 
> I compiled from source in an OpenSUSE 11.1, all gone well but I have some
> problems with web interface, alternative it shows some errors messages:
> "Ganglia cannot find a data source. Is gmond running?""Cannot find any
> metrics for selected cluster "janus", exiting. Check ganglia XML tree
> (telnet 127.0.0.1 8651)"
> 
> "There was an error collecting ganglia data (127.0.0.1:8651): XML error:
> Invalid document end at 53"

you mean it sometimes doesn't show that message and just works?, or it always
shows an error regardless of how many times you reload or hit the "get fresh 
data"
button?

if the earlier you have most likely a problem with some hostname or metric that
is generating invalid XML, or other problem that makes your XML invalid 
sometimes
(a very slow gmetad, or very slow IO, or a bug on the version of ganglia you
compiled and that forgot to mention), if the later you probably have a problem
with selinux, apparmor, iptables  or some other equivalent system (don't have
opensuse, so can't confirm) which is preventing the ganglia web application to
connect to the gmetad process in port 8651 and 8652 (which you forgot to confirm
but would assume from your explanation is the same host were the web application
is installed as recommended)

> And gmond is running, the ganglia XML tree show metrics and XML is correct,
> I try "telnet localhost 8649" and "telnet localhost 8651" and host running
> gmetad and "telnet localhost 8649" gives an Xml valid and with metrics.
> Gmond and Gmetad works well in host and clients.

if the problem is sporadic you might be able to do dump the contents of TCP:8651
in a loop and pass them to an xml validator (like xmllint) for hints.

> I'm going crazy trying to make it works, its the second time that I install
> and then works well, only some problems of misconfiguration.

sadly opensuse doesn't have AFAIK official packages for ganglia 3 but there are
some unnoficial ones you might be able to use from :

  http://software.opensuse.org/search?baseproject=openSUSE%3A11.2&p=1&q=ganglia

Carlo

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to