Troubleshoot chronyc sources time synchronization in CentOS 7
Chronyc sources results show
^? Controller.
This means that the time synchronization server is unreachable.
Successfully eliminate the error through the following steps for reference
At the control node
1. Check whether the time synchronization service of the controller node server is turned on successfully
Systemctl status chronyd.service
Follow the prompts to troubleshoot errors in the configuration file / etc/chrony.conf, focusing on troubleshooting
Allow allows hosts to connect to synchronization services
.
two。 Turn off the firewall
3. .
4.Go 1 until the chronyd service is successfully started
Repeat the steps to control the node in the compute node, but focus on checking whether there is:
Server controller iburst # (controller can be replaced with the ip address of the synchronization server)
Wait 2 minutes, or reboot after systemctl enable chronyd.service