ntpdate[1788]: the NTP socket is in use, exiting
来源:互联网 发布:管道阻力计算软件 编辑:程序博客网 时间:2024/06/08 08:11
当初搭建RAC环境(虚拟机上搭建)的时候使用了NTP来同步时间,今天启动的时候时间不同步了,在客户端上执行同步时间的命令,出现了
以下错误:
[root@vmac1 ~]# crontab -l0 * * * * ntpdate 192.168.3.102 >> /root/ntpdate.log 2>&1[root@vmac1 ~]# ntpdate 192.168.3.102 >> /root/ntpdate.log 2>&1[root@vmac1 ~]# dateThu Mar 26 15:37:25 EDT 2015[root@vmac1 ~]# cat /root/ntpdate.log…………/bin/sh: ntpdate: command not found26 Mar 15:17:04 ntpdate[21342]: the NTP socket is in use, exiting26 Mar 15:31:17 ntpdate[22056]: the NTP socket is in use, exiting26 Mar
解决方法您收到此错误消息的原因是由于 xntpd 已经绑定到了该 Socket。运行 ntpdate 时,它会首先进行广播,然后侦听端口 123。如果 xntpd 正在运行,而有一个进程已经在侦听该端口了,则会使 ntpdate 无法在上面运行。运行下列命令,即可找出 xntpd 的 PIDps -ef|grep xntpd可惜没有找到pid。使用lsof –i:123
[root@vmac1 ~]# lsof -i:123COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEntpd 22333 ntp 16u IPv4 258219 0t0 UDP *:ntp ntpd 22333 ntp 17u IPv6 258220 0t0 UDP *:ntp ntpd 22333 ntp 18u IPv6 258221 0t0 UDP localhost6.localdomain6:ntp ntpd 22333 ntp 19u IPv6 258222 0t0 UDP [fe80::a00:27ff:fe81:e568]:ntp ntpd 22333 ntp 20u IPv6 258223 0t0 UDP [fe80::a00:27ff:fec4:3897]:ntp ntpd 22333 ntp 21u IPv6 258224 0t0 UDP [fe80::a00:27ff:fe2b:9a3c]:ntp ntpd 22333 ntp 22u IPv4 258225 0t0 UDP rac1.localdomain:ntp ntpd 22333 ntp 23u IPv4 258226 0t0 UDP 192.168.3.101:ntp ntpd 22333 ntp 24u IPv4 258227 0t0 UDP vmac1:ntp ntpd 22333 ntp 25u IPv4 258228 0t0 UDP vmac1-vip:ntp ntpd 22333 ntp 26u IPv4 258229 0t0 UDP vmac-cluster:ntp ntpd 22333 ntp 27u IPv4 258230 0t0 UDP vmac1-priv:ntp [root@vmac1 ~]# kill -9 22333[root@vmac1 ~]# lsof -i:123[root@vmac1 ~]# crontab -l0 * * * * ntpdate 192.168.3.102 >> /root/ntpdate.log 2>&1
0 0
- ntpdate[1788]: the NTP socket is in use, exiting
- ntpdate命令遇到“the NTP socket is in use, exiting”
- ntpdate[18977]: the NTP socket is in use, exiting解决
- ntpdate 遇到 ntpdate[3779]: the NTP socket is in use, exiting
- 同步NTP 服务器时间错误:Updating Time : ntpdate[3108]: the NTP socket is in use, exiting
- the NTP socket is in use, exiting
- linux中时间服务器同步问题:ntpdate[5426]: the NTP socket is in use, exiting
- ntpdate解决同步时间报错 the NTP socket is in use, exiting
- 解决the NTP socket is in use, exiting问题
- 解决the NTP socket is in use, exiting问题
- Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- 轉Linux下 ntp 时间同步服务ntpd 出现 the NTP socket is in use, exiting 解决
- Qt socket。The bound address is already in use
- idea【 Address localhost:1099 is already in use】socket closed
- The driver is activated but not currently in use
- SBL-SMI-00046: The port %1 is already in use
- October( the name is already in use)
- Hadoop集群(第9期)_MapReduce初级案例
- 矩阵乘的MPI并行程序 MPI主从模式
- Memcached Java使用
- 有关struts.xml的地址和中文编码乱码问题
- HDOJ 2000 ASCII码排序(水题)(多方法)
- ntpdate[1788]: the NTP socket is in use, exiting
- Word公式字体乱码终极解决(BY 冷家锋)
- 认识与入门 Markdown
- ZOJ 2770--Burn the Linked Camp 【差分约束】
- Lightoj 1122 - Digit Count 【DP】
- phonegap(cordova) 入门 10----支付宝手机支付控件,微信手机支付控件,银联手机支付控件的对比
- 获取手机屏幕的宽高
- 欢迎使用CSDN-markdown编辑器
- 杭电dp60题