[ale] Forcing NTPD to set time

Chris Fowler cfowler at outpostsentinel.com
Mon Apr 21 09:13:13 EDT 2008


I've got a VM running at our of our developer's house and I see it can
access the RTC.  I believe he has more than one VM running on that
server.   I also see that NTPD will NOT correct the time.  Here is what
I do in rc.local on that machine to get the time correct

/etc/init.d/ntpd stop
/usr/sbin/ntpdate pool.ntp.org
/etc/init.d/ntpd start

I've noticed on some machines that ntpd will complain that the diff is
so bad the time must be corrected manually.  Is there an option to force
ntpd to set the time regardless of diff?

Chris



More information about the Ale mailing list