Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Time warnings in System EventLog

Posted on 2004-04-18
7
Medium Priority
?
2,910 Views
Last Modified: 2007-12-19
Hi,

I get warnings in my event log about the time, here are the warnings.

W32Time - " The time service has not been able to synchronize the
system time  for 49152 seconds because none of the time providers has been able to  provide a usable
time stamp. The system clock is unsynchronized.  "

W32Time - " The time service has not synchronized the system time
for 86400 seconds   because none of the time service providers provided a usable time   stamp. The time
service is no longer synchronized and cannot provide   the time to other clients or update the system
clock. Monitor the   system events displayed in the Event  Viewer to make sure that a more   serious
problem does not exist.   "

What should I do?

Cheers,
IceRaven
0
Comment
Question by:IceRaven
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 16

Expert Comment

by:JamesDS
ID: 10856983
IceRaven
You don't say if your machine is a DC or member server.

If it's a DC then bahave as if its a member server (below) if it's a PDC Emulator then make sure you allow port 123TCP/UDP outbound and configure the external microsoft time service by entering this at the command line
NET TIME /SETSNTP:time.windows.com

If it's NOT A PDCE:

Members of the Active Directory sync with their local DC (local as in local AD site). The DCs then sync with the PDCEmulator, so the PDCE is the root of all time - as it were!

Diagnosis of timesync errors is difficult but I would not use NET TIME /SETSNTP: (as suggest to many questions like this one, unless it's a PDCE), as it sepcifically overrides the natural internal operation of the time service within Active Directory.

These commands are written for Windows 2003 and Windows XP. There are some equivalents for windows 2000, use W32tm /? or W32Time /? from the command line to look for alternatives on older OSs.

Use NET TIME /SETSNTP:
to clear any entry and return to the default settings

Use NET TIME /SET /YES
to synch NOW with your authenticating DC and begin the diagnosis:

Start by verifying your domain is synching AD by using REPLMON.EXE in the support tools pack on the Windows installation CD.


If this is OK then run this from the command line:
W32TM /monitor

to ensure that each member server/workstation is actually pointing to a DC.

If this is OK then run this from the command line:
W32TM /resync /rediscover

followed by:
W32TM /resync /nowait

and check the system eventlog for W32TIME errors. This process does a full reset and recheck of the time system as it relates to one member machine on your AD.

Post any errors here


Cheers

JamesDS
0
 
LVL 7

Author Comment

by:IceRaven
ID: 10857639
Hi JamesDS,

The Server is a DC.  I am not sure if PDC Emulation is installed by default in a native mode domain or not? How can I tell? Do I still need those portsa open?  The server is the Root Domain controller, mainly because it is the only DC :)

With this new information about the server what should I do about time?

Cheers,
Ice Raven.



0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10857673
IceRaven
PDCE is a FSMO role and all AD domains have one.

If you only have one DC then it will host all 5 FSMO roles, including the PDCE

Given that, it should be synching externally: NET TIME /SETSNTP:time.windows.com
and everything else should be synced to it with the rest of the notes I provided.

Cheers

JamesDS
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Author Comment

by:IceRaven
ID: 10857924
The command completed succesfully and generated no information or errors in the event log.  However the time is still incorrect on the server.  How often does the DC sync time?  Is there a way to force a sync?

Cheers,
Ice Raven
0
 
LVL 16

Accepted Solution

by:
JamesDS earned 2000 total points
ID: 10857977
IceRaven

Timesync works as follows:

If the local clock time of the client is behind the current time received from the time server, W32Time will change the local clock time immediately.
If the local clock time of the client is more than three minutes ahead of the time on the time server, W32Time will change the local clock time immediately.
If the local clock time of the client is less than three minutes ahead of the time on the server, W32Time will quarter or halve the clock frequency for long enough to bring the clocks into sync. If the client is less that 15 seconds ahead, it will halve the frequency; otherwise, it will quarter the frequency. The amount of time the clock spends running at an unusual frequency depends on the size of the offset that is being corrected.

W32Time will periodically check its local time with the current time by connecting to the time source. This process starts as soon as the service turns on during system start-up. W32Time attempts synchronization every 45 minutes until the clocks have successfully synchronized three times. When the clocks are correctly synchronized, W32Time then synchronizes at eight-hour intervals, unless there is a failure to obtain a timestamp, or a validation failure. If there is a failure, the process starts over from the beginning.

Set it by hand as close as you can and then simply leave it to sort itself out.

Cheers

JamesDS
0
 
LVL 7

Author Comment

by:IceRaven
ID: 10858054
That is some great information.  I restarted the service and Ta Dah!  Instant right time!

Cheers,
Ice Raven
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10858094
IceRaven
Glad I could help

Timesync can be a bitch and it's not that obvious how it works

Cheers

JamesDS
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question