W32tm Command Generates Error Messages When Run on a Windows 2000 Domain Controller (247321)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q247321 SYMPTOMS
The W32tm command is used to test and maintain time synchronization between workstations and servers in an enterprise. If you use the command on a Windows 2000 domain controller, you may receive an error message in the output of the command if you are using the -v switch for verbose output and\or the following error message may be logged in the System Event log:
Error Message at Command Prompt
==============================
(previous lines removed)
W32Time: Server: Binding to 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1384
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 725
W32Time: Time service stopped.
W32Time: END:Line 383
Error Message in the Event Log
==============================
Event Type: Error
Event Source: w32time
Event Category: None
Event ID: 49
Date: xx/xx/2000
Time: 10:49:44 AM
User: N/A
Computer: machinename
Description:
An unexpected error occurred while trying to start the server.
The port may already be in use.
Data:
0000: 00 00 00 00 ....
The W32tm Command Generates the Following Error Message
RPC to server -v returned 0x6ba
CAUSE
This problem can occur on a domain controller (DC) when the default port (123) is already in use by the Time service that is running on the DC before the command is executed. The W32tm command tries to start the Time service before execution, but it does work if the service is already started.
RESOLUTION
To resolve this problem, note that the following command switches for W32tm execute successfully:
To successfully use the W32tm command on a DC with the other options, use one or more of the following steps:
- Stop the Time service to execute the command, and then restart the service.
- Change the port by using the -p switch to execute the W32tm command on a DC.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Windows 2000.
Modification Type: | Major | Last Reviewed: | 11/20/2003 |
---|
Keywords: | kbbug kberrmsg kbnetwork KB247321 |
---|
|