LoginSignup
2
2

More than 5 years have passed since last update.

NTPの同期ズレを直す

Posted at

一旦メモ。

ntpの同期が上手くいかないので調べて復旧させる(ntp上位サーバから対応していく)

 /usr/sbin/ntpq -p
  ・・・状態確認。特にoffset値が時刻ズレを意味している。
 less /etc/ntp.conf
  ・・・上位の時刻同期先を確認する
 ntpdate -u ntp1.jst.mfeed.ad.jp
  ・・・上位の時刻同期先を指定して強制的に時刻同期する
 systemctl status ntpd
  ・・・ntpdのステータス確認
 systemctl restart ntpd
  ・・・ntpdの再起動

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2