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 swimmingly and ganglia itself works fine. So I
> decide to go to the next step and try using Python with
> gmond. I followed the general guidelines in this article:
> 
> http://sachinsharm.wordpress.com/2013/08/19/setup-and-configure-ganglia-python-modules-on-centosrhel-6-3/
> 
> 
> But when I start up gmond I get a segfault as reported in
> /var/log/messages.
> 
> 
> Feb  5 19:58:47 home4 kernel: gmond[17992]: segfault at 8 ip
> 00000036a7ce6ceb sp 00007fffaad46bf0 error 4 in
> libpython2.6.so.1.0[36a7c00000+15d000]
> Feb  5 19:58:47 home4 abrt[18003]: Saved core dump of pid 17992
> (/usr/local/sbin/gmond) to
> /var/spool/abrt/ccpp-2014-02-05-19:58:47-17992 (4284416 bytes)
> Feb  5 19:58:47 home4 abrtd: Directory
> 'ccpp-2014-02-05-19:58:47-17992' creation detected
> Feb  5 19:58:47 home4 abrtd: Executable '/usr/local/sbin/gmond'
> doesn't belong to any package and ProcessUnpackaged is set to 'no'
> Feb  5 19:58:47 home4 abrtd: 'post-create' on
> '/var/spool/abrt/ccpp-2014-02-05-19:58:47-17992' exited with 1
> Feb  5 19:58:47 home4 abrtd: Deleting problem directory
> '/var/spool/abrt/ccpp-2014-02-05-19:58:47-17992'
> 
> 
> I'm been trying to debug this but I have to admit that I'm
> coming up blank. Running gmond with debug doesn't give
> too much information:
> 
> [root@home4 laytonjb]# gmond -d 5 -c /etc/ganglia/gmond.conf
> loaded module: core_metrics
> loaded module: cpu_module
> loaded module: disk_module
> loaded module: load_module
> loaded module: mem_module
> loaded module: net_module
> loaded module: proc_module
> loaded module: sys_module
> loaded module: python_module
> loaded module: python_module
> Segmentation fault (core dumped)
> 
> 

Could you try here stracing it?

strace -s 1024 -ff -o strace.log gmond-c /etc/ganglia/gmond.conf ?

I never had problems with Centos and Ganglia. I created my packages
myself with fpm (https://github.com/jordansissel/fpm) and also used
built packages from Epel.

-- 
pozdrawiam,
Maciej Lasyk

GPG key ID: FFA8AEEC
GPG info: http://maciek.lasyk.info/gpg.txt

Attachment: pgpK9xkxUEvr9.pgp
Description: PGP signature

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to