免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7207 | 回复: 3

[DNS] 集群局域网内4台LINUX服务器,拿一台服务器做时间服务器客户端老是报错同步不了 [复制链接]

论坛徽章:
0
发表于 2017-07-07 16:14 |显示全部楼层
IP 192.168.1.10      192.168.1.11
    192.168.1.12
    192.168.1.13
    192.168.1.14


以192.168.1.10 作为局域网内时间服务器,其它3台为客户端

192.168.1.10   /etc/ntp.conf  配置如下:
# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server pool.ntp.org

fudge 127.127.0.1 stratum 10

service ntpd restart
chkconfig ntpd on

客户端: 192.168.1.11
            192.168.1.12
            192.168.1.13
            192.168.1.14
# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 192.168.1.10




service ntpd stop
ntpdate 192.168.1.10
7 Jul 16:11:12 ntpdate[24464]: no server suitable for synchronization found

报错:7 Jul 16:11:12 ntpdate[24464]: no server suitable for synchronization found,时间一直同步不了;
网络正常,求大神指点!

论坛徽章:
0
发表于 2017-07-10 10:29 |显示全部楼层
参考   解决ntp的错误 no server suitable for synchronization found  已经解决,感谢Shirly的分享
http://blog.csdn.net/qiqijianglu ... ?utm_source=tuicool

论坛徽章:
154
2022北京冬奥会纪念版徽章
日期:2015-08-07 17:10:5720周年集字徽章-年
日期:2022-10-26 16:44:2015-16赛季CBA联赛之深圳
日期:2022-11-02 14:02:4515-16赛季CBA联赛之八一
日期:2022-11-28 12:07:4820周年集字徽章-20	
日期:2023-07-19 08:49:4515-16赛季CBA联赛之八一
日期:2023-11-04 19:23:5115-16赛季CBA联赛之广夏
日期:2023-12-13 18:09:34
发表于 2017-07-19 16:42 来自手机 |显示全部楼层
换个路子,rdate就可以了

论坛徽章:
0
发表于 2018-03-09 15:15 |显示全部楼层
回复 2# sea_smart

no server suitable for synchronization found  可能还跟 server <->client 之间的防火墙相关    (server <->clien  都执行    service iptables stop      chkconfig iptables off)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP