Better HN
topnewbestaskshowjobs
Log inSign up

glawatscheck

3 karma · joined Jul 1, 2012 (14y ago) · 4 submissions

Submissions

comment 14y ago · link · parent

or easier still just date -s "`date`"

without ntpd restart

comment 14y ago · link · parent

I have 2.6.27 kernels here (SuSE 11.1) which seem unaffected so breakage might be a little later

comment 14y ago · link · parent

OK this is how it works on squeeze etc.:

apt-get install ntpdate; /etc/init.d/ntp stop; ntpdate pool.ntp.org; /etc/init.d/ntp start

comment 14y ago · link · parent

POSTMORTEM fix for CPU eating softirqd threads without rebooting:

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.