/etc/ntp.conf中配置了正确的服务器/home/admin# dpkg -s ntp Package: ntp Status: install ok installed。/home/admin# ps wax | grep ntp 21959 pts/0 S+ 0:00 grep ntp。/home/admin# ntpstat Unable to talk to NTP daemon. Is it running?/home/admin# systemctl start ntpd Failed to start ntpd.service: Unit ntpd.service failed to load: No such file or directory.接下来应该尝试什么?
发布于 2019-01-18 11:22:58
要检查ntp的状态,您应该使用:
systemctl status ntp通过修改/etc/ntp.conf,您应该通过以下方法重新启动服务:
systemctl restart ntpntpstat report Unable to talk to NTP daemon. Is it running?,您可以通过以下方法启动ntp服务:
systemctl start ntp要在启动时启动服务:
systemctl enable ntp发布于 2020-03-25 16:04:21
在我的opensuse卷尾草系统中,我得到
systemctl start ntp
Unit ntp.service could not be found.我用ntpd代替了ntp,一切正常。
systemctl start ntpd
systemctl enabled ntpdhttps://unix.stackexchange.com/questions/495258
复制相似问题