Thank you again Bernard.
 You are exactly right.

 My gmond.conf contain:

 module {
 name = "python_module"
 path = "modpython.so"
 params = "/usr/lib64/ganglia/python_modules"
 }

 So now I understand why the python module was loaded twice and I suppose that 
this was also
 why there the Segmentation fault appeared.

 Installing it from source probably placed the modpython.conf in the folder 
/etc/ganglia/conf.d
 even if it was also mentioned in gmond.conf

 I'll try to make the rpm package. I didn't know how to do it.
 But there seems to be a problem as it needs rrdtool-devel 1.4.4-1.el5.rf which 
needs rrdtool and libdbi, lua, perl-rrdtool, ruby, ruby-libs,
 and I already have the rrdtool 1.4.3 installed also from source.

 May be it will be a conflict after that between the versions 1.4.3 and 1.4.4.
 I have to uninstall rrdtool 1.4.3 and install 1.4.4 or may be it will be 
simply updated ?
 I don't know exactly and I have to check it somehow.

 Calin

----- Original Message -----
From: Bernard Li
Sent: 02/23/11 08:06 AM
To: Calin Floare
Subject: Re: [Ganglia-general] gmond dead but subsys locked

 Hi Calin: On Sat, Feb 19, 2011 at 5:34 AM, Calin Floare <[email protected]> 
wrote: > I've seen it too that the python_module is loaded twice, but I don't 
know > why. > I think I have to find it somehow. > > I installed Ganglia from 
source following the good IBM tutorial: > 
http://www.ibm.com/developerworks/opensource/library/l-ganglia-nagios-1/index.html
 If you followed the tutorial, you would've added the modpython stuff in 
gmond.conf. If you have that both in gmond.conf and modpython.conf, then that 
could be a reason why it's loaded twice. Can you please confirm? Also, since 
you're using a RHEL-based distribution, I would recommend that you install 
Ganglia via RPM packages as opposed to installing from source. You can build 
the RPMs by running `rpmbuild -tb --target x86_64,noarch ganglia-3.1.7.tar.gz`. 
Cheers, Bernard
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to