Posts Tagged ‘stratum’
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
- Gentoo’s HOWTO NTP
- The Network Time Protocol (NTP) Distribution
- W32tm A tool used to diagnose problems occurring with Windows Time