Thread: NTPD howto?
View Single Post

  #2 (permalink)  
Old 05-06-2008
Chris Davies
 
Posts: n/a
Default Re: NTPD howto?

Jack Snodgrass <jacks_temp_id_blue62@verizon.net> wrote:
> I can't figure ntpd out.
> I've got it configured ( using the defaults ) on a fedora 8 box.


> It starts and runs... it just doesn't keep my non-stable-clock system up
> to date. If I let my vmware guest run for 24 hours, the time on the
> vmware guest gets off by about 2 hours.


OK. Stop there.

You cannot use ntp reliably within a vmware environment and expect it
to work [1]. Separate the two problem spaces and get NTP working on your
real box, first.


> Currently, I have ntpd disabled and I have a cron job that runs every
> minute and runs ntpdate to keep the time accurate...


That will never train your kernel to keep time reliably. Go back to
running NTP and we'll work through the issues with you. For a start,
after NTP has been running for several minutes (more than five), what
does the output of "ntpq -p" give you?

Chris

[1] Actually you can, but you have to set the appropriate kernel flags
and I strongly suggest you don't even think about going there until
you've proven NTP works on your underlying hardware
Reply With Quote