Attivare la sincronizzazione dell'orario in Windows 2000 Server: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 07:09, 6 February 2006

Appena installato Windows 2000 Server, uno dei primi messaggi di errore in eventlog è:

EventID: 62
Source: w32time

This Machine is a PDC of the domain at the root of the forest. Configure to sync from External time source using the net command,  'net time /setsntp:<server name>'. 

Occorre configurare il servizio di aggiornamento dell'orario di sistema, usando un server NTP esterno.

  • Impostare il server ntp da utilizzare (assicurarsi di poter accedere alla porta udp 123 verso questo indirizzo):
net time /setsntp:"time.ien.it"
  • Fermare il servizio
net stop w32time
  • Effettuare una sincronizzazione manuale:
w32tm -once

Verificare che la sincronizzazione abbia successo:

W32Time: BEGIN:InitAdjIncr
W32Time:    Adj 100144 , Incr 100144  fAdjust 0
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
...
W32Time:             Sending to server  48 bytes...
W32Time:             BEGIN:TsUpTheThread
W32Time:             END  Line 1407
W32Time:             NTP(S): waiting for datagram...
W32Time:             Recv'ed from server  48 Bytes...
...
W32Time:       Adjusting time by 238 s
...
W32Time:       Time service stopped.
W32Time:    END:Line 407

Riavviare il servizio:

net start w32time

Riferimento: Keeping Time with Win2K