Perl updates on CPANEL

Start about 2 days ago I got warning e-mail from CPANEL reminds me to upgrade Perl on few old installed servers. I paste the mail here in case I lost it 😛 :

The version of perl you are running (v5.8.7) is too old.  There are known problems that cannot be worked around with this version of perl.  It is HIGHLY recommended that you upgrade to v5.8.8 or later.  Any module install failures should be ignored until perl has been upgraded as some modules will not be able to install with this version of perl.
You can ensure that each installed module gets carried over to the updated Perl build with the use of the “autobundle” CPAN feature.

You can create a bundle of the currently installed modules by executing the following while logged in via SSH as root:

perl -MCPAN -e ‘autobundle’

Once completed, you should see the following output before getting returned to the shell:

‘Wrote bundle file /home/.cpan/Bundle/’

Once you’ve made note of this file name, you can proceed with the update.

On linux based systems, you should be able to update Perl using the installer provided at

cd /root
tar -zxf perl588installer.tar.gz
cd perl588installer

On FreeBSD based systems, you will need to install Perl from ports.

This will take a few minutes, so take a coffee break and check the status when you return. Once the update has completed, you can install all previously installed modules from the CPAN bundle by executing the following (with the bundle name adjusted to the name of the bundle generated earlier):

perl -MCPAN -e ‘install Bundle::Snapshot_2007_08_16_00’

This should install each of the modules present in the bundle, assuming there are no issues during the installation (dependencies, network, etc).

Once this has completed, execute the following to ensure that all modules required by cPanel are installed, and restart cPanel:



About piyecarane

Bla bla bla about me
This entry was posted in CPANEL, Linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s