You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows Server 2012 R2服务器时钟频繁自动偏移7小时问题求助

Windows Server 2012 R2服务器时钟频繁自动偏移7小时问题求助

各位大佬好,想请教个棘手的问题:

我们办公室有一台部署了SQL Server的Windows Server 2012 R2服务器,所在时区是UTC-7,这个时区之前实行夏令时但现在已经取消了。最近服务器时钟每天都会多次自动往前跳7小时,和UTC+0的时间对齐,但服务器的时区设置明明还是UTC-7,这给业务带来了不少麻烦。

我们已经尝试过这些方法,但都没解决问题:

  • 把时区改成亚利桑那时区(UTC-7,该时区从未实行夏令时)
  • 关闭了所有相关服务器的时间同步功能
  • 试过上述操作的各种组合

之前看到过一个类似的帖子,是Windows Server 2012 R2时钟自动偏移2小时的问题,但没找到适合我们情况的解决方案。


EDIT: 运行详细时间命令后得到以下西班牙文输出:

Indicador de salto: 0(ninguna advertencia) Capa: 2 (referencia secundaria - sincronizada mediante (S)NTP) Precisión: -6 (15.625ms por tick) Demora de raíz: 0.0471270s Dispersión de raíz: 7.7761138s Id. de referencia: 0x84A36001 (IP de origen: 132.163.96.1) Última sincronización de hora correcta: 05/05/2023 3:09:29 PM Origen: time.nist.gov,0x9 Intervalo de sondeo: 10 (1024s)

Desplazamiento de fase: 0.0245049s Frecuencia de reloj: 0.0156250s Equipo de estado: 1 (En espera) Marcas de origen de hora: 0 (Ninguno) Rol del servidor: 0 (Ninguno) Último error de sincronización: 2 (El equipo no se sincronizó porque solo tenía información obsoleta de hora.) Tiempo desde la última sincronización de hora correcta: 9246.2271045s

EDIT2: 我特意手动把服务器时间往后调了2小时再改回来后,查看w32t日志发现了这段时间变化的记录:

154256 22:42:52.4270465s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

154256 22:43:02.5275511s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

154257 00:43:10.8521663s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

154257 00:43:20.9464343s - W32TimeHandler called:

SERVICE_CONTROL_INTERROGATE

154257 00:43:31.0634751s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

154257 00:43:35.9394523s - W32TmServiceMain: timeout

154257 00:43:35.9394523s - Sample Prepared at 133278074159394523 for peer time.nist.gov,0x9 (ntp.m|0x9|0.0.0.0:123->132.163.96.1:123)

154257 00:43:35.9394523s - NtpClient returned 1 samples.

154257 00:43:35.9394523s - Sample 0 offset:+00.0245049s delay:+00.0471270s dispersion:07.8731303s

154257 00:43:35.9394523s - Intersection successful with 0 dropped samples.

154257 00:43:35.9394523s -   0: Sample:0 SyncDist:238966938 SelectDisp:0

154257 00:43:35.9394523s - Sample 0 chosen. Select Dispersion:00.0000000s STC:7022766

154257 00:43:35.9394523s - ClockDispln Update: *STALE*(NextSTC=7022766 <= LastUTC=7022766) Hold(1)

154257 00:43:35.9394523s - W32TmServiceMain: waiting 1024.000s

154256 22:43:38.7084419s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

154256 22:43:48.8421763s - W32TimeHandler called: SERVICE_CONTROL_INTERROGATE

希望各位能帮忙分析下问题出在哪,或者给点排查方向,万分感谢!

备注:内容来源于stack exchange,提问作者Jake C

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 12:43:12