niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » *nix » Tru64
ntp - how to force a resync with server
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Brian Haley
*nix forums beginner


Joined: 08 Mar 2005
Posts: 12

PostPosted: Tue Jan 24, 2006 3:07 pm    Post subject: Re: ntp - how to force a resync with server Reply with quote

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

PostPosted: Mon Jan 23, 2006 5:48 pm    Post subject: ntp - how to force a resync with server Reply with 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>


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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Dec 19, 2014 12:12 pm | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix, external exchange server conflict frankos44 Postfix 0 Fri Oct 15, 2010 10:43 am
No new posts Internal Server Error 500 chrislo2004 networking 0 Fri Jul 30, 2010 3:04 am
No new posts Server high ping response & sometimes timeouts chrislo2004 Postfix 0 Thu Jul 29, 2010 2:45 am
No new posts Where is postfix getting this server name? cgaraffa Postfix 0 Tue Mar 24, 2009 2:42 pm
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Privacy Policy
[ Time: 0.0692s ][ Queries: 20 (0.0408s) ][ GZIP on - Debug on ]