Re: [Ganglia-developers] IPv6 fun

2004-06-09 Thread Matt Massie
here is an email that i was in the process of writing i just uploaded a new snapshot @ http://matt-massie.com/ganglia/ i think this will solve our 0.0.0.0 problem (mostly). can you try this out and see how it works for you martin et al? here is the new problem that i think we'll have on h

Re: [Ganglia-developers] IPv6 fun

2004-06-09 Thread Martin Knoblauch
Hi Matt, after seeing your latest CVS checkins, I thought to try them out. Better, but we are not yet there :-) When doing my telnet test (local and remote), I now get the following rejects: server_thread() Host :::127.0.0.1 tried to connect and was refused server_thread() Host :::160.48

RE: [Ganglia-developers] (no subject)

2004-06-09 Thread Adesanya, Adeyemi
Hi Matt. I tried "telnet 127.0.0.1 8649" as well as telnet using the actual IP address of the host and in both cases I get the same result as with a host name (no XML output). Yemi > -Original Message- > From: Matt Massie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 09, 2004

Re: [Ganglia-developers] (no subject)

2004-06-09 Thread Matt Massie
On Wed, 2004-06-09 at 11:21, Martin Knoblauch wrote: > > i have a question though... where you putting in the hostname or IP > > address? i suspect you were putting in the hostname and when gmond > > resolved the name it got an IPv6 address. can you try running gmond > > explicitly stating an IP

Re: [Ganglia-developers] (no subject)

2004-06-09 Thread Josh Durham
I don't have access to a system right now, but he probably wants: telnet 127.0.0.1 8749 and telnet 8749 I think I remember trying these, and it failing, but I wouldn't bet money on it. - Josh Josh Durham [EMAIL PROTECTED] Computer Systems Engineer

Re: [Ganglia-developers] (no subject)

2004-06-09 Thread Martin Knoblauch
--- Matt Massie <[EMAIL PROTECTED]> wrote: > thanks for martin's sleuthing i think i understand what might be > going > on here. > > the getaddrinfo() call was being given an AF_UNSPEC hint which meant > that either a IPv4 or IPv6 address was acceptable. since the > machines > had IPv6 interfaces

Re: [Ganglia-developers] (no subject)

2004-06-09 Thread Matt Massie
thanks for martin's sleuthing i think i understand what might be going on here. the getaddrinfo() call was being given an AF_UNSPEC hint which meant that either a IPv4 or IPv6 address was acceptable. since the machines had IPv6 interfaces.. getaddrinfo was return the IPv6 interfaces. that's ok.

[Ganglia-developers] (no subject)

2004-06-09 Thread Martin Knoblauch
Hi Matt, please have a look at the appended diff. Basically, I have just changed all "family hints" from AF_UNSPEC to AF_INET (IPv4). After this change the "0.0.0.0" problem went away. Apparently Solaris ( and Mac/OS) do IPv6 first if AF_UNSPEC is given in a call to "socket". I have not checked