FC 1: NTPD not keeping time correctly
Clint Harshaw
clint at penguinsolutions.org
Thu Sep 9 14:30:46 UTC 2004
Alexander Dalloz wrote:
> It does not sync. Add to ntp.conf
>
> restrict 66.187.233.4 mask 255.255.255.255 nomodify notrap noquery
>
> and restart the ntpd service.
>
> Alexander
I've added that line, and here is additional output:
# egrep -v '^$|^#' /etc/ntp.conf
restrict default ignore
restrict 66.187.233.4 mask 255.255.255.255 nomodify notrap noquery
restrict 127.0.0.1
server 66.187.233.4
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys
# /usr/sbin/ntpq -p
remote refid st t when poll reach delay offset
jitter
==============================================================================
clock1.redhat.c 0.0.0.0 16 u - 256 0 0.000 0.000
4000.00
# host 66.187.233.4
4.233.187.66.in-addr.arpa domain name pointer clock1.redhat.com.
and this output from tail -f /var/log/messages immediately after a
restart of ntpd (in RH->System Settings->Server Settings->Services):
Sep 9 10:26:26 localhost ntpd[10965]: ntpd exiting on signal 15
Sep 9 10:26:26 localhost ntpd: ntpd shutdown succeeded
Sep 9 10:26:34 localhost ntpdate[11965]: no server suitable for
synchronization found
Sep 9 10:26:34 localhost ntpd: failed
Sep 9 10:26:34 localhost ntpd[11970]: ntpd 4.1.2 at 1.892 Wed Oct 29
06:06:59 EST 2003 (1)
Sep 9 10:26:34 localhost ntpd[11970]: precision = 14 usec
Sep 9 10:26:34 localhost ntpd[11970]: kernel time discipline status 0040
Sep 9 10:26:34 localhost ntpd[11970]: frequency initialized 0.000 from
/var/lib/ntp/drift
Sep 9 10:26:34 localhost ntpd: ntpd startup succeeded
The message that there is "no server suitable ..." makes me think I
should try an alternate clock server, and put the ip address in the
ntp.conf file. But I am reluctant to change configuration files that I
don't understand.
Am I reading this output correctly?
Thanks,
Clint
More information about the fedora-list
mailing list