niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 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 Tue Jan 06, 2009 9:48 pm | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts NFS server on Solaris 10 gurgle Solaris 0 Tue Sep 04, 2007 7:05 pm
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts Need Help with Program in Perl on a Netware Server fhadzocos@gmail.com Perl 3 Fri Jul 21, 2006 1:57 pm
No new posts Problem while accessing 64 bit Server thru 32 bit client Ganesh Server 0 Fri Jul 21, 2006 1:40 pm

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
[ Time: 0.1974s ][ Queries: 20 (0.1258s) ][ GZIP on - Debug on ]