[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with clock



On Wednesday 17 May 2006 15:28, Rodney D. Myers wrote:
> On Wed, 17 May 2006 08:15:31 -0600
>
> "Joseph Smidt" <jsmidt@byu.edu> wrote:
> > Ever since I installed unstable the clock never recieves the correct
> > time. When I try to resync or restart the computer I get this error
> > message: select() /dev/rtc clock tick timed out
> >
> >     Does anybody know what this error is or how I can fix it?
> >                                                      Joseph Smidt
> >
> > --
> > -------------------------------------------------------------
> >        Joseph Smidt
> >      jsmidt@byu.edu
>
> Not necessarily the answer you want, but install ntpdate, and use this;
>
> sudo /usr/sbin/ntpdate -b -u pool.ntp.org
>
> I run that as a script once a week, and I keep fairly accurate time.

i don't recall what the -b does but you may not want to use ntpdate on a 
regular basis. ntp-simple or chrony would be a better option. typically, 
ntpdate should be used at startup (or the very first time you're setting up 
ntp) and then let ntp slew the time while the OS is running. otherwise you 
might end up with erratic jumps in time which could screw things up if you 
have time sensitive apps..

-- 

anoop aryal
aaryal@foresightint.com



Reply to: