Fix SpamAssassin on cPanel 11

If SpamAssassin is not working on your cPanel 11 server, you should be able to fix it.

Login as root tou your server using ssh.

Ensure that each module gets carried over to the update Perl version using the "autobundle" CPAN feature:
# perl -MCPAN -e 'autobundle'

You should have the the following output, make a note of this:
'Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_11_11_00.pm'

Update to Perl 5.8.8:
# cd /root
# wget http://layer1.cpanel.net/perl588installer.tar.gz
# tar -zxf perl588installer.tar.gz
# cd perl588installer
# ./install

Restore all the previously installed modules from the CPAN bundle that was created by executing:
# perl -MCPAN -e 'install Bundle::Snapshot_2007_11__00'

All modules required by cPanel 11 should be now installed, check it:
# /usr/local/cpanel/bin/checkperlmodules

Restart cPanel:
# /usr/local/cpanel/startup

It should be fine now

0 Comments: