General Musing

blaze your trail

Posts Tagged ‘stratum

Network Time Protocol

leave a comment »

I was setting up a NTP server in my home network and tried to sync my Windows XP machine with it and received this message.

An error occurred while Windows was synchronizing with time.windows.com. The time sample was rejected because: The peer's stratum is less than the host's stratum.

Naturally I didn't find the solution without looking through a stack of NTP documentation. So I though I should post the actually problem here in layman's terms.

Your timeserver isn't updating or it's updating from a unreliable server. The stratum is the authority meter for NTP. It's numbered from 1 (attached to an atomic clock) to 15 (some guy I met in a bar).

If your stratum is more than 3 then a Windows machine won't trust your machine is reliable enough. And if it's 16 it probably means it's not updating at all, in my experience it might take as much as an hour for it to change from 16 to another number. (Although it shouldn't if it's configured correctly.)

You can find out your stratum by running the command:

/usr/bin/ntpq -c rv | grep stratum

  1. Gentoo's HOWTO NTP
  2. The Network Time Protocol (NTP) Distribution
  3. W32tm A tool used to diagnose problems occurring with Windows Time

technorati tags: , , , ,

About these ads

Written by Daniël W. Crompton (webhat)

June 10, 2006 at 5:31 am

Posted in gentoo, network

Tagged with , , , ,

Follow

Get every new post delivered to your Inbox.

Join 3,126 other followers

%d bloggers like this: