LoginSignup
1
0

More than 3 years have passed since last update.

HP-UX でntpq -pとしたらntpq: read: Can't assign requested addressと表示される場合

Last updated at Posted at 2019-03-20

HP-UX でntpq -pとしたらntpq: read: Can't assign requested addressと表示される場合

前提条件

  • NTPサーバに接続できる事

事象

# ntpq -p としたら以下のエラーが出てしまう
ntpq: read: Can't assign requested address

対処

  1. ntpdateコマンドで時刻を合わせる
  2. (あまりにもサーバの時刻が現時刻と離れていると調整できないから)
    ntpdate 111.222.333.444

  3. xntpdの再起動
    /sbin/init.d/xntpd stop
    /sbin/init.d/xntpd start

  4. 5分後くらいにntpq -pをして*マークがつくのを確認する

# ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
*111.222.333.444   aa.bb.cc.dd    2 u   30   64  377  134.691   -5.142  18.612
1
0
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
1
0