【Linux环境下Hadoop部署】—报错“Unit ntpd.service could not be found.“

项目场景:

执行 “systemctl status ntpd” 命令。


问题描述

报错:Unit ntpd.service could not be found.

在这里插入图片描述


原因分析:

没有安装ntp


解决方案:

执行 “yum install ntp” 命令,再次执行 “systemctl status ntpd” 命令,可以看到当前是状态是dead。

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/sodaloveer/article/details/139662133