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 10.143.33.50
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
==============================================================================
210.72.145.44 .ACTS. 1 u 971 8 0 0.000 0.000 0.000
202.120.2.101 .INIT. 10 u 8 64 377 0.000 0.000 0.000Viewing is normal.
3, there may be network reasons
4. From the data, it is also related to conf. configuration , configuration such as restrict
Solution:
1. Make sure port 123 is connected
2. Modify the server configuration (202.120.2.101 This is the synchronization server)
vim /etc/ntp.conf
restrict default nomodify notrap noquery
restrict 127.0.0.1
server 202.120.2.101 prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /var /lib/ntp/drift
keys /etc/ntp/keys3. Restart ntpd on the server side
service ntpd restart
Read More:
- [Solved] Bringing up interface eth0: Error: No suitable device found: no device found for connection ‘System eth0’.
- [Solved] @webservice Error: org.apache.cxf.common.i18n.UncheckedException: No operation was found with
- [Solved] selenium.common.exceptions.WebDriverException: Message: An unknown server-side error
- [Solved] Error:E0415 no suitable constructor exists to convert from “int“ to “Rational“
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- [Elasticsearch Exception]Found interface org.elasticsearch.common.bytes.BytesReference
- SpringBoot startup error Failed to determine a suitable driver class
- Gradle Package Project Lombok Not Working: No serializer found for class com.qbb.User and no properties discovered to create BeanSerializer……
- Vue Browser Error: Failed to load resource: the server responded with a status of 404 (Not Found)
- [Solved] Redis startup error Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- Internalerror: GPU sync failed error (How to Solve)
- No repositories directory found inside registry_ DATA_ DIR
- [Solved] TortoiseGitPlink Fatal Error: No supported authentication methods available (server sent: publi
- JMeter JDBC Error: No pool found named: ‘test‘ [How to Solve]
- Android Studio: Gradle project sync failed [How to Solve]
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- [Solved] Redis Error: Creating Server TCP listening socket *:6379: bind: No error
- [Solved] Spark Error: ERROR StatusLogger No log4j2 configuration file found
- jitpack.io ERROR: No build artifacts found [How to Solve]
- Error: Unable to build IHost No DbContext named ‘PersistedGrantDbContext‘ was found.