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 logwatch.pl script itself. The solution is to add the following line to /etc/cron.daily/0logwatch:

export DATE_MANIP=DM5
 
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/pam_gnome_keyring.so

Install the following package to fix those PAM errors.

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









Comments:
Happy New Year JB

Could the error be a sign of failed hacking?

Pete
 
Thanks, Pete! Happy New Year to you! More like vendor laziness or an inability to maintain a software package.
 
Post a Comment

Links to this post:

Create a Link



<< Home

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