ntpd:unrecognized service

今天在同步集群时间的时候,出现了ntpd:unrecognized service的错误,解决方法如下:

1.刚开始的时候我是安装的ntpdate,后来在使用ntpd服务器的时候出现上述错误,又重新安装ntp

yum install -y ntp

2.安装ntpd服务器之后,启动ntpd

service ntpd start

3.配置网络时间

ntpdate hadoop-master

要注意hadoop-master的防火墙是关闭的。

猜你喜欢

转载自blog.csdn.net/wlk_328909605/article/details/81706994