Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* ntp - how to force a resync with server
@ 2006-01-23 17:48 banzai
  2006-01-24 15:07 ` Brian Haley
  0 siblings, 1 reply; 2+ messages in thread
From: banzai @ 2006-01-23 17:48 UTC (permalink / raw)


My ntp client is 6.4s behind the server, apparently the client time should 
'slow down' until corrected as opposed to step back (which would not be 
good). Correction doesn't seem to be taking place. Any ideas ?

ntpclient:root>  ntpdate -q ntpserver
server 10.52.146.99, stratum 1, offset -6.477424, delay 0.02599
23 Jan 16:18:22 ntpdate[2133]: step time server 10.52.146.99 
offset -6.477424 sec
client:root>


client:root> more /etc/ntp.conf
#
#  XNTPD Configuration File (template for NTP V3)
#
#
# Specify a filename for the driftfile created by xntpd.
# /etc/ntp.drift is the default.
#
driftfile /etc/ntp.drift
#
#
#
#
# Specify several NTP servers and/or peers (See the xntpd documentation
# for recommendations on selecting servers and peers).
# NOTE: Be sure to specify the version number of the server/peer:
#
#               peer host1 version 2        # xntpd V2
#               server host2 version 1      # ntpd V1
#               server host3 version 3      # xntpd V3
#
# For further information on configuration options, see the xntpd
# documentation.  If you have a local accurate clock (radio clock, etc),
# you will need to specify further configuration options.
#

#Server and peer configuration

server ntpserver  version 3


client:root> more /etc/ntp.drift
2.023 0
client:root>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ntp - how to force a resync with server
  2006-01-23 17:48 ntp - how to force a resync with server banzai
@ 2006-01-24 15:07 ` Brian Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Haley @ 2006-01-24 15:07 UTC (permalink / raw)


banzai wrote:
> My ntp client is 6.4s behind the server, apparently the client time should 
> 'slow down' until corrected as opposed to step back (which would not be 
> good). Correction doesn't seem to be taking place. Any ideas ?
> 
> ntpclient:root>  ntpdate -q ntpserver
> server 10.52.146.99, stratum 1, offset -6.477424, delay 0.02599
> 23 Jan 16:18:22 ntpdate[2133]: step time server 10.52.146.99 
> offset -6.477424 sec
> client:root>

NTP will re-sync slowly so that nothing notices, but if you want to do 
it immediately run 'ntpdate -b server'.  It's on the ntpdate man page...

-Brian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-24 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-23 17:48 ntp - how to force a resync with server banzai
2006-01-24 15:07 ` Brian Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox