|
|
|
|
|
|
| Author |
Message |
Brian Haley *nix forums beginner
Joined: 08 Mar 2005
Posts: 12
|
Posted: Tue Jan 24, 2006 3:07 pm Post subject:
Re: ntp - how to force a resync with server
|
|
|
banzai wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
banzai *nix forums beginner
Joined: 13 May 2005
Posts: 5
|
Posted: Mon Jan 23, 2006 5:48 pm Post subject:
ntp - how to force a resync with server
|
|
|
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> |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Tue Jan 06, 2009 9:48 pm | All times are GMT
|
|
Free SMS | Problem Mortgage | Problem Mortgage | Debt Consolidation | Free phpBB forum
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|