I am trying to restart services for openstack, and under my /etc/systemd/system/multi-user.target.wants/
I run a systemctl start ntpdate.service
and get the following error:
May 31 12:05:39 localhost.localdomain systemd[1]: Starting Set time via NTP... May 31 12:06:09 localhost.localdomain systemd[1]: ntpdate.service: main process exited, code=exited, status=1/FAILURE May 31 12:06:09 localhost.localdomain systemd[1]: Failed to start Set time via NTP. May 31 12:06:09 localhost.localdomain systemd[1]: Unit ntpdate.service entered failed state. May 31 12:06:09 localhost.localdomain systemd[1]: ntpdate.service failed.
I also can't seem to find the ntp.log
in the /var/log/
directory. I believe this is also screwing up my rabbitmq-server.service
, but one problem at the time.
Any suggestions?
Best Answer
I realized that
ntpd
was installed as well as thentpdate.service
, so they were conflicting with the port that they were using. I need to usentpdate.service
, so I just rand the commandsystemctl stop ntpd
and then restartedntpdate
withsystemctl start ntpd
. I then checked the status withsystemctl status ntpdate.service
and it wasactive
.