ERROR: Date::Manip unable to determine TimeZone.

cms technology web page configuration drupal web site
Setup and configuration of cms and drupal web site

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...

 


Custom Search