ntp problems

Alex Dean alex at crackpot.org
Tue Mar 7 09:32:59 MST 2006


The clock on my Debian server is almost 45 minutes off of my other  
machines, which I thought was kinda weird since it's running ntpd.   
My OSX (10.4) laptop is syncing to time.apple.com, and its time  
agrees with the NIST clock at nist.time.gov, so I'm pretty sure those  
have the correct time.  At the same time my Powerbook says that it's  
09:29:21, the Debian machine says its 08:17:50.

For the server, /etc/openntpd/ntpd.conf has 'servers poo.ntp.org'.   
(That was the default, and I didn't see any reason to change.)  I  
tried restarting ntpd.  When the time didn't change, I found the  
following in /var/log/syslog :

kiltlifter:/var/log# more syslog | grep ntpd
Mar  7 08:12:43 localhost ntpd[3410]: ntp engine exiting
Mar  7 08:12:43 localhost ntpd[3409]: dispatch_imsg in main: pipe closed
Mar  7 08:12:43 localhost ntpd[3409]: Lost child: child exited
Mar  7 08:12:43 localhost ntpd[3409]: Terminating
Mar  7 08:13:10 localhost ntpd[3469]: ntp engine ready
Mar  7 08:13:29 localhost ntpd[3469]: peer 130.236.254.17 now valid
Mar  7 08:13:29 localhost ntpd[3469]: peer 83.67.64.230 now valid
Mar  7 08:13:31 localhost ntpd[3469]: peer 202.181.31.242 now valid
Mar  7 08:13:31 localhost ntpd[3469]: peer 194.88.2.60 now valid
Mar  7 08:13:31 localhost ntpd[3469]: peer 81.2.102.154 now valid
Mar  7 08:13:32 localhost ntpd[3469]: peer 150.101.72.73 now valid
Mar  7 08:13:35 localhost ntpd[3469]: peer 62.57.0.38 now valid
Mar  7 08:13:36 localhost ntpd[3469]: peer 61.206.115.3 now valid
Mar  7 08:14:31 localhost ntpd[3468]: adjusting local clock by  
4293.693775s
Mar  7 08:14:31 localhost ntpd[3468]: adjtime failed: Invalid argument

It seems that it knows the time is off, but it can't make the  
adjustment.  How can I get more information on that 'Invalid  
argument' in the last log entry?  I tried 'dpkg-reconfigure  
openntpd', but all that did was restart ntpd again.

alex
.





More information about the PLUG-discuss mailing list