* Re: Timezone change
[not found] <c78khm$102d8$1@ID-143435.news.uni-berlin.de>
@ 2004-05-04 18:42 ` Brian Haley
2004-05-04 19:16 ` Hans Vlems
0 siblings, 1 reply; 4+ messages in thread
From: Brian Haley @ 2004-05-04 18:42 UTC (permalink / raw)
NTP doesn't care about timezones, my guess is that
/etc/zoneinfo/localtime is pointing to the wrong zone, the zic(8) man
page has an example of how to change this (see /etc/zoneinfo/timezones
too). And make sure you don't have a TZ environment variable defined, I
think that would change the date output as well.
-Brian
Hans Vlems wrote:
> My Tru64 V5.0 system had NTP configured and now displays the wrong time. The
> NTP server is configured for Western Europe (it runs VMS and properly set up
> for the Netherlands).
> The Tru64 machine returns:
>
> # date
> Tue May 4 12:33:38 CDT 2004
>
> CDT is what, Central Daylight Time?, and the clock is 7 hours behind the
> zone it ought to be in.
> How do I configure the time zone on the Tru64 system? I ran timezone(8) and
> selected WET
> but to no effect.
>
> So help a poor VMS guy: how do I fix this?
>
> Hans Vlems
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timezone change
2004-05-04 18:42 ` Timezone change Brian Haley
@ 2004-05-04 19:16 ` Hans Vlems
2004-05-04 19:59 ` Brian Haley
0 siblings, 1 reply; 4+ messages in thread
From: Hans Vlems @ 2004-05-04 19:16 UTC (permalink / raw)
Brian,
if an NTP server lives in another timezone than the client then there must
be some sort of mechanism to fugure out the actual local time, wouldn't it?
But the reference to zic did help. zic -l CET changed the time to the proper
local (dutch) time:
# zic -l CET
# date
Tue May 4 21:16:34 CEST 2004
#
Thanks, I'd never guessed that zic would be the proper tool to run. Now why
wasn't that called SET TIME=mumble :-)
Hans
"Brian Haley" <Brian.Haley@nospam_hp.com> schreef in bericht
news:nuRlc.849$l_1.288@news.cpqcorp.net...
> NTP doesn't care about timezones, my guess is that
> /etc/zoneinfo/localtime is pointing to the wrong zone, the zic(8) man
> page has an example of how to change this (see /etc/zoneinfo/timezones
> too). And make sure you don't have a TZ environment variable defined, I
> think that would change the date output as well.
>
> -Brian
>
>
> Hans Vlems wrote:
>
> > My Tru64 V5.0 system had NTP configured and now displays the wrong time.
The
> > NTP server is configured for Western Europe (it runs VMS and properly
set up
> > for the Netherlands).
> > The Tru64 machine returns:
> >
> > # date
> > Tue May 4 12:33:38 CDT 2004
> >
> > CDT is what, Central Daylight Time?, and the clock is 7 hours behind the
> > zone it ought to be in.
> > How do I configure the time zone on the Tru64 system? I ran timezone(8)
and
> > selected WET
> > but to no effect.
> >
> > So help a poor VMS guy: how do I fix this?
> >
> > Hans Vlems
> >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timezone change
2004-05-04 19:16 ` Hans Vlems
@ 2004-05-04 19:59 ` Brian Haley
2004-05-05 18:26 ` Hans Vlems
0 siblings, 1 reply; 4+ messages in thread
From: Brian Haley @ 2004-05-04 19:59 UTC (permalink / raw)
NTP is in GMT. The mechanism you just re-configured is how the system
knows its time relative to that.
-Brian
Hans Vlems wrote:
> Brian,
> if an NTP server lives in another timezone than the client then there must
> be some sort of mechanism to fugure out the actual local time, wouldn't it?
> But the reference to zic did help. zic -l CET changed the time to the proper
> local (dutch) time:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timezone change
2004-05-04 19:59 ` Brian Haley
@ 2004-05-05 18:26 ` Hans Vlems
0 siblings, 0 replies; 4+ messages in thread
From: Hans Vlems @ 2004-05-05 18:26 UTC (permalink / raw)
Brian, that's what I came to understand. Now that I got acquainted with zic
I had another look at
the documentation. Now I understand how the timezone information is set. ZIC
allows you to
define / describe the attributes of a given timezone (if it wasn't already
in /etc/timezones).
The compiled output file is linled to localtime and the date/time software
uses that file to
figure out the timezone.
Thanks for the education Brian; it's not that I don't like unix it is just
quite another way of doing things
than I've been doing them on VMS :-)
Hans
"Brian Haley" <Brian.Haley@nospam_hp.com> schreef in bericht
news:0DSlc.856$aV1.271@news.cpqcorp.net...
> NTP is in GMT. The mechanism you just re-configured is how the system
> knows its time relative to that.
>
> -Brian
>
>
> Hans Vlems wrote:
>
> > Brian,
> > if an NTP server lives in another timezone than the client then there
must
> > be some sort of mechanism to fugure out the actual local time, wouldn't
it?
> > But the reference to zic did help. zic -l CET changed the time to the
proper
> > local (dutch) time:
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-05 18:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <c78khm$102d8$1@ID-143435.news.uni-berlin.de>
2004-05-04 18:42 ` Timezone change Brian Haley
2004-05-04 19:16 ` Hans Vlems
2004-05-04 19:59 ` Brian Haley
2004-05-05 18:26 ` Hans Vlems
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox