Re: [Ganglia-developers] gmond segfault with libpython

2014-02-11 Thread Maciej Lasyk
You can install the newest version of web interface without any interfere with gmond/gmetad. Those are totally separated packages / sources now :) On Mon, Feb 10, 2014 at 04:33:00PM -0500, Jeff Layton wrote: > I'm leaning this way :) I think things have gotten too "screwed up" > (to use a technic

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Bernard Li
Hi Maciej: Please come find us on IRC and let's talk. Thanks, Bernard On Mon, Feb 10, 2014 at 1:24 AM, Maciej Lasyk wrote: > If you'd look for someone I could help with that - just send me a msg > when you're sure ;) > > On Sun, Feb 09, 2014 at 11:07:22PM -0800, Bernard Li wrote: >> Do we stil

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Vladimir Vuksan
Jeff, RPMS-6 are the Centos 6 RPMS. RPMS/ are Centos 5 RPMS. Sorry about the confusion. On 02/10/2014 04:33 PM, Jeff Layton wrote: > I'm leaning this way :) I think things have gotten too "screwed up" > (to use a technical term) and there are problems. > > The thing I'm concerned about is that

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Jeff Layton
I'm leaning this way :) I think things have gotten too "screwed up" (to use a technical term) and there are problems. The thing I'm concerned about is that the epel repo only has version 3.1.7 (seems pretty darn old to me). I want something newer and I want the new web interface. [root@home4 gan

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Maciej Lasyk
At this point I suggest you - wipe out that Ganglia installation and just use Epel repo - it has everything you need (gmond, gmetad, ganglia-gmond-python). That blog you was basing on is terrible. It's very bad to "make install" without creating packages - no one should do this. Moreover - this in

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Jeff Layton
On 02/09/2014 09:15 PM, Vladimir Vuksan wrote: Those RPMS work just fine for me [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# cat /etc/issue CentOS release 6.5 (Final) Kernel

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Jeff Layton
The only thing in /usr/local/etc/conf.d/ is modpython.conf. Given your guidance I think I've figured things out (I think). It does appear that the python modules get loaded twice (actually 3 times in my case). The time is in gmond.conf where I have it in the modules section: modules { module

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Maciej Lasyk
Ok so from that I can see that you're including: include ("/usr/local/etc/conf.d/*.conf") include('/etc/ganglia/conf.d/*.pyconf') Could you recheck what conf files you have in /usr/local/etc/conf.d/ ? Next thing - why are you building those packages without setting any proper (FHS like) direct

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-10 Thread Maciej Lasyk
If you'd look for someone I could help with that - just send me a msg when you're sure ;) On Sun, Feb 09, 2014 at 11:07:22PM -0800, Bernard Li wrote: > Do we still have a maintainer for the Ganglia packages for EPEL? If > not, should we see if somebody would like to fill that position? > > Thank

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Bernard Li
Do we still have a maintainer for the Ganglia packages for EPEL? If not, should we see if somebody would like to fill that position? Thanks, Bernard On Sun, Feb 9, 2014 at 6:15 PM, Vladimir Vuksan wrote: > Those RPMS work just fine for me > > [root@localhost ~]# uname -a > Linux localhost.loca

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Vladimir Vuksan
Those RPMS work just fine for me [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# cat /etc/issue CentOS release 6.5 (Final) Kern

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Maciej Lasyk
Could you post here your build options (that ones you entered while ./configure) and also could you paste gmond.conf into pastebin? Also plz strace one more time, but now with strace -s 1024 -e trace=file and paste the output to pastebin On Sun, Feb 09, 2014 at 04:55:14PM -0500, Jeff Layton wrot

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
I hope this isn't too much output (I've heard about pastebin.com but never really used it). [root@home4 ganglia-3.6.0]# ldd /usr/local/sbin/gmond linux-vdso.so.1 => (0x7fff667f6000) libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x7f6a24049000) libresolv.so.2 => /lib

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
Sure - let me run off and do this. In the meantime, I tried rebuilding ganglia with 3.5.0 and 3.4.0. For both of these cases, I get the same segfault. This makes me think I'm doing something wrong but I can seem to find it :) I'll let you know what I find out as I go back to ganglia-3.6.0. Than

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Maciej Lasyk
Oh I didn't think about going that lowlevel :) Could you run ldd on gmond also? Could you also run 'tree' command on /etc/ganglia ? It's interesting that you have two times msg: "loaded module: python_module" while starting gmond. Rechecking this with strace log shows that it looks like double loa

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
On 02/09/2014 02:48 PM, Jeff Layton wrote: > On 02/09/2014 02:28 PM, Maciej Lasyk wrote: > >> You could also try to catch on which particular check this segfault >> happens..? > Not sure how to check this. When I run gmond interactively, it > segfaults just after it says, > > [root@home4 yum.repos.

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
On 02/09/2014 02:28 PM, Maciej Lasyk wrote: > On Sun, Feb 09, 2014 at 01:22:08PM -0500, Jeff Layton wrote: > >> Maybe I need to drop back to an older ganglia version? > What kind of repositories do you use on this Centos (yum repolist all)? > Does 'yum update' finishes without any problems? I apolo

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Maciej Lasyk
On Sun, Feb 09, 2014 at 01:22:08PM -0500, Jeff Layton wrote: > Maciej, > > Yep, SELinux is off: http://stopdisablingselinux.com/ ;) Seriously :) > I built the code with almost everything enabled. I thought > about removing some packages from my system and > rebuilding. For example, I could try r

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
Maciej, Yep, SELinux is off: [root@home4 laytonjb]# cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of en

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Maciej Lasyk
Ok, that's weird. Could you recheck SELinux config and/or logs in /var/log/messages and audit.log? On Sun, Feb 09, 2014 at 09:54:09AM -0500, Jeff Layton wrote: > Maciej, > > I'm attaching a tar-gzip file with the strace logs (I hope it > gets through the various filters). > > There are 11 separa

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-09 Thread Jeff Layton
Vladimir, I initially tried your binaries on my 6.5 system and I could not get them to install and run (I think they were built with a 6.3 system). At some point I'll try building the rpm's and installing those. Hopefully there is no different in the build process - that would be very interestin

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-08 Thread Maciej Lasyk
On Sat, Feb 08, 2014 at 11:11:19AM -0500, Jeff Layton wrote: > Good morning, > > I'm running a CentOS 6.5 system with ganglia 3.6.0 and > ganglia-web 3.5.12. I'm following the general guidelines in > this article: > > http://sachinsharm.wordpress.com/tag/installing-ganglia/ > > Everything goes s

Re: [Ganglia-developers] gmond segfault with libpython

2014-02-08 Thread Vladimir Vuksan
I have not seen issues with Centos 6 however I usually build my RPM packages. You could do that if you type rpmbuild -tb ganglia-3.6.0.tar.gz Alternatively if you are interested to try prebuilt packages you can find them here. http