w32time: Der computer wurde nicht synchronisiert, da keine Zeitdaten verfügbar waren

Ich verwende Windows Time Service, um die Zeit zwischen zwei Computern in einem Netzwerk zu synchronisieren. Das Netzwerk ist isoliert und es hat keine Internetverbindung. Ich konfiguriere einen der Computer im Netzwerk als Server und den anderen als Client.

Die Serverkonfiguration w32tm /query /configuration ist wie folgt. Das NTPServer bit ist in der Maschine aktiviert.

[Configuration]

EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 4294967295 (Local)
MaxPosPhaseCorrection: 4294967295 (Local)
MaxAllowedPhaseOffset: 300 (Local)

FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 30000 (Local)


[TimeProviders]

NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
CrossSiteSyncFlags: 2 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (Local)
Type: NT5DS (Local)

NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)

Die Clientkonfiguration ist wie folgt.

C:\Windows\system32>w32tm /query /configuration
[Configuration]

EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)

FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)


[TimeProviders]

NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 604800 (Local)
Type: NTP (Local)
NtpServer: [172.19.36.138],0x8 (Local)

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)

Sie können NtpServer: [172.19.36.138],0x8 (Local) oben sehen, was auf den Server zeigt, den ich habe konfigurieren. Ich kann zwischen den beiden Maschinen pingen.

Wenn ich versuche, w32tm /resync vom Client aus auszuführen, heißt es

Sending resync command to local computer
The computer did not resync because no time data was available.

Warum passiert das und wie kann ich es beheben??

Author: liv2hak, 2016-08-24

2 answers

  1. Starten Sie den Zeitdienst neu

    net stop w32time
    net start w32time
    
  2. Weisen Sie den Zeitsynchronisierungsdienst an, die Änderungen zu verwenden

    w32tm /config /update
    
  3. Setzen Sie die Zeit des lokalen Computers gegen den Zeitserver zurück

    w32tm /resync /rediscover
    

Der letzte Befehl erzwingt die erneute Erkennung von Netzwerkressourcen. Hinweis: Resync ist erfolgreich, obwohl die folgende Fehlermeldung angezeigt wird.

The computer did not resync because no time data was available.

P. s. Bitte überprüfen Sie auch, ob Ihre Firewall die vom Time Service benötigten Ports zulässt.

 7
Author: Joshua Kan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2019-12-31 05:27:06

FYI bitte beachten Sie auf Ihrem Server:

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)

Dies bedeutet, dass es sich um eine VM handelt, die ihre Zeit vom Host erhält, NICHT von der Domäne auf NT5DS, wie Sie vielleicht denken.

Überprüfen Sie auch auf Ihrem Client, ob diese Klammern [ ] korrekt sind, ich verwende einen DNS-Namen und habe keine Klammern gesehen, nicht sicher, aber das ist möglicherweise nicht die richtige Syntax.

 0
Author: Sam Miller,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2018-12-05 20:51:02