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.

upcp won't upgrade

Discussion in 'General Discussion' started by Al Duccino, Apr 4, 2012.

  1. Al Duccino

    Al Duccino Member

    Joined:
    Feb 26, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    First of all sorry about my bad English.
    I'm trying to upgrade whm/cpanel with the command : /scripts/upcp --force

    But I always an error, here is the log :
    Code:
    Can't locate Cpanel/Time/Local.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-t                                                hread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib                                                64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/c                                                panel/Cpanel/Logger.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logger.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line 4.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line                                                 4.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Update/Logger.pm line                                                 10.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Update/Logger.pm l                                                ine 10.
    Compilation failed in require at /scripts/upcp line 37.
    BEGIN failed--compilation aborted at /scripts/upcp line 37.
    We determined that /scripts/upcp had compilation issues..
    Trying to exec /usr/local/cpanel/scripts/upcp.static --force
    [20120405.114229]   Detected cron=0 (Terminal detected)
    --------------------------------------------------------------------------------                                                --------------------
    => Log opened from /usr/local/cpanel/scripts/upcp.static at Thu Apr  5 02:55:43 2012
    [20120405.025543]   Detected cron=0 (Terminal detected)
    => Log closed Thu Apr  5 02:55:43 2012
    [20120405.025543]   mtime on upcp is 1318661852 (Sat Oct 15 08:57:32 2011)
    [20120405.025543] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1333587343.log --force` failed, exited with code 512
    [20120405.025543] E Failed to send contact message
    => Log closed Thu Apr  5 02:55:43 2012
    Any idea to solve this ? Thank you in advance for your help.
    Best regards, Al Duccino.
     
    #1 Al Duccino, Apr 4, 2012
    Last edited: Apr 5, 2012
  2. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    hi i have faced the same problem after yesterdays upgrade :(
    the csf page stoped working , but csf is working fine in the ssh .
    the httpd.conf cannot be updated ,

    ConfigServer Scripts Forum • View topic - Empty csf page in WHM after cPanel upgrade

    Internal Server Error
    500
    No response from subprocess with exit signal: 2

    i have no specific logs in /var/log/messages or /usr/local/apache/logs regarding csf or internal server errors or code 500.

    and here is what i faced after updating httpd.conf
    BEGIN failed--compilation aborted at /scripts/ensure_vhost_includes line 20.

    Can't locate Net/LibIDN.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Encoder/Punycode.pm line 10.
    Compilation failed in require at /usr/local/cpanel/Cpanel/DomainTools.pm line 13.

    and here is the error i saw from cpanel update logs :
    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    Can't locate IO/Interactive/Tiny.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.


    Installer Run
    ==============

    any suggestions ?
     
  3. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    hi , i force upgraded the cpanel again , and things are working fine now . don't know what had happened last night during that upgrades ...

    /scripts/upcp -force
     
  4. balitas

    balitas Registered

    Joined:
    May 26, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I execute these commands

    /scripts/upcp -force
    service cpanel restart

    But the problem still continues, also I restarted server.
     
  5. arly

    arly Registered

    Joined:
    Aug 17, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have the same issue. Cpanel login page is showing this error:

    Internal Server Error
    Can't use an undefined value as filehandle reference at /usr/local/cpanel/Cpanel/LegacyLogin.pm line 148.

    upcp does not work.

    cpanel restart fails with below error:

    Code:
    Starting tailwatchd: Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
    Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
    Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils/SSL.pm line 10.
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 15.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 13.
    Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
    Can't locate Cpanel/AcctUtils/DomainOwnerCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 14.
    
    
    There are also some other errors related to missing perl modules in /usr/local/cpanel/Cpanel folder.

    I do not want and do not actually have opportunity to reinstall cpanel. Can you please advise is it safe Simply to rename current "Cpanel" folder on my server and copy the same folder from server with working cpanel.

    Thanks.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should try this instead:
    /scripts/upcp -force
     
  7. arly

    arly Registered

    Joined:
    Aug 17, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This does not work for me
    Code:
     ~]# /scripts/upcp -force
    [20120821.110656]   Detected cron=0 (Terminal detected)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /scripts/upcp at Tue Aug 21 11:06:56 2012
    [20120821.110656]   Detected cron=0 (Terminal detected)
    => Log closed Tue Aug 21 11:06:56 2012
    [20120821.110656]   mtime on upcp is 1338885606 (Tue Jun  5 04:40:06 2012)
    [20120821.110656] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1345561616.log` failed, exited with code 512
    => Log closed Tue Aug 21 11:06:56 2012
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sorry:

    scripts/upcp --force
     
Loading...

Share This Page