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.

Big installation problem perl modules !!!

Discussion in 'General Discussion' started by Misiek, Feb 6, 2010.

  1. Misiek

    Misiek Well-Known Member

    Joined:
    Feb 23, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Cpanel::FastMath: [INSTALLED=0] [VERSION=]
    Writing Makefile for Cpanel::FastMath
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Cpanel::FastMath
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Cpanel::FastMath
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    Crypt::PasswdMD5::XS: [INSTALLED=0] [VERSION=]
    Using built in crypt()
    Writing Makefile for Crypt::PasswdMD5::XS
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Using built in crypt()
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Crypt::PasswdMD5::XS
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Using built in crypt()
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Crypt::PasswdMD5::XS
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    Cpanel::POSIX::Tiny: [INSTALLED=0] [VERSION=]
    Writing Makefile for Cpanel::POSIX::Tiny
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Cpanel::POSIX::Tiny
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
    Makefile out-of-date with respect to Makefile.PL
    Cleaning current config before rebuilding Makefile...
    make -f Makefile.old clean > /dev/null 2>&1
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Cpanel::POSIX::Tiny
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
     
    #1 Misiek, Feb 6, 2010
    Last edited: Feb 6, 2010
  2. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    I have this same issue, and the server didn't installed MySQL between other stuff.

    By running mysqlup --force it shows me this error:

    Code:
    die [mysqlup] Cpanel::CpPkg::Factory failed to require Cpanel::CpPkg::Package::mysql51_server: Can't locate Cpanel/Class.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Init.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init.pm line 11.
    Compilation failed in require at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
    Compilation failed in require at (eval 17) line 3.
            ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql51_server.pm line 8.
    Compilation failed in require at (eval 16) line 3.
    
    exit level [die] (Cpanel::CpPkg::Factory failed to require Cpanel::CpPkg::Package::mysql51_server: Can't locate Cpanel/Class.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Init.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init.pm line 11.
    Compilation failed in require at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql.pm line 11.
    Compilation failed in require at (eval 17) line 3.
            ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CpPkg/Package/mysql51_server.pm line 8.
    Compilation failed in require at (eval 16) line 3.
    )
    And if I try to install the missing perl modules, the script fails with the message

    make: Warning: File `Makefile.PL' has modification time 2e+04 s in the future
     
  3. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    What does 'date' return on your server ? Also, you can try installing the module manually and running touch Makefile.PL prior to proceeding with the install.
     
  4. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    The date is configured properly, I've even installed NTP to check that out.

    Code:
    root@cp13 [~]# date --utc
    Mon Jun  6 21:39:37 UTC 2011
    I don't know which modules to install, the script checkperlmodules and mysqlup are the ones that fail.

    BTW: I've opened a ticket for this issue #1588513
     
    #4 Silent Ninja, Jun 6, 2011
    Last edited: Jun 6, 2011
  5. IPSecureNetwork

    IPSecureNetwork Well-Known Member

    Joined:
    May 28, 2005
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    how to fix this issue.. im having the same problem
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please post the results for this command:

    Code:
    awk '/VERSION_/{print FILENAME": "NR": "$0}' /usr/local/cpanel/scripts/updatenow.static
    If there are no results, then updatenow.static is corrupted and would need to be grabbed from another machine:

    Code:
    mv /usr/local/cpanel/scripts/updatenow.static /usr/local/cpanel/scripts/updatenow.static.bak110725
    cd /root
    wget http://httpupdate.cpanel.net/cpanelsync/11.30.0.32/cpanel/scripts/updatenow.static.bz2
    bunzip2 updatenow.static.bz2
    cp -pv /root/updatenow.static /usr/local/cpanel/scripts/updatenow.static
    chmod 755 /usr/local/cpanel/scripts/updatenow.static
    After getting a sound copy at that location, recheck it shows a version:

    Code:
    awk '/VERSION_/{print FILENAME": "NR": "$0}' /usr/local/cpanel/scripts/updatenow.static
    If it does, then resync the files:

    Code:
    /usr/local/cpanel/scripts/updatenow.static --sync
    Finally, update cPanel again:

    Code:
    /scripts/upcp --force
     
Loading...

Share This Page