wiki:ntp_start_issue
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:ntp_start_issue [2021/04/08 18:55] – created walkeradmin | wiki:ntp_start_issue [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | NTP Start Issue | + | ====== |
+ | <color darkorange> | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | This was created and tested using CentOS 7.9 | ||
+ | ---- | ||
+ | I recently had an issue where NTP would not start on a server, I have no idea why, it had CentOS installed and configured exactly the same as the other servers in the system, however NTP would not start. | ||
+ | \\ | ||
+ | \\ | ||
+ | Running <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Using timedatectl I could see the following: | ||
+ | \\ | ||
+ | < | ||
+ | Local time: Thu 2021-04-08 14:22:37 UTC | ||
+ | Universal time: Thu 2021-04-08 14:22:37 UTC | ||
+ | RTC time: Thu 2021-04-08 14:22:37 | ||
+ | Time zone: UTC (UTC, +0000) | ||
+ | NTP enabled: no | ||
+ | NTP synchronized: | ||
+ | RTC in local TZ: no | ||
+ | DST active: n/a | ||
+ | </ | ||
+ | \\ | ||
+ | NTP enabled: <color # | ||
+ | NTP synchronized: | ||
+ | \\ | ||
+ | \\ | ||
+ | From the command line, issue the command: | ||
+ | \\ | ||
+ | \\ | ||
+ | timedatectl set-ntp yes | ||
+ | \\ | ||
+ | \\ | ||
+ | Re-run the <color # | ||
+ | \\ | ||
+ | < | ||
+ | Local time: Thu 2021-04-08 14:23:20 UTC | ||
+ | Universal time: Thu 2021-04-08 14:23:20 UTC | ||
+ | RTC time: Thu 2021-04-08 14:23:20 | ||
+ | Time zone: UTC (UTC, +0000) | ||
+ | NTP enabled: yes | ||
+ | NTP synchronized: | ||
+ | RTC in local TZ: no | ||
+ | DST active: n/a | ||
+ | </ | ||
+ | \\ | ||
+ | where: | ||
+ | \\ | ||
+ | \\ | ||
+ | NTP enabled: <color # | ||
+ | NTP synchronized: | ||
+ | \\ | ||
+ | \\ | ||
wiki/ntp_start_issue.1617904535.txt.gz · Last modified: 2023/03/09 22:35 (external edit)