Re: Time changing

From: cjackson (o517375@yahoo.com)
Date: 12/26/01


From: cjackson <o517375@yahoo.com>
Date: Wed, 26 Dec 2001 14:38:30 GMT

On 25 Dec 2001 23:40:14 GMT
Dimitri Maziuk <dima@127.0.0.1> wrote:

> On Tue, 25 Dec 2001 16:31:15 GMT, cjackson wrote:
> > Every time I reboot either Linux (RH7) computer, time jumps
> ahead by 6 1/2 +/- hours in that computer. Does this sound like
> my computer(s) has been hacked? If not, any ideas?
>
> One: wrap lines at ~78 characters.
> Two: 6.5 hours? Strange, according to the headers you're in
> PST, which should be 8 hours away from UTC. I think.
>
> EXPN: PC clocks are usually set to local time, mainly because
> windos wants them this way. Unix clocks are usually set to UTC.
> On Linux, you have a choice. Somewhere in your startup scripts
> there's a UTC variable that controls that.

Yes, I saw the time tool in linuxconf and changed the HW clock
to UT. Maybe this is the fix. It all started when I put a script
 in cron to set time to stratum 2 server using rdate. Now I use
ntpdate which works fine. Thanks, Jackson

>
> The system reads hardware clock at boot time, and keeps its own
> timer from then on. If your hardware clock is in UTC, but the
> system thinks it's in local time (or vise versa), your clock
> will be off by the difference between UTC and local time after
> each reboot (should be 8 +/- DST hours, according to your headers).
> This is the most likely cause of the problem (the other one is
> that your hardware clock is simply off by 6.5 hours).
>
> Dima
> --
> Surely there is a polite way to say FOAD. --
Shmuel Metz
> "Fornicate Off And Decease". -- Rik
Steenwinkel



Relevant Pages

  • Re: F8 & F9 (i386/i686): Problems with sendmail & dovecot
    ... It will run hardware clock in UTC, you just have to slap it up aside the ... but system problems with attempting it. ... Actually the XP boot on one of my old laptops still works right and doesn't mess up Linux, so I will cautiously say that you can. ...
    (Fedora)
  • Re: Inserting Calendar.Time in a database
    ... >> So should UTC clock. ... > appropriate time base - and we certainly don't want to insist that every ... That you can view a clock reading as ... quite often the precision required for clock synchronization of nodes ...
    (comp.lang.ada)
  • RE: Time difference between Win98 and Fedora
    ... You could just use atomic clock in 98 and setup ntp in linux... ... > If you then reboot to Windows, Linux updates the hardware clock on ... local time, ...
    (Fedora)
  • Re: Best Practices on setting clock?
    ... And also --- Is it wise to log all UNIX applications in UTC? ... operating system on a PC and I did set my CMOS or the Hardware Clock to ...
    (comp.unix.admin)
  • Re: Clock Problem?
    ... The bios clock, (which is the hardware ... Otherwise set it to UTC time. ... set the hardware clock to the value you give it. ... expected) then you want your Linux time set to UTC, then the Install ...
    (alt.os.linux.suse)