The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl issues

Discussion in 'General Discussion' started by nitaish, Oct 9, 2008.

  1. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, 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?
     
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  3. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    We are installing Cpanel in a Virtuozzo VPS for the first time and we get the perl issues. Any idea?
     
  4. maxmk

    maxmk Registered

    Joined:
    Oct 10, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Try to re-install Perl on the VPS. Use following steps to re-install perl

    First execute following command
    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:

     
  5. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    I get this error

    Cannot allocate memory at /usr/lib/perl5/5.8.8/CPAN.pm line 5726.

    I have enough memory allocated to the VPS and currently there is no service running in it.
     
Loading...

Share This Page