[AG-TECH] ntpd help

Robert Olson 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       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:
> agdisplay agdisplay.motlabs.com
> agvideo   agvideo.motlabs.com
> 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:
>  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 ( and I do not get a
>Any help would be appreciated.
>Kabe VanderBaan, Senior Research Engineer
>Networks and Infrastructure Research, Motorola Labs
>Phone: 847-576-1832
>Cell: 847-980-4100

More information about the ag-tech mailing list