<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I confess I don't know the answer, but I'll tell you what I know, and I
swear it is true.
<p>Yesterday:
<br>&nbsp;- /etc/localtime was not a link.
<br>&nbsp;- vi /etc/localtime yielded a single line that read something
like: TZif'GMT-6
<br>&nbsp;- even though date retuned the correct time and the symbol GMT-6,
dates in email were 12 hours off, and the stamp in a message said +6 instead
of -6
<br>&nbsp;- I moved it to localtime.hold, and created a link (ln -s) to
/usr/share/zoneinfo/US/Central which seems to have fixed it all.
<p>Today:
<br>&nbsp;- vi /etc/localtime.hold yields more what one would expect from
a localtime file
<br>&nbsp;&nbsp;&nbsp;&nbsp; TXif^@^@^@^@^@^@^ ... ^@GMT-6^@^@^@
<br>&nbsp;- the date on the file is still Jun 28 2000 (mv doesn't change
the date).
<br>&nbsp;
<p>Kyle Davenport wrote:
<blockquote TYPE=CITE>was it really corrupted or in tzfile format?&nbsp;
zic compiled files like localtime
<br>will say "timezone data" when you do a "file localtime"&nbsp;&nbsp;
A redhat install
<br>copies your choice of timezone from the /usr/share/zoneinfo/whatever
to
<br>/etc/localtime.&nbsp;&nbsp; Do a man on tzfile and zic.
<p>______________________________________________________
<p>Fred James &lt;fredjame@concentric.net> on 02/20/2001 01:15:30 AM
<p>Please respond to discuss@ntlug.org
<p>To:&nbsp;&nbsp; discuss@ntlug.org
<br>cc:&nbsp;&nbsp;&nbsp; (bcc: Kyle Davenport/Is/Corporate/CompUSA)
<br>Subject:&nbsp; Re: [NTLUG:Discuss] time problem
<p>My sincere thanks!
<br>/etc/localtime turned out to be a file in its own right, with what
appeared to
<br>be corrupt data inside.
<br>making that a link to /usr/share/zoneinfo/US/Central did solve my problem.
<br>Thanks again.
<p>MadHat wrote:
<p>> look in the /etc dir for a symlink called localtime.
<br>>
<br>> Make sure it points to the right place...
<br>> # ls -l /etc/localtime
<br>> lrwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
30 Feb&nbsp; 3&nbsp; 2000 /etc/localtime ->
<br>> /usr/share/zoneinfo/US/Central
<br>>
<br>(snip)
<p>_______________________________________________
<br><a href="http://ntlug.org/mailman/listinfo/discuss">http://ntlug.org/mailman/listinfo/discuss</a></blockquote>

<pre>--&nbsp;
Consider Fractals
a large, calm, black cat
who seems often to be my spiritual leader.</pre>
&nbsp;</html>