Categories

Sunday 14 April 2013

How to Reinstall Perl to fix perl errors .

Hello,


  Some times we need to reinstall perl on the Cpanel server due if existing perl package is no longer working.

common errors are as follows.
------------------------------------
Error
------------
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
1:java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64 has missing requires of libasound.so.2()(64bit)
1:java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
1:java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64 has missinrl error on Cpanel server .
If you got the error “! Failed to install CPAN Perl module(s) Crypt::PasswdMD5 !!I”error


---------------------------------


First try to fix it by running cpanel perl script /scripts/fixperl

if that doesn't do it you'll need a complete perl reinstall so do the following:

wget http://httpupdate.cpanel.net/perl588installer.tar.gz
tar xzvf perl588installer.tar.gz
rm -rf perl588installer.tar.gz (skip this if you want to keep the tarball)
cd perl588installer/
./install

it'll take awhile but when it's done it should be fixed. 

If it still not fixed, then do the following steps.

-----------------------------------
Reinstall Perl
Get latest source from http://search.cpan.org/dist/perl/ , unarchive and go to that folder.

yum install make gcc
sh Configure -de -Dusethreads
make && make test && make install
cd /usr/bin
mv perl perl-backup
ln -s /usr/local/bin/perl perl

Reinstall Cpanel and Fix accounts

/scripts/upcp –force
/scripts/fixhome
/scripts/chownpublichtmls
-------------------------------


Regards
Syamkumar.M

2 comments:

  1. reinstalling to the latest source fixed the problem for me! thank you

    ReplyDelete
    Replies
    1. Great ..Glad to hear that your issue has been fixed..:)

      Delete

Ad