Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-13-2004, 01:28 PM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat
Posts: 11

Rep: Reputation: 0
Help !! NTPD time sync steps instead of slews

I have ntp time synchronization setup between several Redhat 7.3 client machines (default install of everything with NO updates) which sync to 2 local ntpd timeservers which are sync'd to 3 stratum 2 servers on the net.

Everything Sync's fine but I notice that on most of my client machines the time is stepped instead of slewed a couple of times a week. This causes my application software to fail in different ways depending on how big the change is and if the change is forwards or backwards. Can I prevent the ntpd client from EVER stepping the time ? I step change the time at bootup using ntpdate (I am already doing this) and then when ntpd starts, the machines start polling every 1024 seconds (17 min) against my time servers and should stay synchronized. There should never be a reason for ntpd to step-change the time. Also ....what are the fudge statements used for.

The error messages I see in the /var/log/messages file on just about every machine (about 30 machines) appear at random and look like this :

Mar 24 10:21:15 server04 ntpd[807]: synchronisation lost
Mar 24 10:25:41 server04 ntpd[807]: time reset 1.916137 s
Mar 24 10:25:41 server04 ntpd[807]: synchronisation lost
Mar 24 10:45:10 server04 ntpd[807]: time reset -3.469102 s
Mar 24 10:45:10 server04 ntpd[807]: synchronisation lost
Mar 24 11:08:03 server04 ntpd[807]: time reset 14.546810 s

The "time reset "XXX.XXX s" is what is killing me since it steps the time instead of skewing.

A "ps -ef |grep ntp" on both the server and the client reveals :

ntp 807 1 0 Jan02 ? 00:00:00 ntpd -U ntp

My config file on my stratum 3 servers that synch to the internet stratum 2 servers is as follows :

server # local clock
fudge stratum 10
server # Stratum 2
server # Stratum 2
server # Stratum 2
driftfile /etc/ntp/drift
broadcastdelay 0.008
authenticate no

My client configuration is as follows :

server # local clock
fudge stratum 10
server NTPhost1 # Primary Company NTP server
server NTPhost2 # Secondary Company NTP server
driftfile /etc/ntp/drift
broadcastdelay 0.008
authenticate no

I have tested all of the ntp time servers at stratum 1 and stratum2 from my location and have picked the 3 most reliable.

Last edited by ne1scott; 04-13-2004 at 04:40 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
ntpd time server problem MGrosskopf Linux - Networking 0 02-06-2005 08:57 AM
ntpd not correcting local time plythgam Linux - Software 1 08-16-2004 04:12 PM
Howto use ntpd time synchronization??? Schmurff Linux - Software 1 03-10-2004 11:20 PM
Sync time u4113072 Linux - General 2 11-21-2002 10:28 AM

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration