Sunday, December 29, 2013

Bug in RHEL6 and clones /etc/cron.daily/0logwatch anacron script Date::Manip error

I saw the following error in root's mail on a server:

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.

The error is due to the script itself. The solution is to add the following line to /etc/cron.daily/0logwatch:

I found the solution here.
Why is Red Hat sending out an OS with a broken cron script?

With logwatch working, you then discover a missing gnome keyring library file.
You can find what package has that file using yum provides:

yum provides /lib64/security/

Install the following package to fix those PAM errors.

yum install gnome-keyring-pam-2.28.2-8.el6_3.x86_64

This page is powered by Blogger. Isn't yours?