Red Hat Bugzilla – Bug 26250
ntptimeset generates errors
Last modified: 2007-04-18 12:31:13 EDT
I am trying to synchronize time to external server using ntptimeset
command part of ntp package and I ame getting the flowing errors:
[root@ns1 RPMS]# ntptimeset
5 Feb 18:53:59 ntptimeset: getnetnum: "time.nist.gov" invalid host
, line ignored
5 Feb 18:53:59 ntptimeset: getnetnum: "clepsydra.dec.com" invalid
mber, line ignored
5 Feb 18:53:59 ntptimeset: getnetnum: "clock1.unc.edu" invalid host
r, line ignored
5 Feb 18:53:59 ntptimeset: getnetnum: "ncar.ucar.edu" invalid host
, line ignored
5 Feb 18:53:59 ntptimeset: Found 0 servers, require 3 servers
Here is an info about my setup:
[root@ns1 RPMS]# rpm -q ntp adjtimex
My setup ntp setup file default with additiona of 4 ntp time servers
[[root@ns1 RPMS]# cat /etc/ntp.conf
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
multicastclient # listen on default 220.127.116.11
# Authentication delay. If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will. Note also that
# ntpd is started with a -A flag, disabling authentication, that
# will have to be removed as well.
fixed in 4.0.99k-8 and later.