Clock Problems

Brian Smith BSmith at
Tue Dec 10 15:06:01 CST 2002


What Dave said, plus you can create a file /etc/ntp/step-tickers that
contains one of the IP addresses Dave has below and the RedHat NTP startup
script will automatically run ntpdate against it to sync the time before
the daemon starts.  It's in the /etc/rc.d/init.d/ntpd script.

Other things to look for is a hung RTC clock on the motherboard.  'hwclock
--show' to see if the difference in times gets larger with passing time.
Is the kernel clock slow or the RTC?  Some Unixes try to sync the kernel
clock with the RTC clock, speeding up or slowing down time on the system in
the process.  Verify that your CMOS battery isn't low or dead.

Or it could be drivers/kernel like others mentioned...   clock problems are

- Brian

                    Dave Johnson                                                                                          
                    <dave at        To:     linux-poweredge at                                          
                    m>                          cc:     rreed at                                             
                    Sent by:                    Subject:     Re: Clock Problems                                           
                    n at                                                                                            
                    12/10/02 03:32 PM                                                                                     


Assuming it's a Linux laptop, all you need is a /etc/ntp.conf
with the following entries (its good to have at least 2 clock
cat << __EOF__ >> /etc/ntp.conf
driftfile /etc/ntp/drift

Servers listed above taken from:

The two biggest things are having the driftfile
and 2 or more ntp sources.

ntpd may not change your clock if its beyond a
certain threshold.  You may want to do an ntpdate
with a timesource and do a `hwclock -w` then start
ntpd.  I think ntpd -q will do something similar.

Not sure if this helps... ?

Dave Johnson
dave at

---- Original Message ----
Ronald Reed rreed at
Tue Dec 10 13:19:00 2002

This isn't on a PowerEdge machine, but a C840 Latitude Laptop. The
system clock is really bad about keep proper time.

I use ntpd, but the system clock is so bad that ntpd can't seem to keep
up. Anyone have some configurations for ntpd that will help?
Ron Reed
Unix Systems Administrator
ron.reed at

Linux-PowerEdge mailing list
Linux-PowerEdge at
Please read the FAQ at or search the list
archives at

More information about the Linux-PowerEdge mailing list