I tried to do both of the methods [here][1] to find the IP of my NTP server, but I was unable to do so successfully. In fact, the second method does not list the NTP server. Ironically, I need to find the NTP service to put into the space outlined in the second method. Any suggestions to find the IP of my NTP server would be greatly appreciated. Thank you.
Additional Information:
- When running
systemctl status ntp
, I get error
× 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)```
timedatectl
which for your question would most likely besudo timedatectl show-timesync
. If you are on a Server you instead most likely havechrony
which you can ask viachronyc sources
. Does that help - if not could you please state on which Ubuntu release you are? – Christian Ehrhardt Jun 21 '22 at 11:02