Matt,
seems I found another hint towards the problem. The "hash_lookup" in
gmond/server.c fails, because apparently the cluster nodes are added to
the hash with their IPv4 adresses.
Another problem arises with the "trusted_hosts" directive. This
behaves diffrently on my Sun and my Linux/IPv6 system. If I specify an
IPv6 adress on Solaris, it is translated into an IPv4 address. If I do
the same under Linux, it is added as IPv6. As a result, adding the IPv6
address under Solaris does not help. On Linux it helps.
Martin
--- Martin Knoblauch <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> good news. The problem occurs also on Linux with IPv6 enabled :-)
> So,
> no more need for a Sun !!!
>
> Please have a look at the following diff to gmond/server.c. It
> basically just strips the leading IPv6 stuff from the IPv6 address.
> With that, gmond works again as expected. Still no solution, because
> it
> efectively prevnets any use of "real" IPv6.
>
> Martin
>
>
> monitor-core/gmond> diff -u server.c-old server.c
> --- server.c-old 2004-06-11 13:19:49.225885857 +0200
> +++ server.c 2004-06-11 13:18:47.137378337 +0200
> @@ -145,6 +145,7 @@
> char mode[32];
> char clienthost[NI_MAXHOST];
> char clientservice[NI_MAXSERV];
> + char *ip4idx;
>
> debug_msg("Starting XML thread with compression set to level %d",
> compression_level);
>
> @@ -190,8 +191,17 @@
> continue;
> }
>
> - host_ip.data = clienthost;
> - host_ip.size = strlen( clienthost ) +1;
> + if((ip4idx=rindex(clienthost,':')))
> + {
> + ip4idx++;
> + host_ip.data = ip4idx;
> + host_ip.size = strlen( ip4idx ) + 1;
> + }
> + else
> + {
> + host_ip.data = clienthost;
> + host_ip.size = strlen( clienthost ) +1;
> + }
>
> if( !strcmp((char *)host_ip.data, "127.0.0.1") )
> {
>
>
>
>
>
> =====
> ------------------------------------------------------
> Martin Knoblauch
> email: k n o b i AT knobisoft DOT de
> www: http://www.knobisoft.de
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> From Windows to Linux, servers to mobile, InstallShield X is the
> one installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Ganglia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
>
>
=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de