ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 关于Linux下ntp 时间同步错误

关于Linux下ntp 时间同步错误

原创 Linux操作系统 作者:lixiang114 时间:2011-10-14 11:03:18 0 删除 编辑

今早进行linux同步时间报类似错:

root@test log]#
[root@test log]# ntpdate 192.168.43.2
6 Sep 09:35:09 ntpdate[30210]: the NTP socket is in use, exiting
[root@test log]#

由于该NTP进程已经存在,故报错,需要先停止NTP服务

root@test log]#
[root@test log]# ntpdate 10.154.8.200
6 Sep 09:35:09 ntpdate[30210]: the NTP socket is in use, exiting
[root@test log]#

root@test init.d]# pwd
/etc/rc.d/init.d
[root@test init.d]# ./ntpd stop
Shutting down ntpd: [ OK ]
[root@test init.d]# ntpdate 192.168.43.2
6 Sep 09:37:19 ntpdate[30658]: step time server 10.161.8.200 offset -51.869609 sec

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7417660/viewspace-1055673/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-05-28

  • 博文量
    54
  • 访问量
    125874