Home » “ERROR: Date::Manip unable to determine TimeZone” di logwatch-7.3-6.el5

“ERROR: Date::Manip unable to determine TimeZone” di logwatch-7.3-6.el5

Setiap pagi biasanya menerima email dari logwatch yang berisi tentang keadaan server yang berbasis redhat enterprise linux 5.3. Tapi tiba-tiba suatu hari server tidak mengirim email, cek log email gak email keluar, cek aplikasi semuanya berjalan lancar, tapi kenapa kok server gak kirim logwatch ?
Setelah di cek ke skrip perl nya logwatch ternyata ada error ketika menjalankan skripnya perlnya, errornya seperti ini

[root@web scripts]# ./logwatch.pl
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.

Setelah ditelusuri ternyata penanganannya cukup hanya dengan menjalankan perintah berikut

1
 echo '+0700' > /etc/timezone

Lalu coba jalankan skrip logwatchnya lagi.
Done.
Logwatch pun berjalan normal kembali.. :)

Referensi:

http://www.nossdutytask.com/node/301

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>