Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



Time sync issues

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-03-2006
barryg
 
Posts: n/a
Time sync issues

When i promote an additional server as a DC i get time difference issues. The
issue seems to be cause by my original 2000 DC. When as new DC is promoted
and i try to logon to it i get error 'There is a time difference between
client and server'. There are no issues before promoting a new DC and I have
tried promoting 2 different servers, thinking it was the new DC. The primary
DC is set to get its NTP time from an external source.

Reply With Quote
  #2  
Old 29-03-2006
Paul Bergson
 
Posts: n/a
Re: Time sync issues

Are you getting any errors in the Event Log?

Do both dc's report ok when you do a:
w32tm /monitor

This will report on the status of where each machine is getting its time
from.


If things look ok try the following on the troubled dc
w32tm /resync /nowait

--

Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
http://www.pbbergs.com

This posting is provided "AS IS" with no warranties, and confers no rights.

"barryg" <barryg@discussions.microsoft.com> wrote in message
news:C05D71CB-D7BB-483F-B12D-C3499A3B6E1C@microsoft.com...
> When i promote an additional server as a DC i get time difference issues.
> The
> issue seems to be cause by my original 2000 DC. When as new DC is promoted
> and i try to logon to it i get error 'There is a time difference between
> client and server'. There are no issues before promoting a new DC and I
> have
> tried promoting 2 different servers, thinking it was the new DC. The
> primary
> DC is set to get its NTP time from an external source.
>



Reply With Quote
  #3  
Old 30-03-2006
barryg
 
Posts: n/a
Re: Time sync issues

The commands must be for 2003? Anyway there are no errors in the eventlog.

Following cmd's done on the PDC emulator

net time /querysntp
The current SNTP value is: 172.16.20.3,0x8 (this is our ext time source)

net time
Current time at \\WDVPS2 is 3/30/2006 11:04 AM (this is the 2nd DC)

I have forced the 2nd DC to sync with the PDC em which it does. But after a
while its goes back to itself. As you can see the PDC em wants to sync with
the 2nd DC.

Could the problem be within Active Directoryas i know this heavliy relies on
time?




"Paul Bergson" wrote:

> Are you getting any errors in the Event Log?
>
> Do both dc's report ok when you do a:
> w32tm /monitor
>
> This will report on the status of where each machine is getting its time
> from.
>
>
> If things look ok try the following on the troubled dc
> w32tm /resync /nowait
>
> --
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
> http://www.pbbergs.com
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "barryg" <barryg@discussions.microsoft.com> wrote in message
> news:C05D71CB-D7BB-483F-B12D-C3499A3B6E1C@microsoft.com...
> > When i promote an additional server as a DC i get time difference issues.
> > The
> > issue seems to be cause by my original 2000 DC. When as new DC is promoted
> > and i try to logon to it i get error 'There is a time difference between
> > client and server'. There are no issues before promoting a new DC and I
> > have
> > tried promoting 2 different servers, thinking it was the new DC. The
> > primary
> > DC is set to get its NTP time from an external source.
> >

>
>
>

Reply With Quote
  #4  
Old 30-03-2006
Paul Bergson
 
Posts: n/a
Re: Time sync issues

Check your registry to see if you haven't set it to have its own clock as
detailed below:
http://support.microsoft.com/kb/216734/en-us

-or-
net time /querysntp


Try the following to see if it details where the server is getting its time
updates from:
http://support.microsoft.com/kb/307937/en-us

Active Directory does need a good time sync for Kerberos to work, it uses
this to unsure proper ticketing between clients and the services requested,
but it doesn't do anything to time keeping itself. My guess is you have
told this dc to be its own time source.


--

Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
http://www.pbbergs.com

This posting is provided "AS IS" with no warranties, and confers no rights.

"barryg" <barryg@discussions.microsoft.com> wrote in message
news:E7780BC5-8BD1-4ABB-AB00-31E5CEF674B6@microsoft.com...
> The commands must be for 2003? Anyway there are no errors in the eventlog.
>
> Following cmd's done on the PDC emulator
>
> net time /querysntp
> The current SNTP value is: 172.16.20.3,0x8 (this is our ext time source)
>
> net time
> Current time at \\WDVPS2 is 3/30/2006 11:04 AM (this is the 2nd DC)
>
> I have forced the 2nd DC to sync with the PDC em which it does. But after
> a
> while its goes back to itself. As you can see the PDC em wants to sync
> with
> the 2nd DC.
>
> Could the problem be within Active Directoryas i know this heavliy relies
> on
> time?
>
>
>
>
> "Paul Bergson" wrote:
>
>> Are you getting any errors in the Event Log?
>>
>> Do both dc's report ok when you do a:
>> w32tm /monitor
>>
>> This will report on the status of where each machine is getting its time
>> from.
>>
>>
>> If things look ok try the following on the troubled dc
>> w32tm /resync /nowait
>>
>> --
>>
>> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
>> http://www.pbbergs.com
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "barryg" <barryg@discussions.microsoft.com> wrote in message
>> news:C05D71CB-D7BB-483F-B12D-C3499A3B6E1C@microsoft.com...
>> > When i promote an additional server as a DC i get time difference
>> > issues.
>> > The
>> > issue seems to be cause by my original 2000 DC. When as new DC is
>> > promoted
>> > and i try to logon to it i get error 'There is a time difference
>> > between
>> > client and server'. There are no issues before promoting a new DC and I
>> > have
>> > tried promoting 2 different servers, thinking it was the new DC. The
>> > primary
>> > DC is set to get its NTP time from an external source.
>> >

>>
>>
>>



Reply With Quote
  #5  
Old 31-03-2006
barryg
 
Posts: n/a
Re: Time sync issues

It wasn’t set to get time from its self:-

PDCE
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"LocalNTP"=dword:00000001
"Period"="SpecialSkew"
"type"="NTP"
"Adj"=dword:0002625b
"msSkewPerDay"="-1017.0000"
"ntpserver"="time.windows.com"
"Log"=dword:00000064
"WriteLog"="True"

Do the above settings look correct as I still get event ID 11 – NTP didn’t
respond?

C:\WINNT\system32>nslookup
Default Server: wdv_dcapp1.wdv.co.nz
Address: 192.168.8.50

> time.windows.com

Non-authoritative answer:
Server: wdv_dcapp1.wdv.co.nz
Address: 192.168.8.50

Name: time.windows.com
Addresses: 207.46.130.100, 207.46.232.189

PDCE TEST:
C:\WINNT\system32>w32tm -v
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
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 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - time.windows.com
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
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 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: Logging event 0xC0000031. 15 min until this event is allowed again
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.


2nd DC:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"LocalNTP"=dword:00000000
"Period"="SpecialSkew"
"type"="NTP"
"Adj"=dword:0002625d
"msSkewPerDay"="-1638.0000"
"ReliableTimeSource"=dword:00000000
"ntpserver"="wdv_dcapp1"


2nd DC TEST:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\WINNT\system32>w32tm -v
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
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 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - wdv_dcapp1
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'BDC'
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 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: Logging event 0xC0000031. 15 min until this event is allowed again.
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407

Reply With Quote
  #6  
Old 31-03-2006
Paul Bergson
 
Posts: n/a
Re: Time sync issues

Not sure at the end the time service states that it is stopped???

Also it appears that this machine is attempting to get its time from
time.windows.com which is an external time source. Do you have your
firewall opened up for port 123?

Try doing a to register your time back to defaults (This should be done on
the problem DC)


net stop w32time
w32tm /unregister (Unregister current time settings)
w32tm /register (Register PDCe as time source)
net start w32time


--

Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
http://www.pbbergs.com

This posting is provided "AS IS" with no warranties, and confers no rights.

"barryg" <barryg@discussions.microsoft.com> wrote in message
news:BC92928A-DEDF-4878-A628-97639C561F64@microsoft.com...
> It wasn't set to get time from its self:-
>
> PDCE
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> "LocalNTP"=dword:00000001
> "Period"="SpecialSkew"
> "type"="NTP"
> "Adj"=dword:0002625b
> "msSkewPerDay"="-1017.0000"
> "ntpserver"="time.windows.com"
> "Log"=dword:00000064
> "WriteLog"="True"
>
> Do the above settings look correct as I still get event ID 11 - NTP didn't
> respond?
>
> C:\WINNT\system32>nslookup
> Default Server: wdv_dcapp1.wdv.co.nz
> Address: 192.168.8.50
>
>> time.windows.com

> Non-authoritative answer:
> Server: wdv_dcapp1.wdv.co.nz
> Address: 192.168.8.50
>
> Name: time.windows.com
> Addresses: 207.46.130.100, 207.46.232.189
>
> PDCE TEST:
> C:\WINNT\system32>w32tm -v
> W32Time: BEGIN:InitAdjIncr
> W32Time: Adj 156250 , Incr 156250 fAdjust 0
> W32Time: END:Line 2503
> W32Time: BEGIN:TsUpTheThread
> W32Time: END Line 1407
> 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 807
> W32Time: BEGIN:InitTmCli
> W32Time: END:Line 2596
> W32Time: BEGIN:InitTmData
> W32Time: END:Line 2618
> W32Time: AvoidTimeSyncOnWan 0
> W32Time: ntpserver - time.windows.com
> W32Time: BEGIN:CMOSSynchSet
> W32Time: Setting adjustment 156250 - Bool 0
> W32Time: BEGIN:SetTSTimeRes
> W32Time: END:Line 1295
> W32Time: END:Line 864
> 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 1 NIC.
> W32Time: bind failed: 0x80072740
> W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> again
> W32Time: 0xC0000031 reported to System Log in Event Viewer
> W32Time: BEGIN:FinishCleanup
> W32Time: BEGIN:TsUpTheThread
> W32Time: END Line 1407
> W32Time: BEGIN:UnInitializeDC
> W32Time: Ptrs 0 - 0
> W32Time: END:Line 727
> W32Time: Time service stopped.
>
>
> 2nd DC:
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> "LocalNTP"=dword:00000000
> "Period"="SpecialSkew"
> "type"="NTP"
> "Adj"=dword:0002625d
> "msSkewPerDay"="-1638.0000"
> "ReliableTimeSource"=dword:00000000
> "ntpserver"="wdv_dcapp1"
>
>
> 2nd DC TEST:
> Microsoft Windows 2000 [Version 5.00.2195]
> (C) Copyright 1985-2000 Microsoft Corp.
>
> C:\WINNT\system32>w32tm -v
> W32Time: BEGIN:InitAdjIncr
> W32Time: Adj 156250 , Incr 156250 fAdjust 0
> W32Time: END:Line 2503
> W32Time: BEGIN:TsUpTheThread
> W32Time: END Line 1407
> 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 807
> W32Time: BEGIN:InitTmCli
> W32Time: END:Line 2596
> W32Time: BEGIN:InitTmData
> W32Time: END:Line 2618
> W32Time: AvoidTimeSyncOnWan 0
> W32Time: ntpserver - wdv_dcapp1
> W32Time: BEGIN:CMOSSynchSet
> W32Time: Setting adjustment 156250 - Bool 0
> W32Time: BEGIN:SetTSTimeRes
> W32Time: END:Line 1295
> W32Time: END:Line 864
> W32Time: BEGIN:InitializeDC
> W32Time: BEGIN:GetRole
> W32Time: Role is 'BDC'
> 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 1 NIC.
> W32Time: bind failed: 0x80072740
> W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> again.
> W32Time: 0xC0000031 reported to System Log in Event Viewer
> W32Time: BEGIN:FinishCleanup
> W32Time: BEGIN:TsUpTheThread
> W32Time: END Line 1407
> W32Time: BEGIN:UnInitializeDC
> W32Time: Ptrs 0 - 0
> W32Time: END:Line 727
> W32Time: Time service stopped.
> W32Time: END:Line 407
>



Reply With Quote
  #7  
Old 04-04-2006
barryg
 
Posts: n/a
Re: Time sync issues

Hi Paul
w32tm -v says time srv is stopped but its not.
I was just testing by changing time.windows.com. Have set it back to our
router now which works ok, firewall checked.

Those cmds are for 2003 i think? whats the equivilent in 2000. I have
already forced the DC to look for PDCe for time in the registry. But i think
the problem is on the PDCe as this is the 2nd member server i have promoted
to a DC with the same time issue.

Cheers
Barry


"Paul Bergson" wrote:

> Not sure at the end the time service states that it is stopped???
>
> Also it appears that this machine is attempting to get its time from
> time.windows.com which is an external time source. Do you have your
> firewall opened up for port 123?
>
> Try doing a to register your time back to defaults (This should be done on
> the problem DC)
>
>
> net stop w32time
> w32tm /unregister (Unregister current time settings)
> w32tm /register (Register PDCe as time source)
> net start w32time
>
>
> --
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
> http://www.pbbergs.com
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "barryg" <barryg@discussions.microsoft.com> wrote in message
> news:BC92928A-DEDF-4878-A628-97639C561F64@microsoft.com...
> > It wasn't set to get time from its self:-
> >
> > PDCE
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> > "LocalNTP"=dword:00000001
> > "Period"="SpecialSkew"
> > "type"="NTP"
> > "Adj"=dword:0002625b
> > "msSkewPerDay"="-1017.0000"
> > "ntpserver"="time.windows.com"
> > "Log"=dword:00000064
> > "WriteLog"="True"
> >
> > Do the above settings look correct as I still get event ID 11 - NTP didn't
> > respond?
> >
> > C:\WINNT\system32>nslookup
> > Default Server: wdv_dcapp1.wdv.co.nz
> > Address: 192.168.8.50
> >
> >> time.windows.com

> > Non-authoritative answer:
> > Server: wdv_dcapp1.wdv.co.nz
> > Address: 192.168.8.50
> >
> > Name: time.windows.com
> > Addresses: 207.46.130.100, 207.46.232.189
> >
> > PDCE TEST:
> > C:\WINNT\system32>w32tm -v
> > W32Time: BEGIN:InitAdjIncr
> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
> > W32Time: END:Line 2503
> > W32Time: BEGIN:TsUpTheThread
> > W32Time: END Line 1407
> > 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 807
> > W32Time: BEGIN:InitTmCli
> > W32Time: END:Line 2596
> > W32Time: BEGIN:InitTmData
> > W32Time: END:Line 2618
> > W32Time: AvoidTimeSyncOnWan 0
> > W32Time: ntpserver - time.windows.com
> > W32Time: BEGIN:CMOSSynchSet
> > W32Time: Setting adjustment 156250 - Bool 0
> > W32Time: BEGIN:SetTSTimeRes
> > W32Time: END:Line 1295
> > W32Time: END:Line 864
> > 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 1 NIC.
> > W32Time: bind failed: 0x80072740
> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> > again
> > W32Time: 0xC0000031 reported to System Log in Event Viewer
> > W32Time: BEGIN:FinishCleanup
> > W32Time: BEGIN:TsUpTheThread
> > W32Time: END Line 1407
> > W32Time: BEGIN:UnInitializeDC
> > W32Time: Ptrs 0 - 0
> > W32Time: END:Line 727
> > W32Time: Time service stopped.
> >
> >
> > 2nd DC:
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> > "LocalNTP"=dword:00000000
> > "Period"="SpecialSkew"
> > "type"="NTP"
> > "Adj"=dword:0002625d
> > "msSkewPerDay"="-1638.0000"
> > "ReliableTimeSource"=dword:00000000
> > "ntpserver"="wdv_dcapp1"
> >
> >
> > 2nd DC TEST:
> > Microsoft Windows 2000 [Version 5.00.2195]
> > (C) Copyright 1985-2000 Microsoft Corp.
> >
> > C:\WINNT\system32>w32tm -v
> > W32Time: BEGIN:InitAdjIncr
> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
> > W32Time: END:Line 2503
> > W32Time: BEGIN:TsUpTheThread
> > W32Time: END Line 1407
> > 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 807
> > W32Time: BEGIN:InitTmCli
> > W32Time: END:Line 2596
> > W32Time: BEGIN:InitTmData
> > W32Time: END:Line 2618
> > W32Time: AvoidTimeSyncOnWan 0
> > W32Time: ntpserver - wdv_dcapp1
> > W32Time: BEGIN:CMOSSynchSet
> > W32Time: Setting adjustment 156250 - Bool 0
> > W32Time: BEGIN:SetTSTimeRes
> > W32Time: END:Line 1295
> > W32Time: END:Line 864
> > W32Time: BEGIN:InitializeDC
> > W32Time: BEGIN:GetRole
> > W32Time: Role is 'BDC'
> > 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 1 NIC.
> > W32Time: bind failed: 0x80072740
> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> > again.
> > W32Time: 0xC0000031 reported to System Log in Event Viewer
> > W32Time: BEGIN:FinishCleanup
> > W32Time: BEGIN:TsUpTheThread
> > W32Time: END Line 1407
> > W32Time: BEGIN:UnInitializeDC
> > W32Time: Ptrs 0 - 0
> > W32Time: END:Line 727
> > W32Time: Time service stopped.
> > W32Time: END:Line 407
> >

>
>
>

Reply With Quote
  #8  
Old 05-04-2006
Paul Bergson
 
Posts: n/a
Re: Time sync issues

Once you are on 2000 you should be using w32tm. The old time manager was
net time. You aren't setting the time via net time are you? This can
create issues.

--

Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
http://www.pbbergs.com

This posting is provided "AS IS" with no warranties, and confers no rights.

"barryg" <barryg@discussions.microsoft.com> wrote in message
news:ACA9BCF9-8C40-4DB7-B256-E59D5E02D032@microsoft.com...
> Hi Paul
> w32tm -v says time srv is stopped but its not.
> I was just testing by changing time.windows.com. Have set it back to our
> router now which works ok, firewall checked.
>
> Those cmds are for 2003 i think? whats the equivilent in 2000. I have
> already forced the DC to look for PDCe for time in the registry. But i
> think
> the problem is on the PDCe as this is the 2nd member server i have
> promoted
> to a DC with the same time issue.
>
> Cheers
> Barry
>
>
> "Paul Bergson" wrote:
>
>> Not sure at the end the time service states that it is stopped???
>>
>> Also it appears that this machine is attempting to get its time from
>> time.windows.com which is an external time source. Do you have your
>> firewall opened up for port 123?
>>
>> Try doing a to register your time back to defaults (This should be done
>> on
>> the problem DC)
>>
>>
>> net stop w32time
>> w32tm /unregister (Unregister current time settings)
>> w32tm /register (Register PDCe as time source)
>> net start w32time
>>
>>
>> --
>>
>> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
>> http://www.pbbergs.com
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "barryg" <barryg@discussions.microsoft.com> wrote in message
>> news:BC92928A-DEDF-4878-A628-97639C561F64@microsoft.com...
>> > It wasn't set to get time from its self:-
>> >
>> > PDCE
>> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
>> > "LocalNTP"=dword:00000001
>> > "Period"="SpecialSkew"
>> > "type"="NTP"
>> > "Adj"=dword:0002625b
>> > "msSkewPerDay"="-1017.0000"
>> > "ntpserver"="time.windows.com"
>> > "Log"=dword:00000064
>> > "WriteLog"="True"
>> >
>> > Do the above settings look correct as I still get event ID 11 - NTP
>> > didn't
>> > respond?
>> >
>> > C:\WINNT\system32>nslookup
>> > Default Server: wdv_dcapp1.wdv.co.nz
>> > Address: 192.168.8.50
>> >
>> >> time.windows.com
>> > Non-authoritative answer:
>> > Server: wdv_dcapp1.wdv.co.nz
>> > Address: 192.168.8.50
>> >
>> > Name: time.windows.com
>> > Addresses: 207.46.130.100, 207.46.232.189
>> >
>> > PDCE TEST:
>> > C:\WINNT\system32>w32tm -v
>> > W32Time: BEGIN:InitAdjIncr
>> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
>> > W32Time: END:Line 2503
>> > W32Time: BEGIN:TsUpTheThread
>> > W32Time: END Line 1407
>> > 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 807
>> > W32Time: BEGIN:InitTmCli
>> > W32Time: END:Line 2596
>> > W32Time: BEGIN:InitTmData
>> > W32Time: END:Line 2618
>> > W32Time: AvoidTimeSyncOnWan 0
>> > W32Time: ntpserver - time.windows.com
>> > W32Time: BEGIN:CMOSSynchSet
>> > W32Time: Setting adjustment 156250 - Bool 0
>> > W32Time: BEGIN:SetTSTimeRes
>> > W32Time: END:Line 1295
>> > W32Time: END:Line 864
>> > 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 1 NIC.
>> > W32Time: bind failed: 0x80072740
>> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
>> > again
>> > W32Time: 0xC0000031 reported to System Log in Event Viewer
>> > W32Time: BEGIN:FinishCleanup
>> > W32Time: BEGIN:TsUpTheThread
>> > W32Time: END Line 1407
>> > W32Time: BEGIN:UnInitializeDC
>> > W32Time: Ptrs 0 - 0
>> > W32Time: END:Line 727
>> > W32Time: Time service stopped.
>> >
>> >
>> > 2nd DC:
>> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
>> > "LocalNTP"=dword:00000000
>> > "Period"="SpecialSkew"
>> > "type"="NTP"
>> > "Adj"=dword:0002625d
>> > "msSkewPerDay"="-1638.0000"
>> > "ReliableTimeSource"=dword:00000000
>> > "ntpserver"="wdv_dcapp1"
>> >
>> >
>> > 2nd DC TEST:
>> > Microsoft Windows 2000 [Version 5.00.2195]
>> > (C) Copyright 1985-2000 Microsoft Corp.
>> >
>> > C:\WINNT\system32>w32tm -v
>> > W32Time: BEGIN:InitAdjIncr
>> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
>> > W32Time: END:Line 2503
>> > W32Time: BEGIN:TsUpTheThread
>> > W32Time: END Line 1407
>> > 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 807
>> > W32Time: BEGIN:InitTmCli
>> > W32Time: END:Line 2596
>> > W32Time: BEGIN:InitTmData
>> > W32Time: END:Line 2618
>> > W32Time: AvoidTimeSyncOnWan 0
>> > W32Time: ntpserver - wdv_dcapp1
>> > W32Time: BEGIN:CMOSSynchSet
>> > W32Time: Setting adjustment 156250 - Bool 0
>> > W32Time: BEGIN:SetTSTimeRes
>> > W32Time: END:Line 1295
>> > W32Time: END:Line 864
>> > W32Time: BEGIN:InitializeDC
>> > W32Time: BEGIN:GetRole
>> > W32Time: Role is 'BDC'
>> > 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 1 NIC.
>> > W32Time: bind failed: 0x80072740
>> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
>> > again.
>> > W32Time: 0xC0000031 reported to System Log in Event Viewer
>> > W32Time: BEGIN:FinishCleanup
>> > W32Time: BEGIN:TsUpTheThread
>> > W32Time: END Line 1407
>> > W32Time: BEGIN:UnInitializeDC
>> > W32Time: Ptrs 0 - 0
>> > W32Time: END:Line 727
>> > W32Time: Time service stopped.
>> > W32Time: END:Line 407
>> >

>>
>>
>>



Reply With Quote
  #9  
Old 05-04-2006
barryg
 
Posts: n/a
Re: Time sync issues

I have used net time previously. Here are the current settings.

After doing w32tm -source -v as below i get event ID 49: An unexpected error
occured while trying to start the server. The port may already be in use. ?

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"LocalNTP"=dword:00000001
"Period"="SpecialSkew"
"type"="NTP"
"Adj"=dword:0002625b
"msSkewPerDay"="-1017.0000"
"ntpserver"="172.16.20.3,0x8"
"Log"=dword:00000064
"WriteLog"="True"

C:\WINNT\system32>w32tm -source -v
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
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 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - 172.16.20.3,0x8
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
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 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: Logging event 0xC0000031. 15 min until this event is allowed again.
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407

"Paul Bergson" wrote:

> Once you are on 2000 you should be using w32tm. The old time manager was
> net time. You aren't setting the time via net time are you? This can
> create issues.
>
> --
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
> http://www.pbbergs.com
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "barryg" <barryg@discussions.microsoft.com> wrote in message
> news:ACA9BCF9-8C40-4DB7-B256-E59D5E02D032@microsoft.com...
> > Hi Paul
> > w32tm -v says time srv is stopped but its not.
> > I was just testing by changing time.windows.com. Have set it back to our
> > router now which works ok, firewall checked.
> >
> > Those cmds are for 2003 i think? whats the equivilent in 2000. I have
> > already forced the DC to look for PDCe for time in the registry. But i
> > think
> > the problem is on the PDCe as this is the 2nd member server i have
> > promoted
> > to a DC with the same time issue.
> >
> > Cheers
> > Barry
> >
> >
> > "Paul Bergson" wrote:
> >
> >> Not sure at the end the time service states that it is stopped???
> >>
> >> Also it appears that this machine is attempting to get its time from
> >> time.windows.com which is an external time source. Do you have your
> >> firewall opened up for port 123?
> >>
> >> Try doing a to register your time back to defaults (This should be done
> >> on
> >> the problem DC)
> >>
> >>
> >> net stop w32time
> >> w32tm /unregister (Unregister current time settings)
> >> w32tm /register (Register PDCe as time source)
> >> net start w32time
> >>
> >>
> >> --
> >>
> >> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
> >> http://www.pbbergs.com
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >> "barryg" <barryg@discussions.microsoft.com> wrote in message
> >> news:BC92928A-DEDF-4878-A628-97639C561F64@microsoft.com...
> >> > It wasn't set to get time from its self:-
> >> >
> >> > PDCE
> >> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> >> > "LocalNTP"=dword:00000001
> >> > "Period"="SpecialSkew"
> >> > "type"="NTP"
> >> > "Adj"=dword:0002625b
> >> > "msSkewPerDay"="-1017.0000"
> >> > "ntpserver"="time.windows.com"
> >> > "Log"=dword:00000064
> >> > "WriteLog"="True"
> >> >
> >> > Do the above settings look correct as I still get event ID 11 - NTP
> >> > didn't
> >> > respond?
> >> >
> >> > C:\WINNT\system32>nslookup
> >> > Default Server: wdv_dcapp1.wdv.co.nz
> >> > Address: 192.168.8.50
> >> >
> >> >> time.windows.com
> >> > Non-authoritative answer:
> >> > Server: wdv_dcapp1.wdv.co.nz
> >> > Address: 192.168.8.50
> >> >
> >> > Name: time.windows.com
> >> > Addresses: 207.46.130.100, 207.46.232.189
> >> >
> >> > PDCE TEST:
> >> > C:\WINNT\system32>w32tm -v
> >> > W32Time: BEGIN:InitAdjIncr
> >> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
> >> > W32Time: END:Line 2503
> >> > W32Time: BEGIN:TsUpTheThread
> >> > W32Time: END Line 1407
> >> > 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 807
> >> > W32Time: BEGIN:InitTmCli
> >> > W32Time: END:Line 2596
> >> > W32Time: BEGIN:InitTmData
> >> > W32Time: END:Line 2618
> >> > W32Time: AvoidTimeSyncOnWan 0
> >> > W32Time: ntpserver - time.windows.com
> >> > W32Time: BEGIN:CMOSSynchSet
> >> > W32Time: Setting adjustment 156250 - Bool 0
> >> > W32Time: BEGIN:SetTSTimeRes
> >> > W32Time: END:Line 1295
> >> > W32Time: END:Line 864
> >> > 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 1 NIC.
> >> > W32Time: bind failed: 0x80072740
> >> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> >> > again
> >> > W32Time: 0xC0000031 reported to System Log in Event Viewer
> >> > W32Time: BEGIN:FinishCleanup
> >> > W32Time: BEGIN:TsUpTheThread
> >> > W32Time: END Line 1407
> >> > W32Time: BEGIN:UnInitializeDC
> >> > W32Time: Ptrs 0 - 0
> >> > W32Time: END:Line 727
> >> > W32Time: Time service stopped.
> >> >
> >> >
> >> > 2nd DC:
> >> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
> >> > "LocalNTP"=dword:00000000
> >> > "Period"="SpecialSkew"
> >> > "type"="NTP"
> >> > "Adj"=dword:0002625d
> >> > "msSkewPerDay"="-1638.0000"
> >> > "ReliableTimeSource"=dword:00000000
> >> > "ntpserver"="wdv_dcapp1"
> >> >
> >> >
> >> > 2nd DC TEST:
> >> > Microsoft Windows 2000 [Version 5.00.2195]
> >> > (C) Copyright 1985-2000 Microsoft Corp.
> >> >
> >> > C:\WINNT\system32>w32tm -v
> >> > W32Time: BEGIN:InitAdjIncr
> >> > W32Time: Adj 156250 , Incr 156250 fAdjust 0
> >> > W32Time: END:Line 2503
> >> > W32Time: BEGIN:TsUpTheThread
> >> > W32Time: END Line 1407
> >> > 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 807
> >> > W32Time: BEGIN:InitTmCli
> >> > W32Time: END:Line 2596
> >> > W32Time: BEGIN:InitTmData
> >> > W32Time: END:Line 2618
> >> > W32Time: AvoidTimeSyncOnWan 0
> >> > W32Time: ntpserver - wdv_dcapp1
> >> > W32Time: BEGIN:CMOSSynchSet
> >> > W32Time: Setting adjustment 156250 - Bool 0
> >> > W32Time: BEGIN:SetTSTimeRes
> >> > W32Time: END:Line 1295
> >> > W32Time: END:Line 864
> >> > W32Time: BEGIN:InitializeDC
> >> > W32Time: BEGIN:GetRole
> >> > W32Time: Role is 'BDC'
> >> > 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 1 NIC.
> >> > W32Time: bind failed: 0x80072740
> >> > W32Time: Logging event 0xC0000031. 15 min until this event is allowed
> >> > again.
> >> > W32Time: 0xC0000031 reported to System Log in Event Viewer
> >> > W32Time: BEGIN:FinishCleanup
> >> > W32Time: BEGIN:TsUpTheThread
> >> > W32Time: END Line 1407
> >> > W32Time: BEGIN:UnInitializeDC
> >> > W32Time: Ptrs 0 - 0
> >> > W32Time: END:Line 727
> >> > W32Time: Time service stopped.
> >> > W32Time: END:Line 407
> >> >
> >>
> >>
> >>

>
>
>

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Time sync issues"
Thread Thread Starter Forum Replies Last Post
Time sync issues CK Active Directory 12 28-10-2009 04:49 AM
.net 3.5 family update and time sync issues Mike55 Windows Server Help 6 27-02-2009 02:58 AM
Server Time and Time Sync Somchai Windows Server Help 1 29-12-2008 01:16 AM
Setting my PDC Emulator to time sync to external time source aja44 Windows Server Help 1 17-05-2008 08:38 PM
windows 2000 domain controllers and sync-ing time with external time source obi.joseph@gmail.com Window 2000 Help 0 22-09-2006 05:18 PM


All times are GMT +5.5. The time now is 07:37 PM.