NTP service:n/a

 

使用命令均报错:Failed to set ntp: NTP not supported

timedatectl set-ntp on

timedatectl set-ntp yes

解决方案:

apt install systemd-timesyncd

timedatectl set-ntp true

再次查看ntp service ,状态为active


参考:20.04 - NTP not supported - Ask Ubuntu

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐