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
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.
Back to [[Time server configuration]]

Revision as of 00:59, 24 November 2012

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.


Back to Time server configuration