Bug 6520 - Ganglia gmond daemon fails to start
Summary: Ganglia gmond daemon fails to start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords: PATCH, Triaged, UPSTREAM
Depends on: 6874
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-20 15:44 CEST by jcl darkc
Modified: 2012-10-01 11:31 CEST (History)
4 users (show)

See Also:
Source RPM: ganglia
CVE:
Status comment:


Attachments

Description jcl darkc 2012-06-20 15:44:25 CEST
Description of problem:

Ganglia gmond daemon fails to start.

1) systemctl command returns :

# systemctl status gmond.service
gmond.service - SYSV: gmond startup script                                                                     
          Loaded: loaded (/etc/rc.d/init.d/gmond)                                                              
          Active: active (exited) since Wed, 13 Jun 2012 09:00:08 +0200; 1 weeks and 0 days ago                
          CGroup: name=systemd:/system/gmond.service                                                           
                                                                                                               
Jun 13 09:00:08 gruber.oamp.fr gmond[1841]: Starting GANGLIA gmond: [  [ok]                                                                                                
                                                                                                                                  
2) starting gmond from the command line returns:

# gmond -f                                                                                      
*** stack smashing detected ***: gmond terminated                                                              
======= Backtrace: =========                                                                                   
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f4fe488a927]                                                          
/lib64/libc.so.6(__fortify_fail+0x0)[0x7f4fe488a8f0]
/usr/lib64/ganglia/modcpu.so(disk_free_func+0x0)[0x7f4fe35084a0]
/usr/lib64/ganglia/modcpu.so(disk_total_func+0x20)[0x7f4fe35084f0]
/usr/lib64/ganglia/moddisk.so(+0x269a)[0x7f4fe32e569a]
gmond(Ganglia_collection_group_collect+0xa2)[0x407f82]
gmond(process_collection_groups+0x52)[0x4085b2]
gmond(main+0x374)[0x4042a4]
/lib64/libc.so.6(__libc_start_main+0xed)[0x7f4fe47bb32d]
gmond[0x404609]
======= Memory map: ========
00400000-0040e000 r-xp 00000000 08:07 11184                              /usr/sbin/gmond
0060d000-0060e000 r--p 0000d000 08:07 11184                              /usr/sbin/gmond
0060e000-0060f000 rw-p 0000e000 08:07 11184                              /usr/sbin/gmond
0060f000-00610000 rw-p 00000000 00:00 0 
01641000-01683000 rw-p 00000000 00:00 0                                  [heap]
7f4fe1df5000-7f4fe1e0a000 r-xp 00000000 08:07 261856                     /lib64/libgcc_s-4.6.3.so.1
7f4fe1e0a000-7f4fe2009000 ---p 00015000 08:07 261856                     /lib64/libgcc_s-4.6.3.so.1
7f4fe2009000-7f4fe200a000 rw-p 00014000 08:07 261856                     /lib64/libgcc_s-4.6.3.so.1
7f4fe200a000-7f4fe2016000 r-xp 00000000 08:07 261907                     /lib64/libnss_files-2.14.1.so
7f4fe2016000-7f4fe2215000 ---p 0000c000 08:07 261907                     /lib64/libnss_files-2.14.1.so
7f4fe2215000-7f4fe2216000 r--p 0000b000 08:07 261907                     /lib64/libnss_files-2.14.1.so
7f4fe2216000-7f4fe2217000 rw-p 0000c000 08:07 261907                     /lib64/libnss_files-2.14.1.so
7f4fe2217000-7f4fe2221000 r-xp 00000000 08:07 261918                     /lib64/libnss_nis-2.14.1.so
7f4fe2221000-7f4fe2420000 ---p 0000a000 08:07 261918                     /lib64/libnss_nis-2.14.1.so
7f4fe2420000-7f4fe2421000 r--p 00009000 08:07 261918                     /lib64/libnss_nis-2.14.1.so
7f4fe2421000-7f4fe2422000 rw-p 0000a000 08:07 261918                     /lib64/libnss_nis-2.14.1.so
7f4fe2422000-7f4fe2437000 r-xp 00000000 08:07 261899                     /lib64/libnsl-2.14.1.so
7f4fe2437000-7f4fe2636000 ---p 00015000 08:07 261899                     /lib64/libnsl-2.14.1.so
7f4fe2636000-7f4fe2637000 r--p 00014000 08:07 261899                     /lib64/libnsl-2.14.1.so
7f4fe2637000-7f4fe2638000 rw-p 00015000 08:07 261899                     /lib64/libnsl-2.14.1.so
7f4fe2638000-7f4fe263a000 rw-p 00000000 00:00 0 
...
...
...
                                                 



Version-Release number of selected component (if applicable):

rpm -qi ganglia-core
Name        : ganglia-core
Version     : 3.1.7
Release     : 7.mga2
Architecture: x86_64
Install Date: Thu 10 May 2012 10:39:36 AM CEST
Group       : Monitoring
Size        : 478968
License     : BSD
Signature   : RSA/SHA1, Sun 29 Apr 2012 08:05:10 PM CEST, Key ID b742fa8b80420f66
Source RPM  : ganglia-3.1.7-7.mga2.src.rpm
Build Date  : Sun 29 Apr 2012 08:01:38 PM CEST
Build Host  : jonund.mageia.org
Relocations : (not relocatable)
Packager    : colin <colin>
Vendor      : Mageia.Org
URL         : http://ganglia.sourceforge.net
Summary     : Cluster Core


How reproducible:


Steps to Reproduce:
1. urpmi ganglia-core
2. /usr/sbin/gmond -f
3.
Manuel Hiebel 2012-06-25 04:34:48 CEST

CC: (none) => ennael1, misc, pterjan
Source RPM: ganglia-core-3.1.7-7.mga2.src.rpm lib64ganglia1-3.1.7-7.mga2.src.rpm => ganglia

Comment 1 jcl darkc 2012-07-03 12:46:16 CEST
=>   Gmond crashs if there are active NFS mounting points.

 It's a known bug also seen here:

in debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666408

in ubuntu:
https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/910678

in fedora 15:
https://bugzilla.redhat.com/show_bug.cgi?id=689483


a)  A workaround is to apply the following command:

mv /usr/lib64/ganglia/moddisk.so /usr/lib64/ganglia/moddisk.so.broken

 then gmond will work but some infos will be lost.

b) another solution which need a patch can bee seen here:
https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/910678/comments/3

c) The best solution is to upgrade the package which contains a fix.


JC
Manuel Hiebel 2012-07-03 22:24:01 CEST

Keywords: (none) => PATCH, Triaged, UPSTREAM

Comment 2 Guillaume Rousse 2012-08-14 12:52:35 CEST
I just upgraded the package in cauldron.

CC: (none) => guillomovitch
Assignee: bugsquad => guillomovitch

Comment 3 Guillaume Rousse 2012-08-20 21:21:37 CEST
I just submitted 3.1.7-7.1.mga2 in update_testing, fixing both #6520 and #6874 at once.
David Walser 2012-09-05 18:12:58 CEST

Depends on: (none) => 6874

Comment 4 Manuel Hiebel 2012-10-01 11:31:39 CEST
update pushed

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.