010-ntpd服务器同步问题

[root@cnsz142686 ~]# date
Wed Aug  9 01:19:55 CST 2017
[root@cnsz142686 ~]# service ntpd status
ntpd dead but pid file exists
[root@cnsz142686 ~]# service ntpd stop  
Shutting down ntpd:                                        [FAILED]
[root@cnsz142686 ~]# cat /etc/ntp.conf
server  ntpserver.pingan.com.cn  prefer
server  ntpserver2.pingan.com.cn
server  ntpserver.dr.pingan.com.cn
driftfile  /var/lib/ntp/drift
keys  /etc/ntp/keys
[root@cnsz142686 ~]# ntpdate ntpserver.pingan.com.cn
 8 Aug 17:21:45 ntpdate[7827]: step time server 10.15.101.3 offset -28727.786660 sec
[root@cnsz142686 ~]# date
Tue Aug  8 17:21:47 CST 2017
[root@cnsz142686 ~]# service ntpd start
Starting ntpd:                                             [  OK  ]
[root@cnsz142686 ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 10.15.101.3     10.11.170.212    2 u   11   64    1    0.487    0.010   0.000
 10.15.101.4     10.11.118.211    2 u   10   64    1    0.493   -0.006   0.000
 10.36.101.2     10.11.170.211    2 u    9   64    1   38.055   -0.261   0.000
[root@cnsz142686 ~]# 

 

转载于:https://my.oschina.net/u/3635512/blog/1504688

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值