<!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> - /etc/localtime was not a link.
<br> - vi /etc/localtime yielded a single line that read something
like: TZif'GMT-6
<br> - 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> - 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> - vi /etc/localtime.hold yields more what one would expect from
a localtime file
<br> TXif^@^@^@^@^@^@^ ... ^@GMT-6^@^@^@
<br> - the date on the file is still Jun 28 2000 (mv doesn't change
the date).
<br>
<p>Kyle Davenport wrote:
<blockquote TYPE=CITE>was it really corrupted or in tzfile format?
zic compiled files like localtime
<br>will say "timezone data" when you do a "file localtime"
A redhat install
<br>copies your choice of timezone from the /usr/share/zoneinfo/whatever
to
<br>/etc/localtime. Do a man on tzfile and zic.
<p>______________________________________________________
<p>Fred James <fredjame@concentric.net> on 02/20/2001 01:15:30 AM
<p>Please respond to discuss@ntlug.org
<p>To: discuss@ntlug.org
<br>cc: (bcc: Kyle Davenport/Is/Corporate/CompUSA)
<br>Subject: 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 1 root root
30 Feb 3 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>--
Consider Fractals
a large, calm, black cat
who seems often to be my spiritual leader.</pre>
</html>