Ntp not updating date

Here we are going to cover how to configure chronyd or ntpd in Linux to connect to an NTP server and keep time in sync.

We only want to use one of these at a time however, having both running at once is not a good idea and may cause conflicts.

We can manually synchronize the hardware clock to the system clock if required, this would generally only be required if there was no NTP server available.

ntp not updating date-2ntp not updating date-27

In Cent OS 7 as part of systemd we get access to the new timedatectl command which allows us to manage various time settings including NTP.There are many different services such as Kerberos that depend on the time of a Linux system being accurate in order to function correctly.It is therefore important to ensure that system time is synchronized with an external source so that it can be kept accurately up to date, this is done with the network time protocol (NTP).Stratum 0 are the highly exact time sources such as atomic clocks or GPS clocks, these are our reference time devices.Stratum 1 are the computers that synchronize with the stratum 0 sources, these are highly accurate NTP servers.

Leave a Reply