Support Requests item #653572, was opened at 2002-12-13 18:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434893&aid=653572&group_id=43021

Category: None
Group: None
Status: Open
Priority: 9
Submitted By: Viswa (skreddy)
Assigned to: Matt Massie (massie)
Summary: GMOND: Segmentation Fault on Solaris28

Initial Comment:

I downloaded ganglia 2.5.1 and compiled on Solaris 2.8 
box as per the instructions. When I installed and 
started, I get the following error.

gmond.conf configuration
name is unspecified
owner is unspecified
latlong is unspecified
Cluster URL is unspecified
Host location is (x,y,z): unspecified
mcast_channel is 239.2.11.71
mcast_port is 8649
mcast_if is chosen by the kernel
mcast_ttl is 128
mcast_threads is 2
xml_port is 8649
xml_threads is 2
trusted hosts are: 
num_nodes is 1024
num_custom_metrics is 16
mute is 0
deaf is 0
debug_level is 10
no_setuid is 0
setuid is nobody
no_gexec is 0
all_trusted is 0
pthread_attr_init
creating cluster hash for 1024 nodes
hash_create size = 1024
hash->size is 1031
gmond initialized cluster hash
Using interface hme0
mcast listening on 239.2.11.71 8649
XML listening on port 8649
listening thread(s) have been started
listening thread(s) have been started
cleanup thread has been started
multicasting on channel 239.2.11.71 8649
gmond: cannot open /dev/kmem: Permission denied
kvm_open: Permission denied
 *** WARNING!!!!  kvm_open() failed.  prepare for a 
segfault ... *** 
*** kvm_open() failed, are you running gmond as root?
Segmentation fault


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-12-16 16:42

Message:
Logged In: NO 

-- the following has been submitted by swagner, who ported
this beast to Solaris in the first place --

There seem to be a couple different causes of this error
(not all are known):

*  Running gmond as a regular user.  The monitoring core
must be started by the superuser on Solaris.

*  gmond was linked against a 32-bit version of libkvm, and
is now attempting to open a 64-bit kernel symbol table. 
(usually, this is a different error)

*  There was some kind of miscellaneous build problem
(perhaps you used a non-sparcv9 compiler or didn't compile
against a sparcv9 set of libraries).

Output of the file command on my working gmond binary:

/usr/sbin/gmond:        ELF 64-bit MSB executable SPARCV9
Version 1, dynamically linked, not stripped

Ganglia has only been tested on Solaris 8 running in 64-bit
mode on the sparcv9 architecture.  i386 performance has not
been tested.

If none of this information proves helpful, upload either a
stack trace or a core file to this bug report ... time
permitting, I'll look at it, but I can't promise anything at
this point...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434893&aid=653572&group_id=43021

Reply via email to