如何在 Ubuntu 22.04 上找到我的 NTP 服务器的 IP?

如何在 Ubuntu 22.04 上找到我的 NTP 服务器的 IP?

我尝试使用 [此处][1] 中的两种方法来查找我的 NTP 服务器的 IP,但无法成功找到。事实上,第二种方法没有列出 NTP 服务器。具有讽刺意味的是,我需要找到 NTP 服务并将其放入第二种方法中列出的空间中。任何有关查找我的 NTP 服务器 IP 的建议都将不胜感激。谢谢。

附加信息:

  • 运行时systemctl status ntp出现错误
× ntp.service - Network Time Service
     Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: e>
     Active: failed (Result: exit-code) since Wed 2022-06-08 11:24:56 MDT; 15s >
       Docs: man:ntpd(8)
    Process: 8016 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper (code=exited, stat>
        CPU: 9ms
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: proto: precision = 0.051 usec >
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: basedate set to 2022-02-04
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: gps base set to 2022-02-06 (we>
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: leapsecond file ('/usr/share/z>
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: leapsecond file ('/usr/share/z>
Jun 08 11:24:56 mikel-precision-5540 ntpd[8022]: unable to bind to wildcard add>
Jun 08 11:24:56 mikel-precision-5540 ntpd[8016]: daemon child exited with code 1
Jun 08 11:24:56 mikel-precision-5540 systemd[1]: ntp.service: Control process e>
Jun 08 11:24:56 mikel-precision-5540 systemd[1]: ntp.service: Failed with resul>
Jun 08 11:24:56 mikel-precision-5540 systemd[1]: Failed to start Network Time S>
lines 1-17/17 (END)```


  [1]: https://www.nixcraft.com/t/how-to-check-ntp-server-ip-address-in-linux/1107/2

相关内容