1 |
On Thursday 02 November 2006 15:35, Ow Mun Heng wrote: |
2 |
> Has anyone seen this problem? I've tried to rebuild perl and logwatch |
3 |
> and timezone-data |
4 |
> |
5 |
> ERROR: Date::Manip unable to determine TimeZone. |
6 |
> at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3635 |
7 |
> Date::Manip::Date_TimeZone called |
8 |
> at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 676 |
9 |
> Date::Manip::Date_Init() called |
10 |
> at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 799 |
11 |
> Date::Manip::ParseDateString('epoch 1162369100') called |
12 |
> at /usr/share/logwatch/lib/Logwatch.pm line 508 |
13 |
> Logwatch::TimeBuild() called at /usr/sbin/logwatch.pl line 731 |
14 |
|
15 |
I have been through this, Perl doesn't understand Far Eastern time zones like |
16 |
this: |
17 |
|
18 |
robin@opal ~ $ date |
19 |
Thu Nov 2 17:52:10 ICT 2006 |
20 |
|
21 |
I resorted to hacking /etc/cron.daily/00-logwatch and adding: |
22 |
|
23 |
export TZ="+0700" |
24 |
|
25 |
which fixes the problem. Adjust your offset accordingly... :) |
26 |
|
27 |
HTH |
28 |
-Robin. |
29 |
-- |
30 |
------------------------------------------------------ |
31 |
Robin Atwood, Bangkok, Thailand. |
32 |
tel/fax: +66 2252 1438 |
33 |
mobile: +66 8513 22487 |
34 |
------------------------------------------------------ |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
-- |
47 |
gentoo-user@g.o mailing list |