Date: Tue, 13 Oct 2009 12:02:33 -0400 From: Jon Radel <jon@radel.com> To: Jacques Henry <caramba696@googlemail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: NTP Client synchronization with a Windows 2003/2008 Message-ID: <4AD4A499.5060805@radel.com> In-Reply-To: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com> References: <2345d18f0910130813j6a2bbde0sec59647f44d43585@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Jacques Henry wrote: > Hello, > > I am using a System based on FreeBSD 6.3. > On this System an automatically generated ntpd.conf file is generated in > order to synchronize the System clock with a NTP Server. I want to use a > Windows 2003 or 2008 Server to act as the NTP Server. On the Windows System > the NTP Server (Windows Time Service) is *correctly* running. The thing is > that even if there are NTP traffic between the client and the Server (NTP > Client and Server IP packet), My FreeBSD is not synchronizing at all: > > freebsd-client>ntpq -p 127.0.0.1 > remote refid st t when poll reach delay offset > jitter > ======================================================= > NTP_server 192.168.10.6 2 u 103 1024 1 1.037 -587367 > 0.002 > > > As you can see the offset is huge and never decreases as in a normal way... > > My ntpd.conf file looks like: > ----------- > # File is automatically generated > # Do not edit > tinker panic 1 > tinker step 1 My man page for ntp.conf clearly states in regards to the tinker command: The default values of these variables have been carefully optimized for a wide range of network speeds and reliability expectations. In general, they interact in intricate ways that are hard to predict and some combinations can result in some very nasty behavior. Very rarely is it necessary to change the default values; but, some folks cannot resist twisting the knobs anyway and this com- mand is for them. Emphasis added: twisters are on their own and can expect no help from the support group. so the very first thing you might want to try is to comment out the tinker commands, in particular the panic one. I'm not sure that after you set the panic threshold to 1 second you should expect your ntpd to pay any attention to servers with an offset of 587 seconds. If that fails, consider setting ntpdate_enable="YES" ntpdate_hosts="NTP_server" in your /etc/rc.conf and simply stepping to the correct time at boot time. In short, I don't think this has anything with a Windows server being involved, and everything to do with starting off almost 10 minutes off and a config file that says to never make a step correction larger than 1 second and to panic if you see an offset of over 1 second. -- --Jon Radel jon@radel.com [-- Attachment #2 --] 0 *H 010 + 0 *H 100\^ Xq0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 090225041326Z 100225041326Z0^10URadel10U* Jon Thomas10UJon Thomas Radel10 *H jon@radel.com0"0 *H 0 O箩js;:|+\&W4fMcjDX&̡4g;}we62xrqF?6K#zjdf~pC.l5ծ>f%!T`O\BIe Gv$l\9BbkOBHnKl-q; MlL (ٕ ,OJ%gCqb!?hض2y *0(0U0 jon@radel.com0U0 0 *H SWWƳN&⼮i#E[%Ҟ';uT}|m}^yըO-ʧ}BYp#tcSu Bj8+G$bC4g/qi 77Stڄկ<`SNfT00\^ Xq0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 090225041326Z 100225041326Z0^10URadel10U* Jon Thomas10UJon Thomas Radel10 *H jon@radel.com0"0 *H 0 O箩js;:|+\&W4fMcjDX&̡4g;}we62xrqF?6K#zjdf~pC.l5ծ>f%!T`O\BIe Gv$l\9BbkOBHnKl-q; MlL (ٕ ,OJ%gCqb!?hض2y *0(0U0 jon@radel.com0U0 0 *H SWWƳN&⼮i#E[%Ҟ';uT}|m}^yըO-ʧ}BYp#tcSu Bj8+G$bC4g/qi 77Stڄկ<`SNfT0?0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 030717000000Z 130716235959Z0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00 *H 0 Ħ<UsUNʙZhup[v:aQP 0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380 *H HP. fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^ Xq0 + 0 *H 1 *H 0 *H 1 091013160233Z0# *H 1Ds:l'g0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 +71x0v0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^ Xq0*H 1xv0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^ Xq0 *H ̢|͞:{Df-q<bSb&3ig7Loa%py$P,--nb56ߴ^<Lohq?P60gi8$ɓ7S(^z >[#=HXɛ3Ȥ68;"i;>Nnyy n?QwL?uM5E>]Eq0$+PQ<7TKj#g _Gd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AD4A499.5060805>
