Hello !! Nice to meet you . My name is kyoung Su kim
i'm a researcher ( Grid ,Parallel Computing) , and i am working on
Pohang University of Science & Technology
Computer Systems Management Team
in South Korea
1. System Env.
==============================================================================
System - HP V2500
OS - HPUX 11i
make - GNU 3.79
gcc - GNU 3.3.3
perl - 5.8.3( hp vendor)
==============================================================================
Actually , I want to install ganglia toolkit our machine( hp v2500)
But , there are a lot of problem , you know
when i gmond start , output xml file
HOST NAME="0.0.0.0" IP="0.0.0.0"
as a result of , gmetad deamon is not working
i will attach installation result ,
please give a hint ~~
ps , please forwarding this mail to hpux admin.(ganglia)
i attached installation file ( txt format)
=============================================
Pohang University of Science & Technology
Computer Systems Management Team
Kim Kyoung Su (^^)~~
Email : [EMAIL PROTECTED]
MSN : [EMAIL PROTECTED]
Tel : +82 54 279 2518
Moble : +82 010 9522 7839
=============================================
1. System Env. Written by Kyoung Su 2004.7.5.Mon
==============================================================================
System - HP V2500
OS - HPUX 11i
make - GNU 3.79
gcc - GNU 3.3.3
perl - 5.8.3( hp vendor)
==============================================================================
supercom3.postech.ac.kr:/> make -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for hppa2.0w-hp-hpux11.11
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
==============================================================================
supercom3.postech.ac.kr:/> gcc -v
Reading specs from /usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/specs
Configured with: /scratch/zack/pkgbuild/3.3.1/hpux-11/gcc-3.3.3/configure
--enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as
--with-gnu-ld --with-as=/usr/local/pa64/bin/as --with-ld=/usr/local/pa64/bin/ld
--host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --prefix=/usr/local/pa64
Thread model: posix
gcc version 3.3.3
==============================================================================
supercom3.postech.ac.kr:/> perl -v
This is perl, v5.8.3 built for PA-RISC2.0
Copyright 1987-2003, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
==============================================================================
supercom3.postech.ac.kr:/> swlist
PHCO_23702 1.0 cumulative header file patch for
prot.h
PHSS_26946 1.0 HP aC++ -AA runtime libraries
(aCC A.03.37)
PHSS_30049 1.0 ld(1) and linker tools
cumulative patch
binutils 2.14
gcc 3.3.3
perl 5.8.3 perl
==============================================================================
2. To Installation Software List
1)rrdtool-1.0.48
2)ganglia-monitor-core-2.5.6
3)ganglia-webfrontend-2.5.5
==============================================================================
1)rrdtool-1.0.48 install
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia> gzip -cd
rrdtool-1.0.48.tar.gz | tar xvf -
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia/rrdtool-1.0.48> ../configure
--prefix=/usr/local/rrdtool >> configure_c
f90: Invalid option -print-search-dirs
Usage: f90 [options] files; for valid options, enter 'f90 +usage'
configure: WARNING: tclConfig.sh not found - Tcl interface won't be built
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia>make >> make_c
cgi.c:30: warning: no previous prototype for `cgiHeader'
cgi.c:47: warning: no previous prototype for `cgiDecodeString'
cgi.c:76: warning: no previous prototype for `cgiInit'
cgi.c: In function `cgiRedirect':
cgi.c:258: warning: int format, different type arg (arg 2)
gd.c: In function `gdImageBrushApply':
gd.c:173: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c: At top level:
gd.c:230: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c:319: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c: In function `gdImageString':
gd.c:484: warning: pointer targets in passing arg 1 of `strlen' differ in
signedness
gd.c: In function `gdImageStringUp':
gd.c:496: warning: pointer targets in passing arg 1 of `strlen' differ in
signedness
gd.c: At top level:
gd.c:1560: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c:1568: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c:1721: warning: no previous prototype for `gdGetWord'
gd.c:1737: warning: no previous prototype for `gdPutWord'
gd.c:1743: warning: no previous prototype for `gdGetByte'
gd.c: In function `gdImageCreateFromXbm':
gd.c:1893: warning: declaration of `h' shadows a previous local
gd.c:1836: warning: shadowed declaration is here
gd.c:1917: warning: unsigned int format, int arg (arg 3)
gd.c: In function `gdImageFilledPolygon':
gd.c:1963: warning: declaration of `y1' shadows a global declaration
/usr/local/pa64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.3/include/math.h:137:
warning: shadowed declaration is here
gd.c:1997: warning: declaration of `y1' shadows a previous local
gd.c:1963: warning: shadowed declaration is here
gd.c:1997: warning: declaration of `y2' shadows a previous local
gd.c:1963: warning: shadowed declaration is here
gd.c: In function `gdImageSetBrush':
gd.c:2097: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
gd.c: In function `gdImageSetTile':
gd.c:2123: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
gd.c: At top level:
gd.c:1557: warning: `ZeroDataBlock' defined but not used
gdpng.c:18: warning: no previous prototype for `gdImagePng'
gifsize.c:59: warning: no previous prototype for `GifSize'
parsetime.c:248: warning: no previous prototype for `EnsureMemFree'
pngsize.c:11: warning: no previous prototype for `PngSize'
rrd_graph.c: In function `rrd_graph':
rrd_graph.c:3294: warning: long unsigned int format, time_t arg (arg 3)
rrd_cgi.c: In function `main':
rrd_cgi.c:345: warning: int format, different type arg (arg 2)
rrd_cgi.c: In function `parse':
rrd_cgi.c:957: warning: subscript has type `char'
rrd_tool.c: In function `PrintUsage':
rrd_tool.c:94: warning: string length `952' is greater than the length `509'
ISO C89 compilers are required to support
rrd_tool.c: In function `HandleInputLine':
rrd_tool.c:387: warning: long unsigned int format, different type arg (arg 3)
rrdcgi.pod:114: Unknown formatting code G<gt>
trytime.c: In function `main':
trytime.c:83: warning: `%c' yields only last 2 digits of year in some locales
trytime.c:93: warning: `%c' yields only last 2 digits of year in some locales
In file included from ../src/rrd_tool.h:24,
from RRDs.xs:13:
.../config.h:191:1: warning: "VERSION" redefined
<command line>:5:1: warning: this is the location of the previous definition
Warning: Some debug info sections were missing.
PXDB aborted.
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia/rrdtool-1.0.48> make install
>> make_install_c
In file included from ../src/rrd_tool.h:24,
from RRDs.xs:13:
.../config.h:191:1: warning: "VERSION" redefined
<command line>:5:1: warning: this is the location of the previous definition
Warning: Some debug info sections were missing.
PXDB aborted.
==============================================================================
2)ganglia-monitor-core-2.5.6 install
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia> gzip -cd
ganglia-monitor-core-2.5.6.tar.gz | tar xvf -
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia>
../configure --prefix=/usr/local/ganglia
CFLAGS="-I/usr/local/rrdtool/include"
CPPFLAGS="-I/usr/local/rrdtool/include"
LDFLAGS=" -L/usr/local/rrdtool/lib"
--with-gmetad
configure: WARNING: net/if_arp.h: present but cannot be compiled
configure: WARNING: net/if_arp.h: check for missing prerequisite headers?
configure: WARNING: net/if_arp.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia/ganglia-monitor-core-2.5.6>
make >> make_c
addr.c: In function `addr_pton':
addr.c:224: warning: implicit declaration of function `strlcpy'
intf.c: In function `_intf_delete_aliases':
intf.c:131: warning: implicit declaration of function `strlcpy'
ganglia.c: In function `ganglia_sync_hash_with_xml':
ganglia.c:316: warning: implicit declaration of function `tcp_connect'
xmlparse.c:211: warning: `processInternalParamEntity' declared `static' but
never defined
file.c: In function `skip_whitespace':
file.c:122: warning: subscript has type `char'
file.c: In function `skip_token':
file.c:129: warning: subscript has type `char'
file.c:130: warning: subscript has type `char'
gexec_funcs.c: In function `gexec_cluster':
gexec_funcs.c:259: warning: implicit declaration of function `debug_msg'
gexec_funcs.c:244: warning: unused variable `gmond_fd'
gmond_config.c: In function `cb_trusted_hosts':
gmond_config.c:134: warning: implicit declaration of function `my_inet_ntop'
inetaddr.c:28: warning: missing braces around initializer
inetaddr.c:28: warning: (near initialization for `gethostbyname_mutex.m_short')
inetaddr.c: In function `g_gethostbyname':
inetaddr.c:38: warning: implicit declaration of function `inet_aton'
inetaddr.c: In function `g_inetaddr_get_interface_to':
inetaddr.c:210: warning: implicit declaration of function `close'
inetaddr.c:215: warning: passing arg 3 of `getsockname' from incompatible
pointer type
mcast.c: In function `g_mcast_in':
mcast.c:38: warning: implicit declaration of function `err_ret'
mcast.c: In function `g_mcast_socket_unref':
mcast.c:158: warning: implicit declaration of function `close'
mcast.c: In function `g_mcast_socket_is_loopback':
mcast.c:232: warning: passing arg 5 of `getsockopt' from incompatible pointer
type
mcast.c: In function `g_mcast_socket_get_ttl':
mcast.c:264: warning: passing arg 5 of `getsockopt' from incompatible pointer
type
tcp.c: In function `g_tcp_socket_new':
tcp.c:73: warning: implicit declaration of function `close'
tcp.c: In function `g_tcp_socket_server_new_interface':
tcp.c:165: warning: implicit declaration of function `err_ret'
tcp.c:188: warning: passing arg 3 of `getsockname' from incompatible pointer
type
tcp.c:135: warning: unused variable `flags'
tcp.c: In function `g_tcp_socket_server_accept':
tcp.c:229: warning: passing arg 3 of `accept' from incompatible pointer type
tcp.c: At top level:
tcp.c:83: warning: `g_tcp_socket_ref' defined but not used
dotconf.c: In function `dotconf_set_command':
dotconf.c:509: warning: cast from pointer to integer of different size
dotconf.c:509: warning: cast from pointer to integer of different size
dotconf.c: In function `dotconf_handle_command':
dotconf.c:608: warning: cast from pointer to integer of different size
dotconf.c:608: warning: cast from pointer to integer of different size
interface.c: In function `get_first_multicast_interface_callback':
interface.c:63: warning: implicit declaration of function `memcpy'
interface.c:64: warning: control reaches end of non-void function
interface.c: In function `get_first_interface_callback':
interface.c:94: warning: control reaches end of non-void function
interface.c: In function `get_interface':
interface.c:119: warning: implicit declaration of function `strncpy'
gmetad.c:24: warning: missing braces around initializer
gmetad.c:24: warning: (near initialization for `server_socket_mutex.m_short')
gmetad.c:25: warning: missing braces around initializer
gmetad.c:25: warning: (near initialization for
`server_interactive_mutex.m_short')
gmetad.c: In function `main':
gmetad.c:344: warning: implicit declaration of function `become_a_nobody'
gmetad.c:369: warning: implicit declaration of function `daemon_init'
data_thread.c: In function `data_thread':
data_thread.c:108: warning: implicit declaration of function `read'
data_thread.c:164: warning: implicit declaration of function `sleep'
server.c: In function `xml_print':
server.c:39: warning: implicit declaration of function `write'
server.c: In function `readline':
server.c:455: warning: implicit declaration of function `read'
server.c: In function `server_thread':
server.c:490: warning: cast from pointer to integer of different size
server.c:523: warning: implicit declaration of function `my_inet_ntop'
server.c:527: warning: passing arg 3 of `llist_search' from incompatible
pointer type
server.c:536: warning: implicit declaration of function `close'
process_xml.c: In function `fillmetric':
process_xml.c:157: warning: implicit declaration of function `addstring'
rrd_helpers.c:18: warning: missing braces around initializer
rrd_helpers.c:18: warning: (near initialization for `rrd_mutex.m_short')
conf.c: In function `cb_trusted_hosts':
conf.c:58: warning: implicit declaration of function `my_inet_ntop'
conf.c: In function `errorhandler':
conf.c:222: warning: return makes integer from pointer without a cast
gmond.c:22: warning: missing braces around initializer
gmond.c:22: warning: (near initialization for `mcast_socket_mutex.m_short')
gmond.c:25: warning: missing braces around initializer
gmond.c:25: warning: (near initialization for `mcast_join_socket_mutex.m_short')
gmond.c:28: warning: missing braces around initializer
gmond.c:28: warning: (near initialization for `server_socket_mutex.m_short')
gmond.c: In function `main':
gmond.c:130: warning: unused variable `mcast_if_addr'
monitor.c: In function `mcast_value':
monitor.c:81: warning: implicit declaration of function `writen'
server.c: In function `server_thread':
server.c:164: warning: passing arg 3 of `accept' from incompatible pointer type
server.c:199: warning: passing arg 3 of `llist_search' from incompatible
pointer type
listen.c: In function `mcast_listen_thread':
listen.c:254: warning: passing arg 6 of `recvfrom' from incompatible pointer
type
gmetric.c: In function `main':
gmetric.c:184: warning: implicit declaration of function `writen'
gmetric.c:31: warning: unused variable `addr'
==============================================================================
supercom3.postech.ac.kr:/home/globus/2004_ganglia/ganglia-monitor-core-2.5.6>
make install >> make_install_c
==============================================================================
4)gmond.conf configuration (/etc/gmond.conf store)
==============================================================================
name "supercom3"
owner "postech.ac.kr"
mcast_channel 239.2.11.71
mcast_port 20649
mcast_if lan0
xml_port 20649
trusted_hosts 141.223.113.3
num_nodes 1
# ./gmond start
# ps -ef
nobody 21532 1 0 21:58:41 ? 0:00 ./gmond start
# telnet localhost 20649
Trying...
Connected to localhost.
Escape character is '^]'.
<GANGLIA_XML VERSION="2.5.6" SOURCE="gmond">
<CLUSTER NAME="supercom3" LOCALTIME="1089899751" OWNER="postech.ac.kr"
LATLONG="unspecified" URL="unspecified">
<HOST NAME="0.0.0.0" IP="0.0.0.0" REPORTED="1089899743" TN="8" TMAX="20"
DMAX="0" LOCATION="unspecified" GMOND_STARTED="1089899398">
==============================================================================
5)gmetad.conf configuration (/etc/gmetad.conf store )
data_source "supercom3" 141.223.113.3:20649
gridname "supercom3"
authority "http://141.223.113.3:24580/ganglia/"
trusted_hosts 141.223.113.3 150.183.249.100 141.223.150.18
xml_port 20651
interactive_port 20652
rrd_rootdir "/usr/local/rrdtool"
==============================================================================
6)ganglia-webfrontend-2.5.5 configuration
1] /opt/hpws/apache/htdocs move into ganglia directory
2] conf.php configuration
$gmetad_root = "/usr/local/ganglia/sbin";
$rrds = "/usr/local/rrdtool";
define("RRDTOOL", "/usr/local/rrdtool/bin/rrdtool");
$ganglia_ip = "141.223.113.3";
$ganglia_port = 20652;
$gmetad_ip = $ganglia_ip;
$gmetad_port = $ganglia_port;
==============================================================================
7) gmetad confirm
supercom3.postech.ac.kr:/usr/local/ganglia/sbin> ./gmetad --debug=10
Going to run as user nobody
Sources are ...
Source: [supercom3, step 15] has 1 sources
141.223.113.3
xml listening on port 20651
interactive xml listening on port 20652
Data thread 8 is monitoring [supercom3] data source
141.223.113.3
hash_create size = 1024
hash->size is 1031
hash_create size = 50
hash->size is 53
hash_create size = 50
hash->size is 53
Updating host 0.0.0.0, metric cpu_nice
Unable to mkdir(/usr/local/rrdtool/supercom3): Error 0
==============================================================================
supercom3.postech.ac.kr:/usr/local/ganglia/sbin> telnet localhost 20652
Trying...
telnet: Unable to connect to remote host: Connection refused
==============================================================================
How Can I solving the problem ?
Please give me a Hit or tip?
Thank you for reading ~~