Original address: http://blog.csdn.net/babyfish13/article/details/52502522
CentOS 7 is different from the previous linux operation, and the command is different for the adjustment of boot-up. chkconfig --list view the self startup status of non system built-in services
According to the prompt, to view the built-in service self starting status of the system, you need to use the command systemctl list unit files, which lists the self starting status of all built-in services of the system.
So adjusting ntp self start needs to be adjusted here.
Through the query, it is found that a cronyd service is set to start from the start, which causes ntp to fail to start from the start
By disabling the cronyd service from starting up and then restarting the system
At this time, NTP service has been started and started. It is finished!
Frankly, in a word, because the chronyd is not disabled, ntpq can not start even if it is configured!
Chrony is an open-source free software, which can keep the system clock and clock server (NTP) in synchronization and keep the time accurate. It is the new NTP time synchronization service in RHEL7.