How can I permanently fix my date synchronize problem in linux?

Posted by gr33d on Super User See other posts from Super User or by gr33d
Published on 2010-03-25T11:58:02Z Indexed on 2010/03/25 12:03 UTC
Read the original article Hit count: 341

Ubuntu 7.10 server i386 clock/date/time won't stay in sync. Are their log files I can view to tell when the clock changes? For a temporary fix, I created a file in /etc/cron.hourly:

#!/bin/sh
ntpdate time.nist.gov

However, this still leaves a potential hour of unchecked time. Is there a cron.minutely? That would still leave a potential minute of unchecked time. I have read about CMOS battery problems, but what if this does not fix it? I'd like to be able to troubleshoot this as a completely software problem.

My squid logs are showing dates back in 2005 when the clock changes, and my time-sensitive access controls are skewed and end up allowing users to surf prohibited websites during business hours.

© Super User or respective owner

Related posts about linux

Related posts about time