[NTLUG:Discuss] timezone woes
Chris Cox
cjcox at acm.org
Wed Sep 19 22:53:34 CDT 2001
kbrannen at gte.net wrote:
....
> [root at cvs lib]# date
> Thu Sep 20 01:55:07 GMT-6 2001
> [root at cvs lib]# echo $TZ
>
> [root at cvs lib]# date -R
> Thu, 20 Sep 2001 01:57:54 +0600
>
> which bears out the fact that they're 11 hours off! And yes, they both sync
> up to a common NTP server. It seems this errant one thinks it's in the
> "GMT-6" timezone, and I can't find any config file under /etc (or /usr/lib)
> that I can change to make it correct. If I look at both machines in
> linuxconf, except for the hour, both have the same settings.
>
> What am I missing?
Check for /etc/localtime (not sure about RH 6.2 though). Anyway if
it exists it's probably either a link or a copy of a file from
the zoneinfo database (usually /usr/share/zoneinfo). If it's a copy,
you may want to do checksums on localtime and compare with the
zoneinfo entries. Some systems have a 'tzselect' command to
help administrate selection of timezones under Linux.
Hope that helps,
Chris
More information about the Discuss
mailing list