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.

/scripts/upcp hang

Discussion in 'General Discussion' started by RBRBRB, Aug 26, 2008.

  1. RBRBRB

    RBRBRB Member

    Joined:
    Oct 16, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    My server /scripts/upcp --force hang at Updating services & databases... and I ps -aux see stop the scripts/updatefrontpage --auto. please help

    root 2589 0.0 0.0 2372 1092 ? S 12:33 0:00 /bin/sh /scripts/updatefrontpage --auto
    root 2611 0.0 0.0 2372 500 ? S 12:33 0:00 /bin/sh /scripts/updatefrontpage --auto
    root 2612 0.0 0.1 10996 2744 ? S 12:33 0:00 /usr/lib/rpm/rpmq -q frontpage
    root 2613 0.0 0.0 1840 492 ? S 12:33 0:00 grep installed
     
  2. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    yep. just tried to update and mine is hanging both WHM and/or via SSH.

    Here's the WHM text

    Code:
    Running Env Auto Repair...quota test: repquota exited with signal 0 (ok)
    Requesting script ... Done
    Auto Repair is running...
    	io_compress_gzip has already been run.
    
    	pathtools_cpcpan has already been run.
    
    	pathtools_repair has already been run.
    Fetching http://httpupdate.cpanel.net/autofixer/check_perms4 (0)....@209.85.80.214......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/autofixer/kronolith_prefs (0)....@209.85.80.214......connected......receiving...100%......Done
    
    	phpapps_owner_fix has already been run.
    Fetching http://httpupdate.cpanel.net/autofixer/securetmp_fix (0)....@209.85.80.214......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/autofixer/fix_update_never (0)....@209.85.80.214......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/autofixer/configpm_fix (0)....@209.85.80.214......connected......receiving...100%......Done
    
    	freebsd_courier_config has already been run.
    
    	bind_chroot has already been run.
    
    	spamd_dbm_fix has already been run.
    ...Auto Repair is done.
    ...Done
    
    	
    
    Running Cleanups...Found hostname to be myserver.mydomainname.com, which resolves to ###.##.##.###
    Hostname Virtual Host is already setup
    ...Done
    still at 0% after 30 minutes.

    Each time I kill the upcp process(es) the Master and the Slave and then retry, each hanging. This last time I killed the firewall before beginning, with no change.

    In SSH, I'm using the /scripts/upcp --force

    current setup is
    WHM 11.23.2 cPanel 11.23.3-R25971
    CENTOS Enterprise 5.2 x86_64 on standard - WHM X v3.1.0
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Backup , then move away the "__" files in /var/lib/rpm
    Kill the hung rpm process

    This should resolve the issue
     
  4. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    It did in mine, thanks. I'm monitoring my update now. the "__" files -- are they to be moved BACK?
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You'll only _need_ them help recover your rpm database if there is something seriously wrong with it. You can probably just remove them if everything is still ok in a few days.
     
  6. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    yeah, I spoke/wrote too soon. Server crashed after hanging at 40%.

    Last thing on the screen at the time was
    Code:
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE-x86_64/3rdparty/lib/libldap_r-2.3.so.0.2.15 (0)....@209.85.80.214......connected......receiving...1%...3%...5%...7%...9%...11%...13%...15%...17%...19%...21%...23%...25%...27%...29%...31%...33%...35%...37%...39%...41%...43%...45%...47%...49%...51%...53%...55%...57%...59%...61%...63%...65%...67%...69%...71%...73%...75%...77%...79%...81%...83%...85%...87%...89%...91%...93%...95%...97%...99%...100%......Done
    Got file ./lib/libldap_r-2.3.so.0.2.15 ok (md5 matches)
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE-x86_64/3rdparty/bin/analog (0)....@209.85.80.214......connected......receiving...2%...5%...8%...11%...14%...17%...19%...22%...25%...28%...31%...34%...36%...39%...42%...45%...48%...51%...53%...56%...59%...62%...65%...68%...71%...73%...76%...79%...82%...85%...88%...90%...93%...96%...99%...100%......Done
    Got file ./bin/analog ok (md5 matches)
    rebooting now. I'll try another upcp after / if it comes back. I'll update this thread, even though I know this isn't a support forum.

    UPDATE: Ew. Nasty server crash during the above mentioned update, and that backup was needed. quite nasty. I didn't expect it, and not really sure what to make of it. The core Cpanel files look okay, but for some reason every folder and file in the home directory was shoved into the last alphabetical user directory, leaving almost nothing in the /home directory itself. Yep, user "wyzzy" (/home/wyzzy) was chock full of everyone else's user folders. I'll take this to support if I can't get everything back to where it was before.
     
    #6 WindyT, Aug 27, 2008
    Last edited: Aug 28, 2008
Loading...

Share This Page