Ntpdate Synchronization Time failure problem, put on hold for a long time, today is solved, not yet the problem is not clear.
ntp.fudan.edu.cn time server has been used before, I do not know when the start can not be used.
This time, the decision to use a server from the external synchronization time, provided to the internal server (NTP client) used.
NTP server was installed before, but it is not available, because the external server can not sync to time, so provide internal other NTP clients when the server Dropped:strata too high error, the error message is as follows:
| The code is as follows |
Copy Code |
|
125.XXX. Xx.xxx: <span style= "color: #ff0000;" >server Dropped:strata too high</span>
Server 125.XXX. XX.XXX, Port 123
<span style= "color: #ff0000;" >stratum 16</span>, precision-20, leap one, trust 000 |
The solution from the Internet is to modify the configuration of the NTP server to provide the NTP client with local time as a source when the external source is not synchronized, and to add the following configuration:
| The code is as follows |
Copy Code |
|
Server 127.127.1.0
Fudge 127.127.1.0 Stratum 8 |
Note that the server is added and the previous server does not move. The address at the back is 127.127.1.0, no doubt.
But there is still a confusion: The local NTP server cannot synchronize time from an external server, but the local NTP server time is right, how do you understand this? (Other NTP clients did not have the correct time before)