Difference between revisions of "Ntpdate configuration"

From Notes_Wiki
(Created page with "=ntpdate configuration= Sometimes we can get following message when we try to start ntpd service <pre> ntpd: Synchronizing with time server: [FAILED] Starting ntpd...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=ntpdate configuration=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Time server configuration]] > [[ntpdate configuration]]


Sometimes we can get following message when we try to start ntpd service
Sometimes we can get following message when we try to start ntpd service
Line 8: Line 8:


The messages come even when we comment all default servers in '<tt>/etc/ntp.conf</tt>' and configure only one local time server. To solve the problem we can edit file '<tt>/etc/ntp/step-tickers</tt>' and write FQDN or IP address of time server in that file. After that if we restart ntpd then everything works fine. This is generally required in older versions of ntpd/ntpdate. Newer versions seem to work fine without this extra step.
The messages come even when we comment all default servers in '<tt>/etc/ntp.conf</tt>' and configure only one local time server. To solve the problem we can edit file '<tt>/etc/ntp/step-tickers</tt>' and write FQDN or IP address of time server in that file. After that if we restart ntpd then everything works fine. This is generally required in older versions of ntpd/ntpdate. Newer versions seem to work fine without this extra step.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Time server configuration]] > [[ntpdate configuration]]

Latest revision as of 10:37, 14 July 2022

Home > CentOS > CentOS 6.x > Time server configuration > ntpdate configuration

Sometimes we can get following message when we try to start ntpd service

ntpd: Synchronizing with time server:            [FAILED]
Starting ntpd:                                   [  OK  ]

The messages come even when we comment all default servers in '/etc/ntp.conf' and configure only one local time server. To solve the problem we can edit file '/etc/ntp/step-tickers' and write FQDN or IP address of time server in that file. After that if we restart ntpd then everything works fine. This is generally required in older versions of ntpd/ntpdate. Newer versions seem to work fine without this extra step.


Home > CentOS > CentOS 6.x > Time server configuration > ntpdate configuration