设置了ntpd开机自启动,重启服务器ntpd没有自启动
1.需要禁掉chronyd.service:
systemctl disable chronyd.service
2.手动启动ntpd:
systemctl start ntpd
3.再次设置开机自启动:
systemctl enable ntpd
4.重启服务器测试ntpd即可正常自启动了
设置了ntpd开机自启动,重启服务器ntpd没有自启动
1.需要禁掉chronyd.service:
systemctl disable chronyd.service
2.手动启动ntpd:
systemctl start ntpd
3.再次设置开机自启动:
systemctl enable ntpd
4.重启服务器测试ntpd即可正常自启动了