Kvvesdan Gabor wrote:
as I see OpenNPTd doesn't have a seprated mailing list, but we can
say it is an OpenBSD-related software, that's why I'm writing here,
but actually I use FreeBSD. So, I've installed OpenNTPd from ports
collection, and it synchronizes my servers time correctly, but I
can't sync to the server. I've tried it with a windows-client, and
the error message was the following:
The time sample was rejected because: The peer's stratum is less than
the host's stratum.
I don't know the NTP protocol on depth, but I need a quick solution
for this. Do You have any idea why it doesn't work with windows?
Unfortunately, I haven't had an opportunity to try it with a
unix-like client, maybe this is just some kind of incompatibility.
Could You test it please? The server's domain is: time.t-hosting.hu.
That's the OpenNTPD server rather than the reference you're trying to
sync the OpenNTPD server to? If so it appears normal, the only
potential issue I see is that it has a relatively high stratum of 5.
I would guess that the Windows client you're trying to use rejects the
reference because of the stratum. (There's no particularly good reason
for that, even at stratum 5 it should easily be accurate within a
hundred milliseconds; right now it's 30ms or so). If that's the case
then your options are a) use a lower stratum reference source on the
OpenNTPD server (such as the public stratum 2 "pool" servers) so its
stratum is lower, or b) use a different NTP client on your Windows box.
You can accomplish a) by replacing the "server" and "servers" directives
in your ntpd.conf with simply "servers hu.pool.ntp.org".
I did find an apparent DNS problem with this service: one of the DNS
servers (ns2.t-hosting.hu) returns NXDOMAIN for time.t-hosting.hu. The
other is OK.
$ ntpdate -d time.t-hosting.hu.
[...]
server 217.20.133.7, port 123
stratum 5, precision -21, leap 00, trust 000
refid [217.20.133.7], delay 0.36691, dispersion 8.00177
transmitted 4, in filter 4
reference time: c64e2091.962fffff Mon, Jun 6 2005 11:08:33.586
originate timestamp: c64e23bc.e856d7ff Mon, Jun 6 2005 11:22:04.907
transmit timestamp: c64e23bd.0b59146e Mon, Jun 6 2005 11:22:05.044
filter delay: 0.37607 0.36691 0.36742 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.038038 0.033128 0.034248 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.36691, dispersion 8.00177
offset 0.033128
ntpdate[961]: adjust time server 217.20.133.7 offset 0.033128 sec
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.