ntpdate で時間が合わない

cron を動かすまえに時間をあわせようと ntpdate を入れた。
そんでもって

# ntpdate ntp.nict.jp

が、しかし 9時間進んでしまう。もろもろ調べていると、どうも設定がネットの情報と違う。etch から ntpdate の構成がちょっと変わったようだった。
違いがよくわからないが、このページを参考に
# cd /etc/default/
# vi rcS
UTC=no
と設定を変更してみるとうまくいった。

調子に乗って会社 VPS のマシンも設定しようとしてみるが、こっちは何度やってもダメだったっ。
また明日やってみよう。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>