免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: mailme365
打印 上一主题 下一主题

配好了ntp服务,为何时间就是不同步 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-12-30 11:46 |只看该作者

配好了ntp服务,为何时间就是不同步

我搞定了。

论坛徽章:
0
12 [报告]
发表于 2005-04-11 11:50 |只看该作者

配好了ntp服务,为何时间就是不同步

# ntpdate 192.168.8.110
16 Dec 12:00:42 ntpdate[18707]: no server suitable for synchronization found
请问是什么原因阿???告诉俺一声,等着用阿!

论坛徽章:
0
13 [报告]
发表于 2005-04-11 13:56 |只看该作者

配好了ntp服务,为何时间就是不同步

192.168.8.110 连不到

起xntp后,client隔64s去询问server端时间,超过128ms的时差就会自动同步。

ntpdate是一次性同步,之后不会自动同步。

附我的server和client配置,供大家作参考:
server端配置:
/etc/inet/ntp.conf
server 218.75.4.130
server ntp.cuhk.edu.hk
server nss.nts.umn.edu

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

client端配置:
/etc/inet/ntp.conf

server 172.16.101.76(ntp server ip)

启动关闭xntp用
/etc/init.d/xntpd start|stop

同步情况用
ntpq -p观察,*号表示同步完成且正常
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP