重启ntpd无效,解决办法:
先查看的属性 lsattr /etc/
1、关闭selinux
2、restorecon -R -v /etc/
service ntpd restart
就可以了。
[root@host-192-168-144-49 etc]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*85.199.214.100 .GPS. 1 u 27 64 1 277.072 11.119 0.394
82.148.230.254 2 u 26 64 1 264.806 28.641 0.792
.INIT. 16 u - 64 0 0.000 0.000 0.000
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
\
本文转自gaodi2002 51CTO博客,原文链接:http://blog./gaodi2002/1971671