nitaish

Well-Known Member
PartnerNOC
Jan 6, 2006
137
3
168
Mulund, India,
We get the following error in the cpanel installation

Number found where operator expected at /usr/lib/perl5/5.8.8/i686-linux/lib.pm line 12, near "5.8.5 5.8.6"
(Missing operator before 5.8.6?)
Number found where operator expected at /usr/lib/perl5/5.8.8/i686-linux/lib.pm line 12, near "5.8.6 5.8.7"
(Missing operator before 5.8.7?)
syntax error at /usr/lib/perl5/5.8.8/i686-linux/lib.pm line 12, near "5.8.5 5.8.6"
Compilation failed in require at /usr/lib/perl5/5.8.8/CPAN.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/CPAN.pm line 27.
Compilation failed in require at /scripts/realperlinstaller line 28.
BEGIN failed--compilation aborted at /scripts/realperlinstaller line 28.

As a result, we cannot access cpanel or start the cpanel services. What is the solution?
 

SB-Nick

Well-Known Member
Aug 26, 2008
175
9
68
cPanel Access Level
Root Administrator
Im not sure if i did understood this correctly, is this a already running cPanel server or you are in the process of installing cPanel?
 

maxmk

Registered
Oct 10, 2008
4
0
51
Try to re-install Perl on the VPS. Use following steps to re-install perl

First execute following command
perl -MCPAN -e 'autobundle'
Once completed, you should see the following output before getting returned to the shell:

'Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_08_16_00.pm"

Once you've made note of this file name, you can proceed with the update/re-install.

On linux based systems, you should be able to update Perl using the installer provided at layer1.cpanel.net:

cd /root
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -zxf perl588installer.tar.gz
cd perl588installer
./install