Problem:
/etc/cron.daily/0logwatch:
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
Temporary Solution:
Execute to verify 1:
1. [root@fedora~]# logwatch --range yesterday
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
Execute to verify 2:
2. [root@fedora ~]# /etc/cron.daily/0logwatch
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
[root@fedora ~]#
SOLUTION:
execute [root@fedora ~]# echo '+0800' > /etc/timezone
Verify:
[root@fedora~]# logwatch --range yesterday
[root@fedora ~]# /etc/cron.daily/0logwatch
CHECK your mail for result:
################### Logwatch 7.3 (03/24/06) ####################
Processing Initiated: Wed Dec 26 12:38:46 2007
Date Range Processed: yesterday
( 2007-Dec-25 )
Period is day.
Detail Level of Output: 0
Type of Output: unformatted
Logfiles for Host: fedora.labtestproject.com
##################################################################
bye...
Recent comments
3 days 20 hours ago
4 days 22 hours ago
1 week 6 hours ago
1 week 1 day ago
1 week 2 days ago
1 week 3 days ago
1 week 4 days ago
1 week 5 days ago
2 weeks 21 min ago
2 weeks 1 day ago