[NTLUG:Discuss] time problem

Fred James fredjame at concentric.net
Wed Feb 21 14:39:51 CST 2001


I confess I don't know the answer, but I'll tell you what I know, and I swear it
is true.

Yesterday:
 - /etc/localtime was not a link.
 - vi /etc/localtime yielded a single line that read something like: TZif'GMT-6
 - 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
 - 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.

Today:
 - vi /etc/localtime.hold yields more what one would expect from a localtime file
     TXif^@^@^@^@^@^@^ ... ^@GMT-6^@^@^@
 - the date on the file is still Jun 28 2000 (mv doesn't change the date).


Kyle Davenport wrote:

> was it really corrupted or in tzfile format?  zic compiled files like localtime
> will say "timezone data" when you do a "file localtime"   A redhat install
> copies your choice of timezone from the /usr/share/zoneinfo/whatever to
> /etc/localtime.   Do a man on tzfile and zic.
>
> ______________________________________________________
>
> Fred James <fredjame at concentric.net> on 02/20/2001 01:15:30 AM
>
> Please respond to discuss at ntlug.org
>
> To:   discuss at ntlug.org
> cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
> Subject:  Re: [NTLUG:Discuss] time problem
>
> My sincere thanks!
> /etc/localtime turned out to be a file in its own right, with what appeared to
> be corrupt data inside.
> making that a link to /usr/share/zoneinfo/US/Central did solve my problem.
> Thanks again.
>
> MadHat wrote:
>
> > look in the /etc dir for a symlink called localtime.
> >
> > Make sure it points to the right place...
> > # ls -l /etc/localtime
> > lrwxrwxrwx   1 root     root           30 Feb  3  2000 /etc/localtime ->
> > /usr/share/zoneinfo/US/Central
> >
> (snip)
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss

--
Consider Fractals
a large, calm, black cat
who seems often to be my spiritual leader.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ntlug.org/pipermail/discuss/attachments/20010221/8b457471/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fredjame.vcf
Type: text/x-vcard
Size: 150 bytes
Desc: Card for Fred James
Url : http://ntlug.org/pipermail/discuss/attachments/20010221/8b457471/fredjame.vcf


More information about the Discuss mailing list