Synching time with internal Windows Time server to unix time server

S

Stephen Babcock

I'm having an issue getting my PDC emulator/time server
working with our Unix time server. I need to get our
windows box to synch time with the unix box but it is not
happening for me. I've been through the following article:
http://www.microsoft.com/windows2000/docs/wintimeserv.doc
I'm still stumped and hoping someone can help.
Below is the output from my w32tm -v -once -test command
used to troubleshoot:


C:\Documents and Settings\adminlogon>w32tm -v -once -test
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2481
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 156250
W32Time: CurrentTime = 156250
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 802
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2574
W32Time: BEGIN:InitTmData
W32Time: END:Line 2596
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - ntp.line6.net
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1273
W32Time: END:Line 842
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: BEGIN:FetchParentDomainName
W32Time: NetLogonGetTimeServiceParentDomain()
returned 54b with ptr 0
W32Time: END:Line 782
W32Time: END:Line 704
W32Time: Server: Binding to 2 NICs.
W32Time: Advertising that I'm a Time Service Provider
W32Time: timeBeginPeriod: setting resolution 9
W32Time: BEGIN:TimeSync
W32Time: BEGIN:FGetType
W32Time: END Line 253
W32Time: BEGIN:FDoTimeNTPType
W32Time: BEGIN:ChooseNTPServer
W32Time: END Line 2156
W32Time: BEGIN:GetSocketForSynch
W32Time: NTP: ntpptrs[0] - NTP.LINE6.NET
W32Time: rgbNTPServer NTP.LINE6.NET
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: NTP(S): waiting for datagram...
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: NTP(S): waiting for datagram...
W32Time: Recv'ed from client...
W32Time: BEGIN:ComputeServerDigest
W32Time: I_NetlogonComputeServerDigest()
returned 0
W32Time: END:Line 642
W32Time: Delay in ComputeServerDigest() - 15
MilliSeconds
W32Time: Packet from 192.168.100.104:9221,
in:12716586252750375000, ou
:12716586252766000000
W32Time: Sending to client...
W32Time: NTP(S): waiting for datagram...
W32Time: NTP: gethostbyname failed
W32Time: Port Pinging to - 123
W32Time: NTP: connect failed
W32Time: END:Line 1148
W32Time: BEGIN:GetDefaultRid
W32Time: END Line 2337
W32Time: BEGIN:ComputeDelay
W32Time: BEGIN:NTPTry -- init
W32Time: END Line 1661
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Logging event 0x8000000B. 15 min
until this event is allow
d again.
W32Time: 0x8000000B reported to System Log in
Event Viewer
W32Time: END Line 1929
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: Time Out occured in sockets
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Rejecting logging event 0x8000000B.
899 sec until this eve
t is allowed.
W32Time: END Line 1929
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: Time Out occured in sockets
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Rejecting logging event 0x8000000B.
899 sec until this eve
t is allowed.
W32Time: END Line 1927
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: END Line 1474
W32Time: END Line 367
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 794
W32Time: END:Line 220
W32Time: END:Line 195
W32Time: BEGIN:TermTime
W32Time: NTP(S): received shutdown notification.
W32Time: NTP(S): received shutdown notification.
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: Inform NetLogon That you are not a TS
Provider
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407

Thanks in advance,
Steve
 
M

Marina Roos

Do you have a proxyserver? Is port 123 open? Does net time /querysntp give
you the right servername from where you want to get the time?

--
Regards,

Marina

Stephen Babcock said:
I'm having an issue getting my PDC emulator/time server
working with our Unix time server. I need to get our
windows box to synch time with the unix box but it is not
happening for me. I've been through the following article:
http://www.microsoft.com/windows2000/docs/wintimeserv.doc
I'm still stumped and hoping someone can help.
Below is the output from my w32tm -v -once -test command
used to troubleshoot:


C:\Documents and Settings\adminlogon>w32tm -v -once -test
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2481
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 156250
W32Time: CurrentTime = 156250
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 802
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2574
W32Time: BEGIN:InitTmData
W32Time: END:Line 2596
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - ntp.line6.net
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1273
W32Time: END:Line 842
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: BEGIN:FetchParentDomainName
W32Time: NetLogonGetTimeServiceParentDomain()
returned 54b with ptr 0
W32Time: END:Line 782
W32Time: END:Line 704
W32Time: Server: Binding to 2 NICs.
W32Time: Advertising that I'm a Time Service Provider
W32Time: timeBeginPeriod: setting resolution 9
W32Time: BEGIN:TimeSync
W32Time: BEGIN:FGetType
W32Time: END Line 253
W32Time: BEGIN:FDoTimeNTPType
W32Time: BEGIN:ChooseNTPServer
W32Time: END Line 2156
W32Time: BEGIN:GetSocketForSynch
W32Time: NTP: ntpptrs[0] - NTP.LINE6.NET
W32Time: rgbNTPServer NTP.LINE6.NET
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: NTP(S): waiting for datagram...
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: NTP(S): waiting for datagram...
W32Time: Recv'ed from client...
W32Time: BEGIN:ComputeServerDigest
W32Time: I_NetlogonComputeServerDigest()
returned 0
W32Time: END:Line 642
W32Time: Delay in ComputeServerDigest() - 15
MilliSeconds
W32Time: Packet from 192.168.100.104:9221,
in:12716586252750375000, ou
:12716586252766000000
W32Time: Sending to client...
W32Time: NTP(S): waiting for datagram...
W32Time: NTP: gethostbyname failed
W32Time: Port Pinging to - 123
W32Time: NTP: connect failed
W32Time: END:Line 1148
W32Time: BEGIN:GetDefaultRid
W32Time: END Line 2337
W32Time: BEGIN:ComputeDelay
W32Time: BEGIN:NTPTry -- init
W32Time: END Line 1661
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Logging event 0x8000000B. 15 min
until this event is allow
d again.
W32Time: 0x8000000B reported to System Log in
Event Viewer
W32Time: END Line 1929
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: Time Out occured in sockets
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Rejecting logging event 0x8000000B.
899 sec until this eve
t is allowed.
W32Time: END Line 1929
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: Time Out occured in sockets
W32Time: BEGIN:NTPTry -- try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: Sending to server 48 bytes...
W32Time: NTP: send failed! - 10057
W32Time: Rejecting logging event 0x8000000B.
899 sec until this eve
t is allowed.
W32Time: END Line 1927
W32Time: Time source failed to produce usable
timestamp.
W32Time: BEGIN:NTPTry -- fail
W32Time: END Line 1661
W32Time: END Line 1474
W32Time: END Line 367
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2457
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 794
W32Time: END:Line 220
W32Time: END:Line 195
W32Time: BEGIN:TermTime
W32Time: NTP(S): received shutdown notification.
W32Time: NTP(S): received shutdown notification.
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: Inform NetLogon That you are not a TS
Provider
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407

Thanks in advance,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top