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.

error on cpanel installation

Discussion in 'General Discussion' started by makoy, Jun 6, 2007.

  1. makoy

    makoy Member

    Joined:
    May 18, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Guys please help me! During cpanel installation I encountered the following error messages and I don't have any idea what's causing it. Thanks.


    Installing...1......x1...2.......2a.................x2a...2b...Can't locate File/Copy/Recursive.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /scripts/cPScript/SafeDir.pm line 164.
    BEGIN failed--compilation aborted at /scripts/cPScript/SafeDir.pm line 164.
    Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 20.
    Compilation failed in require at /scripts/cPScript/SysPkgs.pm line 12.
    BEGIN failed--compilation aborted at /scripts/cPScript/SysPkgs.pm line 12.
    Compilation failed in require at /scripts/checksyspkgsetup line 10.
    BEGIN failed--compilation aborted at /scripts/checksyspkgsetup line 10.
     
  2. The WebDruid

    The WebDruid Member

    Joined:
    Sep 1, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Same error here - fresh installation of CentOS 4.5.

    How long will it take to get this fixed?
     
  3. Apoc

    Apoc Active Member
    PartnerNOC

    Joined:
    Mar 4, 2003
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    DataCenter Provider
    Same problem here. This is a big problem as we need to install quite a few new cPanel boxes today. Hope this gets fixed soon.
     
  4. yip

    yip Member
    PartnerNOC

    Joined:
    May 12, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    am getting the same errror too, is that due to my server problem?

    to addon, here's the error msg:
    Installing...1......x1...2...2a....................x2a...2b...Can't locate File/Copy/Recursive.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /scripts/cPScript/SafeDir.pm line 164.
    BEGIN failed--compilation aborted at /scripts/cPScript/SafeDir.pm line 164.
    Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 20.
    Compilation failed in require at /scripts/cPScript/SysPkgs.pm line 12.
    BEGIN failed--compilation aborted at /scripts/cPScript/SysPkgs.pm line 12.
    Compilation failed in require at /scripts/checksyspkgsetup line 10.
    BEGIN failed--compilation aborted at /scripts/checksyspkgsetup line 10.
     
    #4 yip, Jun 6, 2007
    Last edited: Jun 6, 2007
  5. Apoc

    Apoc Active Member
    PartnerNOC

    Joined:
    Mar 4, 2003
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    DataCenter Provider
    I got this response from cPanel support, hope it helps:

     
  6. schrombot

    schrombot Registered

    Joined:
    Jun 6, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Just chiming in to say I am getting the same thing. Those directions don't work because there is no perl588installer file or directory in installd.
     
  7. nothings_found

    nothings_found Registered

    Joined:
    Apr 4, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Same thing

    I just cant belive i just reinstalled the os 4 times thinking i did something wrong in the stall, and i come here and find out there is a bug in the damn installer.

    there is no perl installation directory in the installd directory. So im stuck.


    Warning !!! Warning !!! WARNING !!! Warning !!! Warning
    Waiting 5 seconds........Done
    This install will take 10-70 minutes depending on your hardware.
    Now is the time to go get another cup of coffee/jolt.
    The install will log to /var/log/cpanel-install-thread0.log.
    and /var/log/cpanel-install-thread1.log.
    Installing...1......x1...2.......2a....................x2a...2b...Can't locate File/Copy/Recursive.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /scripts/cPScript/SafeDir.pm line 164.
    BEGIN failed--compilation aborted at /scripts/cPScript/SafeDir.pm line 164.
    Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 20.
    Compilation failed in require at /scripts/cPScript/SysPkgs.pm line 12.
    BEGIN failed--compilation aborted at /scripts/cPScript/SysPkgs.pm line 12.
    Compilation failed in require at /scripts/checksyspkgsetup line 10.
    BEGIN failed--compilation aborted at /scripts/checksyspkgsetup line 10.
    ...x2b...2c........x2c...
    [root@lsanca home]#
     
  8. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Hi,

    Follow the below steps to install the missing Perl module:

    Login to server as root.
    mkdir /usr/download
    cd /usr/download
    wget http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-0.33.tar.gz

    tar -zxf File-Copy-Recursive-0.33.tar.gz
    cd File-Copy-Recursive-0.33

    To proceed with installation, execute below steps:

    perl Makefile.PL
    make
    make test
    make install


    Once the installation of perl module completes, try installing cPanel again.

    EDIT: You may also need below modules and libraries.
    File::Copy
    File::Spec

    Thanks.
     
  9. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    In addition to what Shekhar said above how to add back the missing Perl module,
    I would also run "/usr/local/cpanel/bin/checkperlmodules" a few times till it runs clean
    which will make sure you aren't missing any other additional Perl modules
     
  10. schrombot

    schrombot Registered

    Joined:
    Jun 6, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you so much, this did the trick.
     
  11. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    or just

    cpan File::Copy::Recursive
     
  12. makoy

    makoy Member

    Joined:
    May 18, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Wonderful! You guys help me a lot on this issue :) ... regards.
     
  13. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK, Luton
    Experienced the same on a FreeBSD 6.2 AMD64 box.

    The following has allowed cPanel to continue installing:

    Code:
    ln -s /usr/local/bin/wget /usr/bin/wget
    /scripts/perlinstaller --force File::Copy::Recursive
    cd /usr/home/cpins && sh latest
    
    I needed to symlink wget as perlinstaller complained about /usr/bin/wget being non existent.
     
  14. thesmacker11

    thesmacker11 Member

    Joined:
    Jan 12, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Testing connection speed (12 servers)...(this could take a while)................Done
    Ping:12.205 Testing connection speed to 69.90.250.34 using pureperl...(210875.00 bytes/s)...Done
    Ping:13.201 Testing connection speed to 69.90.250.35 using pureperl...(210875.00 bytes/s)...Done
    Ping:25.598 Testing connection speed to 69.72.164.155 using pureperl...(210875.00 bytes/s)...Done
    Ping:27.213 Testing connection speed to 69.72.164.152 using pureperl...(6342.11 bytes/s)...Done
    Ping:38.999 Testing connection speed to 8.10.120.130 using pureperl...(70291.67 bytes/s)...Done
    5 usable mirrors located
    Fetching http://httpupdate.cpanel.net/pub/CPAN/index.html (0)....@69.90.250.34......connected......receiving...70%...100%......Done
    /scripts/perlbootstrap: line 3: /scripts/realperlinstaller: No such file or directory


    is the error I get....
     
  15. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    Can you give it another try? Should be fixed now.
     
Loading...

Share This Page