On Tue, 23 Jul 2002, Steven Wagner wrote: > Martin Margo wrote: > > Hi all, > > I have been having some problem with > > Gmetad. I have installed the program > > and it seems to work fine. I specified > > both the sources and trusted_host files > > and I start up the gmetad daemon. > > > > % sudo gmetad > > 127.0.0.1 > > xxx.xxx.xx.33 > > xxx.xxx.xx.42 > > xxx.xxx.xx.34 > > xxx.xxx.xx.36 > > xxx.xxx.32.118 > > % > > > > > > > > I went back to my machine (xxx.xxx.32.118) > > and try to get the data from the Gmetad > > > > % telnet gmetad_host 8651 > > Trying xxx.xxx.xx.xx... > > Connected to gmetad_host. > > Escape character is '^]'. > > Connection closed by foreign host. > > % > > > > What is wrong? My machine ip address is > > inside the trusted host. Any hints or > > clarification is greatly appreciated > > In about this order, I'd try the following: > > Wait a few minutes. > Check the log (by default, $GMETAD_INSTALL_ROOT/log/gmetad.log) > If the log "looks" normal, try contacting the last host that gmetad says > it's contacting in the log. I don't know whether this is a peculiarity to > the Sun socket library or what, but gmetad does not recover well from a > stutter in the XML feed (at least, that's what it looks like is happening) > - it hangs the collection thread entirely. Something to do with timeouts > not happening... not sure exactly. > > It may also help to reorder or simplify the gmetad_sources file. > > I end up at least rebooting gmetad (on my Sun monitoring head end) at least > twice a week. Sometimes as often as once a day. No one else has > complained of this so it might be my environment. > > This info also applies to the person who just e-mailed the list. So I hope > they're reading. :) > Hi Steven, thanks a lot for your help. I checked out the logs and restarted the daemon couple of times, and waited for 5-10 minutes. I took a look at the daemon logs and in it, it said
Use of uninitialized value in hash element at ./gmetad line 109. over and over again to the end of the log files. I don't know if this is normal, because I think it is only warnings and it shows up because the strict style is used. Is this normal though? And the log file did not say anything about any host that is being contacted by gmetad. I am using Redhat 7.2 btw. I also tried to simplify the sources and the trusted_host, but the same error occurs. Any further suggestion? Martin W. Margo

