[AG-TECH] ntpd help
olson at mcs.anl.gov
Mon Jan 7 12:12:08 CST 2002
You shouldn't have had to touch the hosts file; DNS should provide all the
resolution you need. RH ships with the localhost entry in the hosts file.
You *don't* want agvideo to be an alias for localhost. That is why you are
getting that error.
I'd advocate having /etc/hosts contain only
127.0.0.1 localhost.localdomain localhost
use DNS for hostname resolution,and make sure the hostname command returns
a fully qualified hostname.
At 11:39 AM 1/7/2002 -0600, Kabe Vanderbaan wrote:
>I am trying to get ntpd running correctly under Redhat 7.2. My host
>file has 3 entries:
>18.104.22.168 agdisplay agdisplay.motlabs.com
>22.214.171.124 agvideo agvideo.motlabs.com
>126.96.36.199 agaudio agaudio.motlabs.com
>When I try to run ntpd, I get this error:
>localhost not found
>So I added this to the host file:
>127.0.0.1 agvideo localhost.localdomain localhost
>And ntpd is happy (ntpdc -p returns ag.mcs.anl.gov), however, when I run
>vrm-eventlistener, it reports:
>hostname lookup returns localhost (127.0.0.1) and I do not get a
>Any help would be appreciated.
>Kabe VanderBaan, Senior Research Engineer
>Networks and Infrastructure Research, Motorola Labs
More information about the ag-tech