se of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Stash/XS.pm line 29.
Couldn’t load Template::Stash::XS :
Template::Stash::XS object version 2.24 does not match bootstrap parameter at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 253.
BEGIN failed–compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Stash/XS.pm line 31.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 49.
BEGIN failed–compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 49.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
BEGIN failed–compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
Compilation failed in require at /scripts/rebuildhttpdconf line 12.
BEGIN failed–compilation aborted at /scripts/rebuildhttpdconf line 12.
I thought the perl module Template is not installed properly, so I have just tried to install the module using cpan, but again I got another error now its
Undefined subroutine &IO::Uncompress::Base::readonly called at /usr/lib/perl5/site_perl/5.8.8/IO/Uncompress/Base.pm line 1076.
Then I have searched for it in many blogs including cPanel forum, but I couldn’t find any related issues either, but after the long research I can able to fix this issue by doing the folowing steps.
cd /usr/bin
mv perl perl-bad
ln -s /usr/local/bin/perl perl
Problem still not fixed? Try reinstalling Perl:Then run /scripts/checkperlmodules and /scripts/upcp –force again to reinstall the cPanel files and cpanel default modules.cd /usr/src wget http://layer2.cpanel.net/perl588installer.tar.gz tar -xvzf perl588installer.tar.gz cd perl588installer ./install
Seems the last cpanel update is also updated the server perl version to latest.
No comments:
Post a Comment