[ntp:questions] Just me and my Macintosh

Lee Sailer lee.sailer at direcway.com
Fri Feb 4 15:46:40 UTC 2005


I have been learning about NTP recently, and I noticed something
annoying.  My Mac works fine *unless* it goes to sleep for a few hours.
 Then it wakes up again, ntpd is still running, but it never seems to
get the time again.  If I am reading this right, it has been 16 jours
since the last query.  The mac has been awake for over an hour.

Any hints welcome.

eMac:~ root# ntpq -p
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 time0.apple.com time1.euro.appl 16 u  16h  256    0    0.000    0.000
4000.00
 ntp-1.cns.vt.ed timelord.cns.vt 16 u  16h  256    0    0.000    0.000
4000.00
 ntp-2.cns.vt.ed timelord.cns.vt 16 u  16h  256    0    0.000    0.000
4000.00
 mail.webgemshos ns2.usg.edu     16 u  16h  256    0    0.000    0.000
4000.00
eMac:~ root#

eMac:~ root# cat /etc/ntp.conf
server time.apple.com    minpoll 7  maxpoll 17
server ntp-1.vt.edu      minpoll 7  maxpoll 17
server ntp-2.vt.edu      minpoll 7  maxpoll 17
server us.pool.ntp.org   minpoll 7  maxpoll 17
driftfile /etc/ntp.drift
eMac:~ root#

from system.log

Feb  3 08:49:24 localhost ntpd[29044]: ntpd 4.1.1 at 1.786 Fri Sep 12
18:30:03 PDT 2003 (1)
Feb  3 08:49:24 localhost ntpd[29044]: precision = 8 usec
Feb  3 08:49:27 localhost ntpd[29044]: frequency initialized 0.000 from
/etc/ntp.drift
Feb  3 18:27:18 localhost ntpd[29044]: time reset -0.385160 s
Feb  3 18:27:19 localhost ntpd[29044]: synchronisation lost
Feb  3 18:40:17 localhost ntpd[29044]: time reset 0.282542 s
Feb  3 18:40:17 localhost ntpd[29044]: synchronisation lost
Feb  4 09:18:33 localhost ntpd[29044]: sendto(198.82.1.202): Can't
assign requested address
Feb  4 09:18:35 localhost ntpd[29044]: sendto(216.82.75.146): Can't
assign requested address
Feb  4 09:18:42 localhost ntpd[29044]: sendto(198.82.1.201): Can't
assign requested address
Feb  4 09:18:48 localhost ntpd[29044]: sendto(17.254.0.26): Can't
assign requested address
eMac:/var/log root# date
Fri Feb  4 10:46:00 EST 2005
eMac:/var/log root#




More information about the questions mailing list