Reinstall Perl, CPanel, All yum packages

Reinstall yum packages

 

yum clean all
yum update
yum reinstall $(yum list installed | awk ‘{print $1}’)

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