Arief Yudhawarman

Masih belajar buat blog

Archive for May 2013

ERROR: Date::Manip unable to determine TimeZone (Logwatch)

leave a comment »

Setiap hari dapat email seperti ini dari cron daemon.
ss-1

Service cron daily mengeksekusi script logwatch

Logwatch is a customizable log analysis system. Logwatch parses through your system’s logs and creates a report analyzing areas that you specify. Logwatch is easy to use and will work right out of the package on most systems.

Setelah membaca perldoc Date::Manip dan browsing artikel Methods To Change TimeZone in Linux problem ini bisa diatasi dengan set environment variable TZ sebelum menjalankan script logwatch.
Read the rest of this entry »

Advertisements

Written by awarmanf

May 16, 2013 at 8:27 am