From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GffIg-0008Pt-G5 for garchives@archives.gentoo.org; Thu, 02 Nov 2006 16:20:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA2GI6iq017941; Thu, 2 Nov 2006 16:18:06 GMT Received: from wdscexfe01.sc.wdc.com (wdscexfe01.sc.wdc.com [129.253.170.53]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA2GFpjS027232 for ; Thu, 2 Nov 2006 16:15:52 GMT Received: from wdmyexbe03.my.asia.wdc.com ([129.253.105.55]) by wdscexfe01.sc.wdc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Nov 2006 08:15:52 -0800 Received: from 129.253.105.61 ([129.253.105.61]) by wdmyexbe03.my.asia.wdc.com ([129.253.105.55]) via Exchange Front-End Server mail.westerndigital-asia.net ([129.253.105.20]) with Microsoft Exchange Server HTTP-DAV ; Thu, 2 Nov 2006 16:15:49 +0000 Received: from neuromancer by mail.westerndigital-asia.net; 03 Nov 2006 00:15:47 +0800 Subject: Re: [gentoo-user] Logwatch and TimeZone Errors From: Ow Mun Heng To: gentoo-user@lists.gentoo.org In-Reply-To: <200611021753.54229.robin.atwood@attglobal.net> References: <1162456502.22638.66.camel@neuromancer.home.net> <200611021753.54229.robin.atwood@attglobal.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 03 Nov 2006 00:15:46 +0800 Message-Id: <1162484146.26681.0.camel@neuromancer.home.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 X-OriginalArrivalTime: 02 Nov 2006 16:15:52.0397 (UTC) FILETIME=[2AD9BFD0:01C6FE9A] X-Archives-Salt: 697678bb-986b-4bfc-a96e-1581ec7bcd41 X-Archives-Hash: 6c3d905e6a0f67a371a20971359f1bad On Thu, 2006-11-02 at 17:53 +0700, Robin Atwood wrote: > On Thursday 02 November 2006 15:35, Ow Mun Heng wrote: > > Has anyone seen this problem? I've tried to rebuild perl and logwatch > > and timezone-data > > > > ERROR: Date::Manip unable to determine TimeZone. > > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3635 > > Date::Manip::Date_TimeZone called > > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 676 > > Date::Manip::Date_Init() called > > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 799 > > Date::Manip::ParseDateString('epoch 1162369100') called > > at /usr/share/logwatch/lib/Logwatch.pm line 508 > > Logwatch::TimeBuild() called at /usr/sbin/logwatch.pl line 731 > > I have been through this, Perl doesn't understand Far Eastern time zones like > this: > > robin@opal ~ $ date > Thu Nov 2 17:52:10 ICT 2006 > > I resorted to hacking /etc/cron.daily/00-logwatch and adding: > > export TZ="+0700" > > which fixes the problem. Adjust your offset accordingly... :) Thanks. It works. $ date Fri Nov 3 00:11:57 MYT 2006 export TZ="+0800" -- gentoo-user@gentoo.org mailing list