Difference between revisions of "Ntpdate configuration"

From Notes_Wiki
m
m
Line 1: Line 1:
<yambe:breadcrumb>Time server configuration|Time server</yambe:breadcrumb>
=ntpdate configuration=
=ntpdate configuration=


Line 8: Line 9:


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 11:47, 2 December 2012

<yambe:breadcrumb>Time server configuration|Time server</yambe:breadcrumb>

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.