* [gentoo-user] Logwatch and TimeZone Errors
@ 2006-11-02 8:35 Ow Mun Heng
2006-11-02 10:53 ` Robin Atwood
0 siblings, 1 reply; 3+ messages in thread
From: Ow Mun Heng @ 2006-11-02 8:35 UTC (permalink / raw
To: gentoo
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Logwatch and TimeZone Errors
2006-11-02 8:35 [gentoo-user] Logwatch and TimeZone Errors Ow Mun Heng
@ 2006-11-02 10:53 ` Robin Atwood
2006-11-02 16:15 ` Ow Mun Heng
0 siblings, 1 reply; 3+ messages in thread
From: Robin Atwood @ 2006-11-02 10:53 UTC (permalink / raw
To: gentoo-user
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... :)
HTH
-Robin.
--
------------------------------------------------------
Robin Atwood, Bangkok, Thailand.
tel/fax: +66 2252 1438
mobile: +66 8513 22487
------------------------------------------------------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Logwatch and TimeZone Errors
2006-11-02 10:53 ` Robin Atwood
@ 2006-11-02 16:15 ` Ow Mun Heng
0 siblings, 0 replies; 3+ messages in thread
From: Ow Mun Heng @ 2006-11-02 16:15 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-02 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 8:35 [gentoo-user] Logwatch and TimeZone Errors Ow Mun Heng
2006-11-02 10:53 ` Robin Atwood
2006-11-02 16:15 ` Ow Mun Heng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox