by glawatscheck · 14y ago · 0 comments
stop ntpd, run ntpdate or sntp, start ntpd
/etc/init.d/ntp stop; sntp -s <ntpserver>; /etc/init.d/ntp start
Unfortunately sntp / ntpdate wrapper is not shipped with squeeze for example. I've used the binary from SuSE 11.4 just fine on squeeze.
apt-get install ntpdate; /etc/init.d/ntp stop; ntpdate pool.ntp.org; /etc/init.d/ntp start
without ntpd restart