Linux : NTP Error Message "kernel time sync error 0001"

This error message is logged by NTP daemon, and this means that the ntpd fails to adjust OS internal clock for some reasons.

NTP daemon adjusts OS internal clock by invoking system call named adjtimex(). Linux kernel expects the system call to be invoked regularly, as NTP daemon does so normally. When the interval becomes longer than kernel expects, this error message is logged.

Therefore, this error message is logged when NTP daemon:

  1. can not get accurate time information from network time server.
  2. has not invoked adjtimex() for a long time, longer than kernel expects.

Actually, there are no bad effects to the system even if you see this message in system log. Because OS continues to tick the OS internal clock without ntpd adjustments. Also ntpd continues to work, even after ntpd fails to get accurate time from network time server.

Solution

You can just ignore this message, since this is not fatal error but notice level message. This message can not be suppressed.

It is better to check your network, or check the network connection between NTP daemon and network time server.

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

3 Responses

  1. Janet says:

    This was a nice, concise, clearly presented explanation. It would be helpful if you could amend it with some information about how to determine the root cause of the message. I believe there are two possible root causes – (a) the ntp daemon is not getting time data from the configured ntp sources, so time adjustments are not being made; (b) the ntp daemon is getting tine data from the configured ntp sources but no time adjustments are needed (internal clock has remained highly accurate). For example, I have a server on which the ntp daemon has delivered these messages. When I run “ntpq -pn”, the output shows “*” next to one ntp server and “+” next to the other. I believe this means that the ntp daemon is getting time data from both the ntp servers and has decided that one delivers time data either quicker or with more accuracy. Since it is getting valid time data, I conclude that the “kernel time sync error 0001” warnings simply mean that there was no need to adjust the time clock. Do you agree?

  2. Arjun Prasad says:

    What is this 0001?

  1. October 6, 2015

    […] Read – Linux : NTP Error Message “kernel time sync error 0001” […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us