Rebuild perl on cPanel Server


Many time cPanel updates as well as wrong commands cause the perl corrupt issue and we are not able to any script like pkgacct,restorepkg etc, its throwing the perl corrupt error message, to resolve the perl corrupt, we can rebuild the perl by using the following command from the shell as a root user.

/scripts/checkperlmodules

80 time out of 100 above command resolve the issue but if still you are facing the issue than follow the following steps o resolve the issue.

cd /usr/local/src

wget http://layer1.cpanel.net/perl588installer.tar.gz

tar xfz perl588installer.tar.gz

cd perl588installer

./install

Now try to run any script like pkacct,restorepkg to verify the perl rebuild.

About Anant 373 Articles
Senior technical writer