ntp problem

Gene Heskett gene.heskett at verizon.net
Sun Mar 4 21:43:31 UTC 2007


On Sunday 04 March 2007, eng.waleed wrote:
>Hi
>
>I set my server time to NTP server using the command ntpdate but when I
> restart the server the time return to the old state what I have to do
> to keep the time connected to NTP after the restart?
>
>BR
ntpdate is a separate utility from ntpd, which you should enable at boot 
time in your default runlevel.

ntpd will call ntpdate once at startup to do a crash set of the time to 
reasonably close, within a second or 2, and ntpd then fine tunes it to 
hold it to very small fractions of a second, preferably 
using 'pool.ntp.org'.  It may take half an hour to achieve that close a 
lock however.

However, if your locale settings are incorrect, or you do not run the 
hardware clock on UTC/GMT, then all bets are off, so check that the local 
timezone is set correctly.  This will result in your seeing the local 
time while the system itself runs on UTC.  This is generally a desirable 
state in that it aids the proper sorting and threading of email messages 
by your email agent.  There are exceptions of course if the incoming 
posters clock setting is borked.

If you are running X, then there is generally a quite capable 
configuration tool for the timezone settings lurking behind a right click 
on the clock at the right end of the kickstart bar, usually on the bottom 
of the screen.  If, once set to the local timezone, the time is still 
incorrect, there are tools to set the hardware clock, but I believe that 
recent versions of the clocks toolkit do this for you, or at least have 
the option to do it.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2007 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list