任何人都可以指出任何公共文档,说明来自 ntp.org 和 time.windows.com 的池在下周四 gps 周翻转时是安全的吗?
我正在寻找类似于这个 Red Hat KB 的东西
https://access.redhat.com/solutions/4018911
谢谢 g
我们使用 chrony 来将 Red Hat (7.2) 服务器与 NTP 服务器同步。
为此,我们配置了logdir /var/log/chronyinchrony.conf并通过 重启了 chrony systemctl restart chronyd。
但该文件夹仍然/var/log/chrony是空的,没有任何日志。
这种行为的原因可能是什么?
在 Debian 10 上,ntpd 4.2.8p12@1.3728-o无法同步并出现以下错误:
kernel reports TIME_ERROR: 0x41: Clock Unsynchronize
Run Code Online (Sandbox Code Playgroud)
这是ntp.conf:
disable monitor
statsdir /var/log/ntpstats
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict ::1
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
server 127.127.1.0
fudge 127.127.1.0 stratum 10
restrict 127.127.1.0
driftfile /var/lib/ntp/drift
Run Code Online (Sandbox Code Playgroud)
ntpq -c sysinfo:
associd=0 status=0614 leap_none, sync_ntp, 1 event, freq_mode,
system peer: 50-205-57-38-static.hfc.comcastbusiness.net:123
system peer mode: client …Run Code Online (Sandbox Code Playgroud) 我的任务是重建一个 LAN 服务器,该服务器充当数百台客户端计算机的 NTP 服务器。不幸的是,它是在虚拟机上,正如诸如在虚拟机中运行 NTP 服务器的限制是什么?这远非理想。
然而,在当前情况下,这就是我必须处理的问题,直到依赖该服务器的数百台机器在未来的某个地方被重新配置为更强大的 NTP 设置。
幸运的是,客户端不依赖毫秒精度。我一直计划在新服务器上运行 Chrony,并将其配置为使用四个本地 2 层服务器。
我是 NTP 服务的新手,也是 Chrony 的新手。您认为哪些服务器端设置对于这种情况至关重要?首先,考虑到在虚拟机上运行 NTP 服务器的基本限制,我们的目标是最大限度地减少不准确性。
有些东西在我们的网络上设置(不正确的)时间——尽管我不知道它是什么(因为我们有大约 40 台服务器)。我们在 Windows 网络上运行,使用 AD 等。不确定从哪里开始寻找 - 据我所知,我们不在内部运行 NTP 服务器。
有什么建议吗?
谢谢
我的服务器上的时间已经正确同步了几个星期,然后我们上周重新启动了服务器,今天休息了 10 分钟。我做了“sudo ntpdate ntp.ubuntu.com”并得到:
4 Oct 14:22:08 ntpdate[17734]: the NTP socket is in use, exiting
我猜这意味着它已经在运行……但是为什么当我重新启动服务器时它没有运行?
更新
/etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server ntp.ubuntu.com
server 0.north-america.pool.ntp.org
server 1.north-america.pool.ntp.org
server 2.north-america.pool.ntp.org
server 3.north-america.pool.ntp.org
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
Run Code Online (Sandbox Code Playgroud) Windows 2008中本地时钟与NTP源不同且不同步时的阈值是多少?
例如,如果本地时间关闭 > 2 天,NTP 还会同步吗?是否有可以调整的值?
此处不涉及域/Active Directory。