ntp.conf配置不生效,请教

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
askkkkk
帖子: 14
注册时间: 2019-10-10 9:53
系统: ubuntu

ntp.conf配置不生效,请教

#1

帖子 askkkkk » 2021-01-09 23:48

ntp.conf测试了多种配置,但是不能生效;请问想在局域网里使用ntpd同步局域网里ntp服务器该如何配置?谢谢。
系统是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

回复