spamassassin & perl error after centos 5.2 update

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

spamassassin & perl error after centos 5.2 update

Unread post 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.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post 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
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

This is definitely going to be useful! I'll have to remember this.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply