NTP not starting at boot

General support questions
Post Reply
xadamz23
Posts: 3
Joined: 2014/08/14 14:30:45

NTP not starting at boot

Post by xadamz23 » 2014/08/14 14:34:39

Hello,

I'm just getting started with RHEL/CentOS 7 and I feel bad for even asking this question, but I can't find anything through searching online. I have ntp configured to start at boot:

systemctl list-unit-files | grep -i ntp
ntpd.service enabled
ntpdate.service disabled

However it does not start at boot. I can start it manually with systemctl. There is nothing in the logs regarding ntp after booting.

What am I missing here?

User avatar
TrevorH
Forum Moderator
Posts: 29902
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NTP not starting at boot

Post by TrevorH » 2014/08/14 14:38:00

CentOS 7 doesn't use ntp, it uses chrony.

Code: Select all

[root@centos7 ~]# systemctl list-unit-files | grep -i chrony
chrony-wait.service                         disabled
chronyd.service                             enabled
Same job, different tool.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

xadamz23
Posts: 3
Joined: 2014/08/14 14:30:45

Re: NTP not starting at boot

Post by xadamz23 » 2014/08/14 14:39:25

Chrony is enabled on my system.

User avatar
TrevorH
Forum Moderator
Posts: 29902
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NTP not starting at boot

Post by TrevorH » 2014/08/14 14:41:18

There are man pages for chrony and chronyd that tell you more.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

xadamz23
Posts: 3
Joined: 2014/08/14 14:30:45

Re: NTP not starting at boot

Post by xadamz23 » 2014/08/14 14:44:08

Thanks. I am reading about it now.

Post Reply

Return to “CentOS 7 - General Support”