CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Ntpdate_Enable [#y1749b3e]
**ntpdate_enable="YES" [#nfc20535]

/etc/rc.conf に、ntpdate_enable="YES"の一行だけ書くとntpでエラーがでる

 May 25 15:34:07 p5k kernel: Setting date via ntp.
 May 25 15:34:07 p5k kernel: Error : hostname nor servname provided, or not known
 May 25 15:34:07 p5k kernel: 25 May 15:34:07 ntpdate[1506]: can't find host ntp.jst.mfeed.ad.jp
 May 25 15:34:07 p5k kernel:
 May 25 15:34:07 p5k kernel: Error : hostname nor servname provided, or not known
 May 25 15:34:07 p5k kernel: 25 May 15:34:07 ntpdate[1506]: can't find host 0.freebsd.pool.ntp.org
 May 25 15:34:07 p5k kernel:
 May 25 15:34:07 p5k kernel: Error : hostname nor servname provided, or not known
 May 25 15:34:07 p5k kernel: 25 May 15:34:07 ntpdate[1506]: can't find host 1.freebsd.pool.ntp.org
 May 25 15:34:07 p5k kernel:
 May 25 15:34:07 p5k kernel: Error : hostname nor servname provided, or not known
 May 25 15:34:07 p5k kernel: 25 May 15:34:07 ntpdate[1506]: can't find host 2.freebsd.pool.ntp.org
 May 25 15:34:07 p5k kernel:
 May 25 15:34:07 p5k kernel: 25 May 15:34:07 ntpdate[1506]: no servers can be used, exiting

**tpdate_enable="YES" ntpdate_hosts="133.243.238.164" [#sc24458e]
http://sanahi.seesaa.net/category/2525037-1.html

/etc/rc.conf に二行目を書くとエラーきえまつ
 tpdate_enable="YES"
 ntpdate_hosts="133.243.238.164"

 May 25 15:38:55 p5k kernel: Setting date via ntp.
 May 25 15:38:55 p5k kernel: 25 May 15:38:55 ntpdate[1505]: sendto(133.243.238.164): No error: 0
 May 25 15:38:56 p5k kernel: 25 May 15:38:56 ntpdate[1505]: sendto(133.243.238.164): No error: 0
 May 25 15:38:58 p5k kernel: 25 May 15:38:58 ntpdate[1505]: step time server 133.243.238.164 offset 0.403626 sec



----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS