Hi Ben:

It might help to post your gmond.conf and gmetad.conf files.

BTW, any particular reason you're compiling from source?  The provided
RPMs install fine under RH9 systems.

Cheers,

Bernard 

> -----Original Message-----
> From: Benjamin Simmons [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 24, 2004 11:53
> To: Peter Schmid
> Cc: Bernard Li; [email protected]
> Subject: Re: [Ganglia-general] Re: Web Frontend Help - fsockopen error
> 
> I have tried adding the port to /etc/services under the name 
> of gmetad. 
>  This doesn't seem to get me anywhere.   I tried to change the 
> interactive_port in the gmetad.conf file, but that parameter 
> is unknown or is parsed incorrectly based on the error 
> message Starting GANGLIA gmetad: gmetad config file error: Unknown
> Config-Option: 'interactive_port' [FAILED]
> 
> Any other thoughts as to how to open the port?  I assume that 
> gmetad is 
> supposed to do this itself but is failing for some reason on 
> my box.   I 
> am running RH9 and Apache 1.3.31, php-4.3.8, and ganglia monitor core
> 2.5.6 built from source.
> 
> Thanks in advance,
> Ben Simmons
> 
> 
> 
> Peter Schmid wrote:
> 
> > Ben,
> >
> > Having telnet open to the outside world does not matter.... you are 
> > using telnet to connect to a specific port.. not to telnet's port.
> >
> > Can you telnet to that machine with the port 8652 from any machine 
> > other than itself?
> >
> > telnet to port 8652 from machine2 to machine1:
> > machine2> telnet machine1 8652
> >
> > If that does not work.. than you need to open up port 8652 on the 
> > machines to allow access from your other machines.
> >
> > Pete.
> >
> > Benjamin Simmons wrote:
> >
> >> I can telnet and see the data if I am on that machine 
> otherwise I do 
> >> not have telnet open to the outside world I only allow ssh 
> connections.
> >>
> >> Ben
> >>
> >> Peter Schmid wrote:
> >>
> >>> Ben,
> >>>
> >>> Quickest way would be to telnet to that machine and port:
> >>>
> >>> telnet machine 8652
> >>>
> >>> If you connect.. your not blocked... you would see XML 
> data in the 
> >>> telnet session.
> >>>
> >>> HTH,
> >>>
> >>> Pete.
> >>>
> >>> Benjamin Simmons wrote:
> >>>
> >>>> How would I ensure it is not being blocked.  I am 
> Running RH9 and 
> >>>> have no firewall installed.
> >>>>
> >>>> Ben
> >>>>
> >>>> Bernard Li wrote:
> >>>>
> >>>>> Hi Ben:
> >>>>>
> >>>>> Port 8652 is the default port for XML data - have you made sure 
> >>>>> that the port is not being blocked?
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Bernard
> >>>>>  
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: [EMAIL PROTECTED]
> >>>>>> [mailto:[EMAIL PROTECTED] 
> On Behalf Of 
> >>>>>> Benjamin Simmons
> >>>>>> Sent: Wednesday, September 22, 2004 16:56
> >>>>>> To: [email protected]
> >>>>>> Subject: [Ganglia-general] Re: Web Frontend Help - fsockopen 
> >>>>>> error
> >>>>>>
> >>>>>> I have read through the archives, and just don't see 
> where in the 
> >>>>>> .conf files I have I am supposed to make modifications 
> to correct 
> >>>>>> this problem.
> >>>>>> ------Error Message ------------------
> >>>>>> Warning: fsockopen(): unable to connect to 127.0.0.1:8652 in 
> >>>>>> /var/www/html/ganglia/ganglia.php on line 273
> >>>>>>
> >>>>>> There was an error collecting ganglia data (127.0.0.1:8652): 
> >>>>>> fsockopen
> >>>>>> error: Connection refused
> >>>>>> ------Error Message ------------------
> >>>>>>
> >>>>>> I recieve this error when I try to access the index.php page 
> >>>>>> after setting up the ganglia software packages.  I get 
> the proper 
> >>>>>> response from the telnet command.  My website is 
> properly opening 
> >>>>>> php files.
> >>>>>>
> >>>>>> From the archives:
> >>>>>>
> >>>>>> ----snip------
> >>>>>> in trusted_sources put the IP of the computer (not 
> 127.0.0.1, it 
> >>>>>> doesn"t work for me).
> >>>>>> in gmetad_sources you MUST add addresse of computer 
> with gmond or 
> >>>>>> gmetad running.
> >>>>>> If 4 computers with gmond :
> >>>>>>
> >>>>>> node1 192.168.200.11 8649
> >>>>>> node2 192.168.200.12 8649
> >>>>>> node3 192.168.200.13 8649
> >>>>>> node4 192.168.200.14 8649
> >>>>>>
> >>>>>> then, killall gmetad,
> >>>>>> /usr/sbin/gmetad to restard gmetad.
> >>>>>> ----- snip---------
> >>>>>>
> >>>>>> I don't see any entries that are trusted_sources.  I see 
> >>>>>> trusted_hosts in gmond.conf
> >>>>>>
> >>>>>> I have the following data source and trusted hosts in my 
> >>>>>> gmetad.conf
> >>>>>>
> >>>>>> data_source "Viper" viper.memphis.edu 127.0.0.1 trusted_hosts 
> >>>>>> viper 127.0.0.1
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Is there another file that should exist that I didn't 
> copy over 
> >>>>>> or something else I am missing?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Ben Simmons
> >>>>>> Univ of Memphis
> >>>>>> Mech Engr Dept
> >>>>>> Memphis, TN
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> -------------------------------------------------------
> >>>>>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 
> >>>>>> 170 Project Admins to receive an Apple iPod Mini FREE for your 
> >>>>>> judgement on who ports your project to Linux PPC the best.
> >>>>>> Sponsored by IBM.
> >>>>>> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php 
> >>>>>> _______________________________________________
> >>>>>> Ganglia-general mailing list
> >>>>>> [email protected]
> >>>>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >>>>>>
> >>>>>>
> >>>>>>   
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> -------------------------------------------------------
> >>>>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be 
> one of 170 
> >>>>> Project Admins to receive an Apple iPod Mini FREE for your 
> >>>>> judgement on who ports your project to Linux PPC the best. 
> >>>>> Sponsored by IBM.
> >>>>> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php 
> >>>>> _______________________________________________
> >>>>> Ganglia-general mailing list
> >>>>> [email protected]
> >>>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >>>>>
> >>>>>  
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> -------------------------------------------------------
> >>>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be 
> one of 170 
> >>>> Project Admins to receive an Apple iPod Mini FREE for your 
> >>>> judgement on who ports your project to Linux PPC the best. 
> >>>> Sponsored by IBM.
> >>>> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php 
> >>>> _______________________________________________
> >>>> Ganglia-general mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >>>
> >>>
> >>>
> >>>
> >>
> >
> 
> 
> 
> 

Reply via email to