Re: [Ganglia-developers] Gmond ioctl error in a Solaris 10 zone

2006-06-07 Thread Brian Peterson
Hi Martin, So the the problem was that within a Solaris 10 zone only interface aliases are present by default, in my case the parent interface was not accessible. The quick and dirty fix that worked for me was to comment out line 112. 111:myflags = 0; 112: if ( (cptr =

Re: [Ganglia-developers] Fixing "make distdir" (was: Re: write access for ganglia SVN)

2006-06-07 Thread Bernard Li
Hi Martin: Thanks for the help - I'll test out make dist-gzip later tonight. I'll also see if I can improve on the make clean target so it actually cleans up properly... ;-) Cheers, Bernard > -Original Message- > From: Martin Knoblauch [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Jun

Re: [Ganglia-developers] Gmond ioctl error in a Solaris 10 zone

2006-06-07 Thread Martin Knoblauch
Hi Brian, this apparently (most likely) happens in line 122 of: srclib/libmetrics/get_ifi_info.c: 119: memcpy(lastname, ifr->ifr_name, IFNAMSIZ); 120: 121: ifrcopy = *ifr; 122: Ioctl(sockfd, SIOCGIFFLAGS, &ifrcopy); Could you try to add some debug output to check the interface name it is proc

[Ganglia-developers] Fixing "make distdir" (was: Re: write access for ganglia SVN)

2006-06-07 Thread Martin Knoblauch
Bernard, thanks for reminding me that I had something sitting in my local copy :-) I just checked in "svn2cl" including a README covering the license. The neccessary changes to use it are also in. I only see one problem with "svn2cl" and that is the new dependency on "libxslt". I am not sure

Re: [Ganglia-developers] write access for ganglia SVN

2006-06-07 Thread Bernard Li
Hi Martin: Yes, Matt already fixed it up for me, I can check code in now :-) Cheers, Bernard From: Martin Knoblauch [mailto:[EMAIL PROTECTED] Sent: Tue 06/06/2006 23:58 To: Bernard Li; ganglia-developers@lists.sourceforge.net Subject: Re: [Ganglia-developers

Re: [Ganglia-developers] Gmond ioctl error in a Solaris 10 zone

2006-06-07 Thread Martin Knoblauch
Hi Brian, any chance to get the source of the error (truss, strace)? That would help to close in on the problem.The virtual nature of the "NICs" should not be a problem. Cheers Martin --- Brian Peterson <[EMAIL PROTECTED]> wrote: > > Is anyone running ganglia in a solaris 10 zone? I'm havin