重啓ntpd無效,解決辦法:
linux
先查看ntp.conf的屬性 lsattr /etc/ntp.confide
一、關閉selinuxrest
二、restorecon -R -v /etc/ntp.conf rem
service ntpd restartit
就能夠了。class
[root@host-192-168-144-49 etc]# ntpq -pservice
remote refid st t when poll reach delay offset jitterim
==============================================================================di
*85.199.214.100 .GPS. 1 u 27 64 1 277.072 11.119 0.394view
time.dan.me.uk 82.148.230.254 2 u 26 64 1 264.806 28.641 0.792
marla.ludost.ne .INIT. 16 u - 64 0 0.000 0.000 0.000
ntp4.itcomplian 5.103.128.88 3 u 24 64 1 284.819 5.173 0.072
LOCAL(0) .LOCL. 5 l 33 64 1 0.000 0.000 0.000