Page 1 of 1

spamassassin & perl error after centos 5.2 update

Posted: Sat Jul 05, 2008 3:27 am
by hostingguy
Hello,

I know this isnt asl specific but was wondering how I can solve this.

Often times when running perl applications, and in Cron I get this:
Cron <root@my.server.com> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log

Use of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/Util.pm line 30.
This all started after a Centos 5.2 upgrade, and occurs on an x86_64 build machine with Plesk 8.4.

I was wondering if anyone knew how to fix this.

Thanks.

Posted: Wed Jul 09, 2008 6:14 pm
by hostingguy
I found out that this is a known issue for Centos/RHEL systems.

The fix is to force a resinstall of Scalar::Util

#cpan
cpan > force install Scalar::Util

Posted: Wed Jul 09, 2008 6:41 pm
by faris
This is definitely going to be useful! I'll have to remember this.