Linux下 ntp 时间同步服务ntpdata时报的错
来源:互联网 发布:下载淘宝游览器 编辑:程序博客网 时间:2024/05/16 11:07
关于ntp的介绍:http://blog.sina.com.cn/s/blog_636a55070101u1mg.html
1.运行ntpupdate的时候报错:the NTP socket is in use, exiting
ntp服务的服务器和客户端都是使用端口123的,上面的这个错误提示是端口被占用造成的,那么就需要检查一下是不是有程序占用了123端口,或者是不是打开了ntpd服务,这个服务是服务器服务,也就是将本机作为可以被查询时间的服务器,那么端口123就会被ntp服务占用监听。
2.运行ntpupdate的时候报错:no server suitable for synchronization found
192.168.249.128上安装了ntp服务,并且已经开启,可以ping通
本机/etc/hosts文件
/etc/ntp.conf文件设置为客户端,并且从controller:192.168.249.128处获得时间同步
那么为什么会报这个错误呢,在controller上的ntp.conf文件中已经设置了允许同一网段的主机进行查询
配置没有问题,经过查询,找到一个原因,参考链接:http://www.myexception.cn/operating-system/409783.html
可能原因是controller——ntp服务器的防火墙没有关闭,导致本机无法向ntp服务器,果然,一检查,controller的防火墙处于运行状态,所以关闭了防火墙,再一次运行update controller 成功更新时间,显示结果如下:
0 0
- Linux下 ntp 时间同步服务ntpdata时报的错
- linux时间同步ntp服务的安装与配置
- Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- Linux的时间同步(NTP)
- linux之NTP时间同步服务介绍
- NTP服务同步时间
- ntp同步时间服务
- ntp时间服务同步
- Linux下ntp时间同步服务器
- linux ntp同步时间
- linux ntp时间同步
- linux ntp时间同步
- linux ntp时间同步
- linux ntp 时间同步
- 轉Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- centos6.5的服务器同步时间时报错:ntpdate ntp.fudan.edu.cn
- NTP服务时间同步方案
- swustoj---544(跑跑卡丁车)
- epoch和iteration的区别
- unity移动端数据持久化
- 【linux】添加个 ll 命令
- Chapter9——分析下面的程序,写出其运行时的输出结果/将程序第5行改为Date(int=1,int=1,int=2005);修改程序使之能通过编译
- Linux下 ntp 时间同步服务ntpdata时报的错
- OSTaskStatHook()
- 378. Kth Smallest Element in a Sorted Matrix
- NOJ_1012
- gdb调试利器的学习
- 【Github教程】史上最全github使用方法:github入门到精通
- PHP 中 static 和 self 的区别
- 【Redis】缓冲之Redis简介
- php可逆加密函数