Issues With Ntp Server (W32Time)

TrexXx

New member
Joined
Sep 28, 2010
Messages
1
Location
Paris
Hello everyone,

Here's my problem : I have two windows 2008 server in which I installed the w32time service. After I try to synchronize from Linux with the command : "sudo ntpdate IP". It works with one server but not with the other. Both servers have the same configuration (all keys in regedit are the same), but one work and the other doesnt.

Here are my log files if it can help :

For the working server :
Code:
149643 09:06:07.5034915s - ---------- Log File Opened -----------------
149643 09:06:07.5034915s - CurSpc:15625000ns  BaseSpc:15625000ns  SyncToCmos:No
149643 09:06:07.5034915s - PerfFreq:3579545c/s
149643 09:06:07.5034915s - ReadConfig: Found provider 'NtpClient':
149643 09:06:07.5034915s - ReadConfig:   'Enabled'=0x00000001
149643 09:06:07.5034915s - ReadConfig:   'DllName'='%systemroot%\system32\w32time.dll'
149643 09:06:07.5034915s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
149643 09:06:07.5034915s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
149643 09:06:07.5034915s - ReadConfig:   'InputProvider'=0x00000001
149643 09:06:07.5034915s - ReadConfig: Found provider 'NtpServer':
149643 09:06:07.5034915s - ReadConfig:   'Enabled'=0x00000001
149643 09:06:07.5034915s - ReadConfig:   'DllName'='%systemroot%\system32\w32time.dll'
149643 09:06:07.5044680s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
149643 09:06:07.5044680s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
149643 09:06:07.5044680s - ReadConfig:   'InputProvider'=0x00000000
149643 09:06:07.5044680s - ReadConfig: 'PhaseCorrectRate'=0x00000001 (2)
149643 09:06:07.5044680s - ReadConfig: 'UpdateInterval'=0x00057E40 (2)
149643 09:06:07.5044680s - ReadConfig: 'FrequencyCorrectRate'=0x00000004 (2)
149643 09:06:07.5044680s - ReadConfig: 'PollAdjustFactor'=0x00000005 (2)
149643 09:06:07.5044680s - ReadConfig: 'LargePhaseOffset'=0x02FAF080 (2)
149643 09:06:07.5044680s - ReadConfig: 'SpikeWatchPeriod'=0x00000384 (2)
149643 09:06:07.5044680s - ReadConfig: 'HoldPeriod'=0x00000005 (2)
149643 09:06:07.5044680s - ReadConfig: 'MinPollInterval'=0x0000000A (2)
149643 09:06:07.5044680s - ReadConfig: 'MaxPollInterval'=0x0000000F (2)
149643 09:06:07.5044680s - ReadConfig: 'AnnounceFlags'=0x00000005 (2)
149643 09:06:07.5044680s - ReadConfig: 'LocalClockDispersion'=0x0000000A (2)
149643 09:06:07.5044680s - ReadConfig: 'MaxNegPhaseCorrection'=0x0000D2F0 (2)
149643 09:06:07.5044680s - ReadConfig: 'MaxPosPhaseCorrection'=0x0000D2F0 (2)
149643 09:06:07.5044680s - ReadConfig: 'EventLogFlags'=0x00000002 (2)
149643 09:06:07.5044680s - ReadConfig: 'MaxAllowedPhaseOffset'=0x00000001 (2)
149643 09:06:07.5044680s - ReadConfig: 'TimeJumpAuditOffset'=0x00007080 (2)
149643 09:06:07.5044680s - lastClockRate=156250, clockPrecision=-6
149643 09:06:07.5044680s - SetTimeSlipNotification succeeds with 0x00000000.
149643 09:06:07.5044680s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
149643 09:06:07.5054445s -   DomainHierarchy: LSA role change notification. Redetecting.
149643 09:06:07.5083740s - ClockDisciplineThread: Starting: SetUnsync: LI:0 S:1 RDl:0 RDs:100000000 TSF:0x0  LastUTC:77748937
149643 09:06:07.5083740s - ClockDispln: we're a reliable time service with no time source: LS: 0, TN: 864000000000, WAIT: 86400000
149643 09:06:07.5083740s - Starting Providers.
149643 09:06:07.5083740s - Starting 'NtpClient', dll:'C:\Windows\system32\w32time.dll'
149643 09:06:07.5083740s - LoadLibrary
149643 09:06:07.5083740s - NtpTimeProvOpen("NtpClient") called.
149643 09:06:07.5093505s - StartNtpProv
149643 09:06:07.5093505s - sysPrecision=-6, systmeClockResolution=156250
149643 09:06:07.5093505s - NtpProvider: Created 2 sockets (0 listen-only): [::]:123, 0.0.0.0:123
149643 09:06:07.5093505s - StartListeningThread completed!
149643 09:06:07.5093505s - PeerPollingThread: waiting forever
149643 09:06:07.5093505s - StartPeerPollingThread completed!
149643 09:06:07.5093505s - ReadConfig: 'AllowNonstandardModeCombinations'=0x00000001 (2)
149643 09:06:07.5093505s - ReadConfig: 'CompatibilityFlags'=0x80000000 (2)
149643 09:06:07.5093505s - ReadConfig: 'SpecialPollInterval'=0x00093A80 (2)
149643 09:06:07.5093505s - ReadConfig: 'ResolvePeerBackoffMinutes'=0x0000000F (2)
149643 09:06:07.5093505s - ReadConfig: 'ResolvePeerBackoffMaxTimes'=0x00000007 (2)
149643 09:06:07.5093505s - ReadConfig: 'EventLogFlags'=0x00000001 (2)
149643 09:06:07.5093505s - ReadConfig: 'LargeSampleSkew'=0x00000003 (2)
149643 09:06:07.5103270s - ReadConfig: 'Type'=NTP (2)
149643 09:06:07.5103270s - ReadConfig: 'NtpServer'=time.windows.com,0x9 (2)
149643 09:06:07.5103270s - ReadConfig: 'ManualPeerList'(parsed)='time.windows.com,0x9'
149643 09:06:07.5103270s - AddNewPendingPeer: manual
149643 09:06:07.5103270s - StartListeningThread completed!
149643 09:06:07.5103270s - PeerPollingThread: waiting 0.000s
149643 09:06:07.5103270s - StartPeerPollingThread completed!
149643 09:06:07.5103270s - NtpClient started.
149643 09:06:07.5103270s - Starting 'NtpServer', dll:'C:\Windows\system32\w32time.dll'
149643 09:06:07.5103270s - LoadLibrary
149643 09:06:07.5103270s - NtpTimeProvOpen("NtpServer") called.
149643 09:06:07.5103270s - ReadConfig: 'AllowNonstandardModeCombinations'=0x00000001 (2)
149643 09:06:07.5103270s - ReadConfig: 'EventLogFlags'=0x00000000 (0)
149643 09:06:07.5103270s - PeerPollingThread: WaitTimeout
149643 09:06:07.5103270s - Resolving manual peer: time.windows.com,0x9
149643 09:06:07.5103270s - PeerPollingThread: PeerListUpdated
149643 09:06:07.5103270s - PeerPollingThread: waiting forever
149643 09:06:07.5405985s - Create new peer associations: #1
149643 09:06:07.5405985s - Association: (Local) 0.0.0.0:123 => 207.46.197.32:123 (Remote)
149643 09:06:07.5405985s - Created reachability group: (
149643 09:06:07.5405985s - 207.46.197.32:123,
149643 09:06:07.5405985s - )
149643 09:06:07.5405985s - PollIntervalChange(): clear: host 0 = max 17 
149643 09:06:07.5405985s - PeerPollingThread: waiting 0.000s
149643 09:06:07.5405985s - StartListeningThread completed!
149643 09:06:07.5405985s - PeerPollingThread: waiting 0.000s
149643 09:06:07.5405985s - StartPeerPollingThread completed!
149643 09:06:07.5405985s - NtpServer started.
149643 09:06:07.5405985s - Successfully started 2 providers.
149643 09:06:07.5405985s - /--TimeProvider: All providers started
149643 09:06:07.5405985s - | Name:NtpClient, Started:1, Input:1, Marked:0, RefCount:0, DllName:C:\Windows\system32\w32time.dll
149643 09:06:07.5405985s - | Name:NtpServer, Started:1, Input:0, Marked:0, RefCount:0, DllName:C:\Windows\system32\w32time.dll
149643 09:06:07.5405985s - >--
149643 09:06:07.5405985s - | Total:2, Input: 1, Marked: 0
149643 09:06:07.5405985s - \--
149643 09:06:07.5405985s - PeerPollingThread: WaitTimeout
149643 09:06:07.5405985s - Reachability: Attempting to contact peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123).
149643 09:06:07.5405985s - Polling peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:06:07.5405985s - Sending packet to time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123) in Win2K detect mode, stage 1.
149643 09:06:07.5405985s - PollIntervalChange(time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)): reclamp: 17 -> 10 (min=4, max=17, sys=10)
149643 09:06:07.5415750s - Peer poll: Max:604800.0000000s (special) Cur:00.0000000s
149643 09:06:07.5415750s - PeerPollingThread: waiting 604800.000s
149643 09:06:07.5415750s - PeerPollingThread: PeerListUpdated
149643 09:06:07.5415750s - PeerPollingThread: waiting 604800.000s
149643 09:06:07.5415750s - W32TmServiceMain: waiting i16.000s (1024.000s)
149643 09:06:07.5415750s - W32TmServiceMain: Network Topology Change
149643 09:06:07.5415750s - TimeProvCommand([NtpClient], TPC_NetTopoChange) called.
149643 09:06:07.5415750s - NtpProvider: Network Topology Change
149643 09:06:07.5415750s - Reachability:  removing peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123).  LAST PEER IN GROUP!
149643 09:06:07.5415750s -   Peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123) never sync'd, resync now!
149643 09:06:07.5415750s -   Peers reset: p-p:0 a-p:1 a-x:0
149643 09:06:07.5425515s - NtpProvider: Created 2 sockets (0 listen-only): [::]:123, 0.0.0.0:123
149643 09:06:07.5425515s - StartListeningThread completed!
149643 09:06:07.5425515s - PeerPollingThread: waiting 1.500s
149643 09:06:07.5425515s - StartPeerPollingThread completed!
149643 09:06:07.5425515s - TimeProvCommand([NtpServer], TPC_NetTopoChange) called.
149643 09:06:07.5425515s - W32TmServiceMain: waiting i16.000s (1024.000s)
149643 09:06:07.5425515s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
149643 09:06:07.5425515s - PeerPollingThread: PeerListUpdated
149643 09:06:07.5425515s - Logging error: NtpClient has been configured to acquire time from one or more time sources, however none of the sources are currently accessible and no attempt to contact a source will be made for 1 minutes. NTPCLIENT HAS NO SOURCE OF ACCURATE TIME.
149643 09:06:07.5425515s - PeerPollingThread: waiting 1.500s
149643 09:06:09.0424555s - PeerPollingThread: WaitTimeout
149643 09:06:09.0424555s - Resolving manual peer: time.windows.com,0x9
149643 09:06:09.0424555s - Create new peer associations: #1
149643 09:06:09.0424555s - Association: (Local) 0.0.0.0:123 => 207.46.197.32:123 (Remote)
149643 09:06:09.0424555s - Created reachability group: (
149643 09:06:09.0424555s - 207.46.197.32:123,
149643 09:06:09.0424555s - )
149643 09:06:09.0424555s - PollIntervalChange(): clear: host 0 = max 17 
149643 09:06:09.0424555s - PeerPollingThread: waiting 0.000s
149643 09:06:09.0424555s - PeerPollingThread: PeerListUpdated
149643 09:06:09.0424555s - Reachability: Attempting to contact peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123).
149643 09:06:09.0424555s - Polling peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:06:09.0424555s - Sending packet to time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123) in Win2K detect mode, stage 1.
149643 09:06:09.0424555s - PollIntervalChange(time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)): reclamp: 17 -> 10 (min=4, max=17, sys=10)
149643 09:06:09.0424555s - Peer poll: Max:604800.0000000s (special) Cur:00.0000000s
149643 09:06:09.0424555s - PeerPollingThread: waiting 604800.000s
149643 09:06:09.0424555s - PeerPollingThread: WaitTimeout
149643 09:06:09.0424555s - PeerPollingThread: waiting 604800.000s
149643 09:06:09.4955515s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE
149643 09:06:23.5415275s - W32TmServiceMain: timeout
149643 09:06:23.5415275s - Sample Prepared at 129291879835415275 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:06:23.5415275s - W32TmServiceMain: waiting 1024.000s
149643 09:23:27.4759915s - W32TmServiceMain: timeout
149643 09:23:27.4759915s - Sample Prepared at 129291890074759915 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:23:27.4759915s - W32TmServiceMain: waiting 1024.000s
149643 09:25:09.8883820s - RPC Caller is WIN2008PS\Administrator (S-1-5-21-4214912115-2539929437-2430267734-500)
149643 09:25:09.8883820s - RPC Call Attribute is local=1, kernel=0, session=0, authentication=6, protocol=2, OpNum=0
149643 09:25:09.8883820s - RPC Call - HardResync
149643 09:25:09.8883820s - W32TmServiceMain: ********** Time Slip Notification **********
149643 09:25:09.8883820s - ClockDispln TimeSlip:TimeSlip LastUTC:77822054 SetUnsync: LI:0 S:1 RDl:0 RDs:100000000 TSF:0x0 
149643 09:25:09.8883820s - ClockDispln: we're a reliable time service with no time source: LS: 0, TN: 864000000000, WAIT: 86400000
149643 09:25:09.8883820s - TimeProvCommand([NtpClient], TPC_TimeJumped) called.
149643 09:25:09.8883820s - Peer poll: Max:604800.0000000s (special) Cur:603659.1540735s149643 09:25:09.8883820s -  New:01.4981248s
149643 09:25:09.8883820s - TimeProvCommand([NtpServer], TPC_TimeJumped) called.
149643 09:25:09.8883820s - W32TmServiceMain: waiting i16.000s (1024.000s)
149643 09:25:09.8883820s - PeerPollingThread: PeerListUpdated
149643 09:25:09.8883820s - PeerPollingThread: waiting 1.499s
149643 09:25:09.8883820s - PeerPollingThread: PeerListUpdated
149643 09:25:09.8883820s - PeerPollingThread: waiting 1.499s
149643 09:25:11.3873095s - PeerPollingThread: WaitTimeout
149643 09:25:11.3873095s - Polling peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:25:11.3873095s - Sending packet to time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123) in Win2K detect mode, stage 1.
149643 09:25:11.3873095s - Peer poll: Max:604800.0000000s (special) Cur:00.0000000s
149643 09:25:11.3873095s - PeerPollingThread: waiting 604800.000s
149643 09:25:25.8873580s - W32TmServiceMain: timeout
149643 09:25:25.8873580s - Sample Prepared at 129291891258873580 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:25:25.8893110s - W32TmServiceMain: waiting 1024.000s
149643 09:42:29.8237750s - W32TmServiceMain: timeout
149643 09:42:29.8237750s - Sample Prepared at 129291901498237750 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:42:29.8237750s - W32TmServiceMain: waiting 1024.000s
149643 09:59:33.7582390s - W32TmServiceMain: timeout
149643 09:59:33.7582390s - Sample Prepared at 129291911737582390 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 09:59:33.7582390s - W32TmServiceMain: waiting 1024.000s
149643 10:16:37.6927030s - W32TmServiceMain: timeout
149643 10:16:37.6927030s - Sample Prepared at 129291921976927030 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 10:16:37.6927030s - W32TmServiceMain: waiting 1024.000s
149643 10:33:41.6271670s - W32TmServiceMain: timeout
149643 10:33:41.6271670s - Sample Prepared at 129291932216271670 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 10:33:41.6271670s - W32TmServiceMain: waiting 1024.000s
149643 10:50:45.5616310s - W32TmServiceMain: timeout
149643 10:50:45.5616310s - Sample Prepared at 129291942455616310 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 10:50:45.5616310s - W32TmServiceMain: waiting 1024.000s
149643 11:07:49.4960950s - W32TmServiceMain: timeout
149643 11:07:49.4960950s - Sample Prepared at 129291952694960950 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 11:07:49.4960950s - W32TmServiceMain: waiting 1024.000s
149643 11:24:53.4305590s - W32TmServiceMain: timeout
149643 11:24:53.4305590s - Sample Prepared at 129291962934305590 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 11:24:53.4305590s - W32TmServiceMain: waiting 1024.000s
149643 11:41:57.3650230s - W32TmServiceMain: timeout
149643 11:41:57.3650230s - Sample Prepared at 129291973173650230 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 11:41:57.3650230s - W32TmServiceMain: waiting 1024.000s
149643 11:59:01.2994870s - W32TmServiceMain: timeout
149643 11:59:01.2994870s - Sample Prepared at 129291983412994870 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 11:59:01.2994870s - W32TmServiceMain: waiting 1024.000s
149643 12:16:05.2339510s - W32TmServiceMain: timeout
149643 12:16:05.2339510s - Sample Prepared at 129291993652339510 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 12:16:05.2339510s - W32TmServiceMain: waiting 1024.000s
149643 12:33:09.1684150s - W32TmServiceMain: timeout
149643 12:33:09.1684150s - Sample Prepared at 129292003891684150 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 12:33:09.1684150s - W32TmServiceMain: waiting 1024.000s
149643 12:50:13.1028790s - W32TmServiceMain: timeout
149643 12:50:13.1028790s - Sample Prepared at 129292014131028790 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->207.46.197.32:123)
149643 12:50:13.1028790s - W32TmServiceMain: waiting 1024.000s

For the non working :
Code:
149643 09:02:45.3943565s - ---------- Log File Opened -----------------
149643 12:44:21.4603460s - ---------- Log File Closed -----------------
149643 12:44:22.4846945s - ---------- Log File Opened -----------------

I know that NTP server uses the UDP 123 port and when I try "netstat -an" in my 2008 servers I see it open and used in the working server and doent see it in the non working. I've looked in the windows firewall and un my antivirus, but nothing block this port.

So basicly servers are identical, but one is working and the other is not and I can't figure out why.

Thank you if you can help me !
 
Back
Top