トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

FB-ntpd

 

tips-ntp

  rc.conf

RC.CONF

ntpdate_enable="YES" 
ntpdate_program="/usr/sbin/ntpdate"
ntpdate_flags="-sbv 192.168.0.15"

ntpd_enable="YES"

  FreeBSD 12 ntp がうまく動かないのでメモ


ntpd[83377]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2019-12-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
ntpd[83377]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 272 days ago

の対応

$ pkg install ca_root_nss
$ cd /var/db
$ mv ntpd.leap-seconds.list ntpd.leap-seconds.list.bak
$ /etc/rc.d/ntpd fetch
      $# env http_proxy="http://192.168.1.21:7080" /etc/rc.d/ntpd fetch
$ /etc/rc.d/ntpd restart

https://incarose86.hatenadiary.org/entry/20110505/1312522379