關於Linux下ntp 時間同步錯誤

lixiang114發表於2011-10-14

今早進行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部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1055673/,如需轉載,請註明出處,否則將追究法律責任。

相關文章