ntpd won’t start after reboot on CentOS 7
I’ve been having an issue where I install and enable ntpd to start at reboot on our ceph storage servers but after a reboot ntpd isn’t running correctly.
I’ve enabled ntpd using the following
yum -y install ntpd systemctl start ntpd systemctl enable ntpd
Then I reboot the server and check if ntpd is running.
[root@localhost log]# systemctl status ntpd ● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Active: inactive (dead)
How to Enable NTPD on reboot
It appears there is a conflict and you need to disable chronyd.
systemctl stop chronyd systemctl disable chronyd
After doing that change and making one more reboot it helped resolve the issue. ntpd now automatically starts after a reboot.