FC4:logwatch error after update logwatch-6.1.2-1.fc4
JONGKON Sawangphon
jongkon.cp at chotiwat.com
Fri Jul 22 10:45:04 UTC 2005
Paul Howarth wrote:
> JONGKON Sawangphon wrote:
>
>> Paul Howarth wrote:
>>
>>> JONGKON Sawangphon wrote:
>>>
>>>> After update logwatch-6.1.2-1.fc4.noarch.rpm
>>>>
>>>> Found error:
>>>>
>>>> /etc/cron.daily/00-logwatch:
>>>>
>>>> ERROR: Date::Manip unable to determine TimeZone.
>>>> at /usr/lib/perl5/vendor_perl/5.8.6/Date/Manip.pm line 3495
>>>> Date::Manip::Date_TimeZone called at
>>>> /usr/lib/perl5/vendor_perl/5.8.6/Date/Manip.pm line 661
>>>> Date::Manip::Date_Init() called at
>>>> /usr/lib/perl5/vendor_perl/5.8.6/Date/Manip.pm line 779
>>>> Date::Manip::ParseDateString('epoch 1121634122') called at
>>>> /etc/log.d/lib/Logwatch.pm line 493
>>>> Logwatch::TimeBuild() called at /etc/cron.daily/00-logwatch line
>>>> 619
>>>
>>>
>>>
>>>
>>> Is the timezone set correctly on your system? What's the output of
>>> the "date" command?
>>>
>>>
>> date
>> Fri Jul 22 17:10:45 ICT 2005
>
>
> "ICT" isn't one of the timezones that Date::Manip knows about (see "man
> Date::Manip" and search for TIMEZONES)
>
> Try creating a file /etc/timezone containing the offset of your timezone
> from UTC, e.g.:
>
> # echo '+0700' > /etc/timezone
>
> Try this out as follows, and see if it's any better:
>
> # logwatch --range yesterday
>
Oh! It works.
Thank for help
Jong.
> You might also want to contact the author of Date::Manip, Sullivan Beck
> (sbeck at cpan dot org) and suggest adding ICT to the list of known
> timezones in Date::Manip.
>
>
More information about the fedora-list
mailing list