啟動NTP服務提示啟動失敗
報錯信息如下:
使用shell連接,在/etc/ntp.conf里面加入:
server stdtime.gov.hk
保存退出
內容如下:
[root@localhost:~] cat /etc/ntp.conf restrict default nomodify notrap nopeer noquery restrict 127.0.0.1 driftfile /etc/ntp.drift server stdtime.gov.hk
回到vm client啟動NTP服務就OK了
參考網站:
https://blog.csdn.net/weixin_33709219/article/details/91529666?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~first_rank_v2~rank_v25-1-91529666.nonecase