[Solved] NTP Sync common error: no server suitable for synchrnization found

Project Scene:

Environment centos7.9

Problem description

Set a server as ntp server. The other is the client. Found an error. no server suitable for synchrnization found

Use: ntpdate -d

View the error

xxx.xxx.xxx.xxx: Server dropped: no data

Appears again during debugging

xxx.xxx.xxx.xxx: server dropped: strata too high

Cause Analysis:

1. Keepalived was originally installed on the server. I thought it was because of this effect. After closing it, the problem is still there.

2,–check from the server side
[root@timeserver ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
============================================================================== .ACTS. 1 u 971 8 0 0.000 0.000 0.000 .INIT. 10 u 8 64 377 0.000 0.000 0.000

Viewing is normal.

3, there may be network reasons

4. From the data, it is also related to conf. configuration , configuration such as restrict


1. Make sure port 123 is connected

2. Modify the server configuration ( This is the synchronization server)

vim /etc/ntp.conf

restrict default nomodify notrap noquery
server prefer
fudge stratum 10
driftfile /var /lib/ntp/drift
keys /etc/ntp/keys

3. Restart ntpd on the server side

service ntpd restart

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *