ntp.conf配置不生效,请教
发表于 : 2021-01-09 23:48
ntp.conf测试了多种配置,但是不能生效;请问想在局域网里使用ntpd同步局域网里ntp服务器该如何配置?谢谢。
系统是ubuntu18.04
系统是ubuntu18.04
代码: 全选
root@xxxx:/etc# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.4.116 52.231.114.183 4 u 53 64 3 1.676 1265241 1.006
代码: 全选
root@xxxx:/etc# cat ntp.conf
driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 192.168.4.116