Results 1 to 8 of 8

Thread: upcp won't upgrade

  1. #1
    Member
    Join Date
    Feb 2009
    Posts
    9

    Default upcp won't upgrade

    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.
    Last edited by Al Duccino; 04-05-2012 at 04:44 AM.

  2. #2
    Member
    Join Date
    Jan 2010
    Location
    at net :D
    Posts
    50

    Default Re: upcp won't upgrade

    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. #3
    Member
    Join Date
    Jan 2010
    Location
    at net :D
    Posts
    50

    Default Re: upcp won't upgrade

    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. #4
    Registered User
    Join Date
    May 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default Re: upcp won't upgrade

    I execute these commands

    /scripts/upcp -force
    service cpanel restart

    But the problem still continues, also I restarted server.

  5. #5
    Registered User
    Join Date
    Aug 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Exclamation Re: upcp won't upgrade

    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. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,122
    cPanel/WHM Access Level

    Root Administrator

    Default Re: upcp won't upgrade

    You should try this instead:
    /scripts/upcp -force

  7. #7
    Registered User
    Join Date
    Aug 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: upcp won't upgrade

    Quote Originally Posted by Infopro View Post
    You should try this instead:
    /scripts/upcp -force
    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. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,122
    cPanel/WHM Access Level

    Root Administrator

    Default Re: upcp won't upgrade

    Sorry:

    scripts/upcp --force

Similar Threads

  1. WHM won't upgrade PHP version
    By wdwms in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 10-19-2006, 09:08 AM
  2. PHP5 Upgrade Won't Load
    By jscherbel in forum New User Questions
    Replies: 1
    Last Post: 08-29-2006, 03:36 AM
  3. UPCP Won't Update Current Releases
    By PanelGuy in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 06-29-2006, 03:08 AM
  4. UPCP won't finish
    By mike47 in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 09-19-2005, 09:29 AM
  5. Frontpage Won't Work After upgrade.
    By vortex2000 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-26-2004, 10:30 AM