Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpd not setting the clock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 595

PostPosted: Fri Mar 30, 2007 3:47 am    Post subject: ntpd not setting the clock Reply with quote

I've got ntpd set up on my computer to keep the clock in sync. When I'm running Win98, the clock will drift over time (known bug in Windows), and I depend on ntpd to correct it when I'm back in Linux. Recently, however, it's not setting the clock. I get lines in /var/log/messages such as:

Mar 29 20:40:53 TheBear ntpd[7813]: adjusting local clock by -13.434551s

but no actual adjustment takes place. ntpd is adjusting the clock skew setting so that things will eventually come back in sync, but it's slow: ten hours to correct a one-minute error. Any idea what's going wrong?
Back to top
View user's profile Send private message
oxffffff
n00b
n00b


Joined: 07 Nov 2005
Posts: 29

PostPosted: Fri Mar 30, 2007 7:14 am    Post subject: Reply with quote

ntpd is intended to adjust time slowly. If you want it to be set once (at startup), use ntpdate instead.

See http://gentoo-wiki.com/NTP, especially sections 4 and 5, for more details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum