Hi Howard:

On Sun, Jun 8, 2008 at 8:47 AM, howard chen <[EMAIL PROTECTED]> wrote:

> I have compiled and installed gmond & gmetad
> While starting gmond is okay (confirmed by telnet localhost 8649), but
> I failed to start gmetad,
>
> e.g.
>
> /usr/sbin/gmetad --debug=1
> Sources are ...
> Source: [cluster-a, step 15] has 1 sources
>        127.0.0.1
> tcp_listen() on interactive_port failed: Address already in use
>
>
> /etc/gmetad.conf:
>
> data_source "cluster-a" localhost
> trusted_hosts 127.0.0.1
> xml_port 8652
>
>
> and my netstat,
>
> tcp        0      0 *:8649                      *:*
>     LISTEN
> tcp        0      0 *:mysql                     *:*
>     LISTEN
> tcp        0      0 localhost:smtp              *:*
>     LISTEN
> tcp        0      0 *:http                      *:*
>     LISTEN
> udp        0      0 239.2.11.71:8649            *:*

These are comments from gmetad.conf:

#-------------------------------------------------------------------------------
# The port gmetad will answer requests for XML
# default: 8651
# xml_port 8651
#
#-------------------------------------------------------------------------------
# The port gmetad will answer queries for XML. This facility allows
# simple subtree and summation views of the XML tree.
# default: 8652
# interactive_port 8652

Your xml_port is conflicting with the default setting for
interactive_port -- typically there is no reason to change these port
numbers around.

Cheers,

Bernard

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to