NTP client coudn't work.
[root@localhost ~]# vim /etc/chrony.conf
[root@localhost ~]# systemctl restart chronyd.service
[root@localhost ~]# systemctl enable chronyd.service
[root@localhost ~]# systemctl restart chronyd.service
[root@localhost ~]# systemctl is-active chronyd.service
active
[root@localhost ~]# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
[root@localhost ~]# vim /etc/chrony.conf
[root@localhost ~]# systemctl is-active chronyd.service
active
[root@localhost ~]# systemctl restart chronyd.service
[root@localhost ~]# systemctl status chronyd.service
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor pre>
Active: active (running) since Wed 2023-11-01 18:17:16 EDT; 10s ago
Docs: man:chronyd(8)
man:chrony.conf(5)
Process: 7651 ExecStopPost=/usr/libexec/chrony-helper remove-daemon-state (co>
Process: 7662 ExecStartPost=/usr/libexec/chrony-helper update-daemon (code=ex>
Process: 7657 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited, status=0/SUC>
Main PID: 7660 (chronyd)
Tasks: 1 (limit: 99514)
Memory: 1.0M
CGroup: /system.slice/chronyd.service
└─7660 /usr/sbin/chronyd
Nov 01 18:17:16 servera.lab.example.com systemd[1]: Starting NTP client/server.>
Nov 01 18:17:16 servera.lab.example.com chronyd[7660]: chronyd version 4.2 star>
Nov 01 18:17:16 servera.lab.example.com chronyd[7660]: Frequency -6.696 +/- 0.2>
Nov 01 18:17:16 servera.lab.example.com chronyd[7660]: Using right/UTC timezone>
Nov 01 18:17:16 servera.lab.example.com systemd[1]: Started NTP client/server.
[root@localhost ~]# chronyc sources -v
.-- Source mode '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current best, '+' = combined, '-' = not combined,
| / 'x' = may be in error, '~' = too variable, '?' = unusable.
|| .- xxxx [ yyyy ] +/- zzzz
|| Reachability register (octal) -. | xxxx = adjusted offset,
|| Log2(Polling interval) --. | | yyyy = measured offset,
|| \ | | zzzz = estimated error.
|| | | \
MS Name/IP address Stratum Poll Reach LastRx Last sample
^? servera.lab.example.com
After I did everything i can't get the ^* part when I chronyc source it ? How can I fix this problem ?