linux clock off by four hours from mac clock

linux clock off by four hours from mac clock

Post by Merrill Aldric » Fri, 29 Sep 2000 04:00:00



Somehow my system clock is showing the correct time in MacOS but four
hours earlier in Linux. (Perhaps this is DayLinux Savings Time?) "Time
Tool" just gives an error message. I think there must be some time zone
setting that is wrong but I'm not sure where to look.

- Merrill Aldrich

 
 
 

linux clock off by four hours from mac clock

Post by I R A Darth Agg » Sat, 30 Sep 2000 13:53:45


On Thu, 28 Sep 2000 17:44:06 -0400,

+ Somehow my system clock is showing the correct time in MacOS but four
+ hours earlier in Linux. (Perhaps this is DayLinux Savings Time?)

You live on the US East Coast, dontcha? sounds like your linux is set
to GMT, which at-the-moment is +4 hours...

IIRC, timezone is contained in /etc/timezone...

James
--
Consulting Minister for Consultants, DNRC
The Bill of Rights is paid in Responsibilities - Jean McGuire
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html>

 
 
 

linux clock off by four hours from mac clock

Post by Martin Costabe » Sat, 30 Sep 2000 15:56:11



> Somehow my system clock is showing the correct time in MacOS but four
> hours earlier in Linux. (Perhaps this is DayLinux Savings Time?) "Time
> Tool" just gives an error message. I think there must be some time zone
> setting that is wrong but I'm not sure where to look.

Looks like your time zone is right, but linux thinks your clock is
running on Universal Time (=GMT), whereas Apple clocks are running on
local time. If you want to correct this by hand, make sure your
/etc/sysconfig/clock looks like

ZONE="America/St_Vincent"
UTC=false
ARC=false

The first line is some city from your time zone, the second tells linux
that you are not on Universal Time, and the third one has no importance
whatsoever.

If you set this using setup or timeconfig, make sure that "hardware
clock set to GMT" is *not* checked.

--
Martin

 
 
 

linux clock off by four hours from mac clock

Post by mecaldr.. » Sat, 30 Sep 2000 04:00:00





> > Somehow my system clock is showing the correct time in MacOS but
four
> > hours earlier in Linux. (Perhaps this is DayLinux Savings Time?)
"Time
> > Tool" just gives an error message. I think there must be some time
zone
> > setting that is wrong but I'm not sure where to look.

> Looks like your time zone is right, but linux thinks your clock is
> running on Universal Time (=GMT), whereas Apple clocks are running on
> local time. If you want to correct this by hand, make sure your
> /etc/sysconfig/clock looks like

> ZONE="America/St_Vincent"
> UTC=false
> ARC=false

> The first line is some city from your time zone, the second tells
linux
> that you are not on Universal Time, and the third one has no
importance
> whatsoever.

> If you set this using setup or timeconfig, make sure that "hardware
> clock set to GMT" is *not* checked.

> --
> Martin

I'll try that -- thanks

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

linux clock off by four hours from mac clock

Post by Merrill Aldric » Sat, 30 Sep 2000 04:00:00






> > > Somehow my system clock is showing the correct time in MacOS but
> four
> > > hours earlier in Linux. (Perhaps this is DayLinux Savings Time?)
> "Time
> > > Tool" just gives an error message. I think there must be some time
> zone
> > > setting that is wrong but I'm not sure where to look.

> > Looks like your time zone is right, but linux thinks your clock is
> > running on Universal Time (=GMT), whereas Apple clocks are running on
> > local time. If you want to correct this by hand, make sure your
> > /etc/sysconfig/clock looks like

> > ZONE="America/St_Vincent"
> > UTC=false
> > ARC=false

> > The first line is some city from your time zone, the second tells
> linux
> > that you are not on Universal Time, and the third one has no
> importance
> > whatsoever.

> > If you set this using setup or timeconfig, make sure that "hardware
> > clock set to GMT" is *not* checked.

> > --
> > Martin

> I'll try that -- thanks

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Shore enuf, that fixed it. Thanks.
 
 
 

1. HELP:stime() system call advances hardware clock by four hours?

SCO Unix 3.2.4, Everex tempo 386-25's
We had a cron job that set the correct time on a bunch of machines at
5 in the morning vi a rcmd <machine> date `date +%m%d%H%M%y`

We discovered that the date command was setting the realtime clock
ahead by four hours. I wrote a program which basicaly ran

stime ( time ( 0 ) );

Before the program ran the realtime clock and the Unix clock were
bothe correct. Afterwards the clock was four hours fast. The Kernel
params
GMOFFSET is set to 300. (I'm in Boston).
and dst is valid. Can someone tell me why the stime call even looks
at the realtime clock?
To patch my problem, I'm going to have to write the real time to
/dev/clock after the call to stime.

If someone can see anything wrong here please let me know.

Thanks in advance.
--
----------Time flies like the wind. Fruit flies like bananas.------------------

----------Everybody repeat after me: "We are all individuals."-----------------

2. NCPFS and Netware 4.11

3. Clock is four hours behind in KDE...

4. How much video RAM for which resolutions etc... ?

5. System clock is off by -4 hours

6. RCS Guru level question

7. system clock - 5 hours off

8. How to alter line spacing in latex?

9. System clock is off by 6 hours

10. Want to have an atomic clock sync your Linux box clock ?

11. NCSA HTTPD is four hours off!!! (?)

12. Setting my hardware clock to atomic clock?

13. system clock/bios clock setting