[CentOS] Perl - strict.pm not found
John Horne
john.horne at plymouth.ac.uk
Thu Oct 11 10:34:46 UTC 2012
On Wed, 2012-10-10 at 11:38 +0100, John Horne wrote:
>
> the /etc/cron.daily/freshclam script runs in the early morning, I get
> sent an email error message:
>
> =====================================
> /etc/cron.daily/freshclam:
>
> Can't locate strict.pm in @INC (@INC
> contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/xymon_event line 15.
> BEGIN failed--compilation aborted at /usr/local/bin/xymon_event line 15.
> =====================================
>
Hello,
Turns out this is an SELinux issue - the audit.log file shows access to
strict.pm being denied. As the problem occurs on 6.3, but not on our 5.8
systems, I have submitted it as a bug to RedHat (#865390) to see what
they say. (We have both CentOS and RedHat 5.8/6.3 servers.)
John.
--
John Horne Tel: +44 (0)1752 587287
Plymouth University, UK Fax: +44 (0)1752 587001
More information about the CentOS
mailing list