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.

Update problems

Discussion in 'General Discussion' started by turnip, Dec 4, 2012.

  1. turnip

    turnip Well-Known Member

    Joined:
    May 31, 2012
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    After updating, and then attempting to update again due to another version update (which seems to have failed) much of WHM is now unusable with

    This is covering many pages, including the update page, so I can't attempt to reinstall ect, not sure what's going on with the many updates and now WHM problems, can someone help?
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please make sure the update is complete before attempting to use WHM. If you are still experiencing this problem after the update has been completed, please open a ticket using the link in my signature.
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    We have had this on several servers. Perl is foo'bar'd server wide. Below is just a SMALL amount of the cpanel error_log

    The servers we've had to fix, required FULL Perl reinstall, apache rebuild and upcp --force and yum updates.
     
  4. dahnutz

    dahnutz Registered

    Joined:
    Feb 2, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    same here, this update came with so many problems, addons are screwed for sure, restarting service cpanel gives a few errors :

    Starting tailwatchd: Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 165, near "$datastore_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 249, near "$adminbin_read_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 338, near "$adminbin_read_fh)"
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 165, near "$datastore_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 249, near "$adminbin_read_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 338, near "$adminbin_read_fh)"
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 165, near "$datastore_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 249, near "$adminbin_read_fh)"
    Not enough arguments for Storable::pretrieve at /usr/local/cpanel/Cpanel/AdminBin.pm line 338, near "$adminbin_read_fh)"
    Compilation failed in require at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/HttpUtils.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/TweakSettings/Main.pm line 14.
    Compilation failed in require at /usr/local/cpanel/bin/fetch_cpconf_value line 19.
    ........
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please run the following

    Code:
    /scripts/perlinstaller --force Storable
    /scripts/upcp --force
    
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Nick upcp -force fails with;

    [20121204.154136] Detected cron=0 (Terminal detected)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /scripts/upcp at Tue Dec 4 15:41:36 2012
    [20121204.154136] Detected cron=0 (Terminal detected)
    [20121204.154136] Running Standardized hooks
    => Log closed Tue Dec 4 15:41:36 2012
    [20121204.154136] mtime on upcp is 1341673802 (Sat Jul 7 11:10:02 2012)
    [20121204.154136] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1354653696.log --force` failed, exited with code 65280
    => Log closed Tue Dec 4 15:41:36 2012
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Did
    Code:
    /scripts/perlinstaller --force Storable
    work?
     
  8. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Hey Nick;

    Yes that worked and upcp is running now. Will update if Internal Server Errors go away once finished.
     
  9. turnip

    turnip Well-Known Member

    Joined:
    May 31, 2012
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Update was allowed to complete, but seems to have not done so, I can't attempt to re-update through WHM as that page is give error 500.

    I have opened ticket - 3480953
     
  10. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Yes. We are investigating the problem with Storable now.
     
  11. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Hey Nick;

    All is good and working normal again. Thanks for the quick assistance.
     
  12. dahnutz

    dahnutz Registered

    Joined:
    Feb 2, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    /scripts/perlinstaller --force Storable
    /scripts/upcp --force

    This worked for me, everything is back to normal.
    Thanks for the assistance.
     
  13. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    We've added a fix to the updater. If the Storable install doesn't go well, it will force it and retry the update now.
     
  14. dhost

    dhost Active Member

    Joined:
    Nov 29, 2002
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    This error is still happening. A customer noticed it during the overnight updater. (Release - WHM 11.34.0 (build 11)

    Glad this fix was posted. It worked perfectly.
     
Loading...

Share This Page