Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    1

    Exclamation Error while updating cPanel

    Hello

    I was in the middle of updating the cPanel version on my VPS when I accidentally pressed ^C which killed the process

    Now when I re-ran a force update, I got the message:-


    Log opened from cPanel Update (upcp) - Slave at Mon Aug 15 14:31:31 2011
    [20110815.143131] E Maintenance ended, however it did not exit cleanly (65280).Please check the logs for an indication of what happened
    [20110815.143131] E Failed to send contact message
    [20110815.143131]
    [20110815.143131] cPanel update completed
    [20110815.143131] A log of this update is available at /var/cpanel/updatelogs/

    Now when I try to login to any of our domains' cPanel via www.domain.com/cpanel/ I get a 404 not found error and while logging in through port 2082 I find all the icons missing from cPanel and the Cpanel version appearing blank

    Please advise on how do I fix this

    Thanks!

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Error while updating cPanel

    Please try the following:

    Code:
    /usr/local/cpanel/scripts/updatenow.static --upcp --force
    /scripts/upcp --force
    If that doesn't work, then which cPanel version are you using? If it is RELEASE, please try the following:

    Code:
    wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static --manual
    /scripts/upcp --force
    If it is not RELEASE, then use the version you are on for the tier in question such as STABLE or CURRENT in the url string.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Jul 2004
    Location
    Rio de Janeiro, Rio de Janeiro, Brazil
    Posts
    5

    Default Re: Error while updating cPanel

    No deal. These commands didn't work. The logs are not any helping though... And now my cpanel service is going down frequently, and no updates are done...

    root@linus [~]# cat /var/cpanel/updatelogs/update.1324153992.log


    Ensuring cPanel server is ready to run 11.30

    /etc/cpanelsync.exclude is empty or does not exist, ignoring.
    Moving /scripts to /usr/local/cpanel/scripts and symlinking back
    Relocating /scripts to /usr/local/cpanel/scripts
    tar: scripts: Cannot open: File exists
    tar: Error exit delayed from previous errors
    System Arch: linux-x86_64
    Could not rename /usr/local/cpanel/base/frontend/x3mail/.cpanelsync /usr/local/cpanel/base/frontend/x3mail/.cpanelsync_x3mail
    Could not rename /usr/local/cpanel/base/frontend/x3/.cpanelsync /usr/local/cpanel/base/frontend/x3/.cpanelsync_x3
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/upcp.static at Sat Dec 17 18:33:16 2011
    [20111217.183316] Detected cron=0 (env var CPANEL_IS_CRON was present before this process started.)
    [20111217.183316] mtime on upcp is 1305227540 (Thu May 12 16:12:20 2011)
    => Log closed Sat Dec 17 18:33:16 2011
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow at Sat Dec 17 18:33:16 2011
    [20111217.183316] Version is the same on the server and locally (11.30.5.2)
    => Log closed Sat Dec 17 18:33:16 2011
    => Log closed Sat Dec 17 18:33:16 2011
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/maintenance at Sat Dec 17 18:33:16 2011
    [20111217.183316] Processing: Setting clock
    [20111217.183316] - Processing command `/usr/local/cpanel/scripts/rdate`
    [20111217.183316] [3984] Virtual environment detected - rdate skipped
    [20111217.183316] Processing: Checking for immutable files
    [20111217.183316] - Processing command `/usr/local/cpanel/scripts/check_immutable_files`
    [20111217.183316] [3985] Not testing for immutable files, because the test was last run approximately 6 days ago (less than 10 days)
    [20111217.183316] Processing: Assuring OS package management system is setup properly
    [20111217.183316] - Processing command `/usr/local/cpanel/scripts/checksyspkgsetup`
    => Log closed Sat Dec 17 18:33:16 2011
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave at Sat Dec 17 18:33:16 2011
    [20111217.183316] E Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened
    [20111217.183316] E Failed to send contact message
    [20111217.183316]
    [20111217.183316] cPanel update completed
    [20111217.183316] A log of this update is available at /var/cpanel/updatelogs/update.1324153992.log
    => Log closed Sat Dec 17 18:33:16 2011
    root@linus [~]#

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Error while updating cPanel

    If the update logs are not helpful in determining the cause of the issue, then please submit a ticket:

    http://go.cpanel.net/supportrequest

    I believe the part of the logs that's the biggest issue is likely this one:

    Code:
    Relocating /scripts to /usr/local/cpanel/scripts
    tar: scripts: Cannot open: File exists
    tar: Error exit delayed from previous errors
    You could try checking the following:

    Code:
    cd /
    ls -ld /scripts* && ls -ld scripts*
    lsattr /scripts && lsattr scripts
    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. DATA_ERROR_MAGIC (-5) error when updating Cpanel.
    By Adam_UOForums in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-06-2009, 07:05 PM
  2. Major Image Button Maker Error when updating cpanel
    By grabyourhosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-21-2007, 06:50 PM
  3. URGENT: Updating cpanel error. all website passwords are not working.
    By ephlox in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-29-2006, 06:49 PM
  4. Error Updating Cpanel
    By IRCBrasil in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-12-2006, 01:29 PM
  5. Error While Updating CPanel
    By yuga in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-20-2004, 05:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube