Skip to main content

The last attempt to update cPanel & WHM was blocked.

Comments

52 comments

  • Metro2
    I'm running into the same problem and there is enough disk / inodes available when I begin. Here's a df -h and df -i I took while upcp running:
    # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 9.7G 870M 8.4G 10% / /dev/sda7 871G 220G 607G 27% /home /dev/sdb1 903G 230G 627G 27% /backup /dev/sda3 9.7G 5.3G 4.0G 58% /var /dev/sda2 9.7G 6.8G 2.5G 74% /usr /dev/sda1 99M 24M 70M 26% /boot tmpfs 3.9G 0 3.9G 0% /dev/shm /dev/sda8 996M 95M 850M 10% /tmp

    # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda5 2621440 16258 2605182 1% / /dev/sda7 235536384 2460960 233075424 2% /home /dev/sdb1 244219904 2494693 241725211 2% /backup /dev/sda3 2621440 47743 2573697 2% /var /dev/sda2 2621440 231704 2389736 9% /usr /dev/sda1 26104 46 26058 1% /boot tmpfs 1019003 1 1019002 1% /dev/shm /dev/sda8 263232 2844 260388 2% /tmp
    0
  • cPanelMichael
    Hello :) You will need at least 3G of free space for the "/usr/local/cpanel" directory. This is referenced in our change log: Fixed case 135913: Increase update/install blocker to 3GB from 1.6GB for /usr/local/cpanel. Thank you.
    0
  • PCZero
    Well I know we need it but I don't see how to do it!
    0
  • cPanelMichael
    The primary issue I see is that your /usr partition does not use the recommended size when utilizing advanced partitioning: Advanced Partitioning /usr 16 GB recommended minimum
    Ideally, you should always use the recommended partition setup as referenced here: Installation Guide - OS Configuration Without repartitioning, your only alternative is to remove or move existing files from the /usr partition to free up space. Have you checked to see what is taking up the most space on that partition? This document can help with that: Manage HD Space Thank you.
    0
  • Metro2
    Re: The last attempt to update cPanel & WHM was blocked.
    ] Fixed case 135913: Increase update/install blocker to 3GB from 1.6GB for /usr/local/cpanel.

    Ouch. Last week it was only 1.6GB needed. [COLOR="silver">- - - Updated - - -
    ]The primary issue I see is that your /usr partition does not use the recommended size when utilizing advanced partitioning: Advanced Partitioning

    Thank you for the links. Unfortunately the 10GB /usr partition is exactly how Softlayer provisioned my cPanel servers, apparently before the recommended space was announced to be 16BG (or perhaps they just didn't know that bit of info when they provisioned my dedicated servers). This is truly a dilemma, because I think we've cleaned up as much of the /usr partition as possible. Repartitioning would mean an OS reload, and that would create many hours of downtime and kill my small business. Looks like the only option left is to move and symlink mysql somehow, which makes me really nervous :(
    0
  • PCZero
    Re: The last attempt to update cPanel & WHM was blocked. How does one go abut repartitioning. BTW the partitions were set up at the default values by my server host (softlayer) when I leased my server. Perhaps if they are using non-recommended settings as their defaults, someone from cPanel ought to enlighten them!
    [COLOR="silver">- - - Updated - - - [~]# du -sh /usr/* 187M /usr/bin 8.0K /usr/etc 4.0K /usr/games 34M /usr/include 121M /usr/lib 247M /usr/lib64 25M /usr/libexec 5.6G /usr/local 16K /usr/lost+found 84K /usr/man 12K /usr/quota.user 72M /usr/sbin 661M /usr/share 12K /usr/src 0 /usr/tmp [COLOR="silver">- - - Updated - - - [~]# du -sh /usr/local/* 552M /usr/local/apache 108K /usr/local/bandmin 25M /usr/local/bin 8.6M /usr/local/burnintest 4.9G /usr/local/cpanel 1.2M /usr/local/csf 8.0K /usr/local/etc 72K /usr/local/frontpage 4.0K /usr/local/games 3.9M /usr/local/include 3.7M /usr/local/lib 19M /usr/local/lib64 4.0K /usr/local/libexec 36K /usr/local/man 2.4M /usr/local/modsecurity 52K /usr/local/php 4.0K /usr/local/sbin 76M /usr/local/share 4.0K /usr/local/src
    0
  • PCZero

    Physical Disks: sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:0:0: Attached scsi generic sg0 type 0 Current Disk Usage: Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.8G 491M 8.8G 6% / tmpfs 935M 0 935M 0% /dev/shm /dev/sda1 99M 60M 35M 64% /boot /dev/sda8 426G 8.6G 396G 3% /home /dev/sda7 976M 61M 865M 7% /tmp /dev/sda3 9.8G 6.9G 2.4G 75% /usr /dev/sda5 9.8G 4.4G 4.9G 48% /var Disk Information: Device Mount Point Usage /tmp /var/tmp 7% (61,980 of 999,320) /dev/sda3 /usr 74% (7,159,044 of 10,190,136) /dev/sda5 /var 47% (4,586,496 of 10,190,136) /dev/sda2 / 5% (501,880 of 10,190,136) /dev/sda7 /tmp 7% (61,980 of 999,320) /dev/sda1 /boot 63% (60,437 of 101,133) /dev/sda8 /home 2% (8,959,476 of 446,422,952)
    Question is how do I reallocate the disk space? I have a huge amount of unused space in /dev/sda8 /home and would like to reduce that and increase the volumes that are short.
    0
  • cPanelMichael
    Repartitioning isn't really practical without reinstalling the OS. That being said, I don't really see any data that you could move to another partition. Unfortunately, backing up or transferring your accounts and reinstalling the OS with the recommended partition setup is really the best route to take to address this issue. Thank you.
    0
  • david_s5
    So us long time customers...have accounts that were set up with the "Correct partitions sizes" at the time. I would suggest that the Staff at cPanel come up with a non destructive fix. Perhaps a setting allowing us to configure a user account in home (with lot's of space) that can be used to perform the upgrade. Other than that. Without support, why pay for this?
    0
  • PCZero
    ]So us long time customers...have accounts that were set up with the "Correct partitions sizes" at the time. I would suggest that the Staff at cPanel come up with a non destructive fix. Perhaps a setting allowing us to configure a user account in home (with lot's of space) that can be used to perform the upgrade. Other than that. Without support, why pay for this?

    Agree 100%. A lot of us have been using cPanel for many years. We had our servers set up to the recommended parameters when they were provisioned. Changing the rules in the middle of the game without regard for your long time custom,ers is pretty much telling us that we do not matter. This is absolutely 100% an issue for cPanel to address and to do so extremely quickly. Someone from cPanel needs to be come actively involved in this thread and take ownership of the issue immediately.
    0
  • david_s5
    Just an update. I when back and forth with SoftLayer and cPanel. Both had a look at the server. But the issues is still not resolved. Again I urge cPanel to publish a non destructive fix. You folks understand your software and it's requirements and are best suited to solving this issue. Please tell us you will help! David
    0
  • kernow
    Metro2 If moving the mysql database would solve your problems, read this post by cPanelTristan
    0
  • cPanelMichael
    ]I would suggest that the Staff at cPanel come up with a non destructive fix. Perhaps a setting allowing us to configure a user account in home (with lot's of space) that can be used to perform the upgrade.

    I recommend opening a feature request via: Submit A Feature Request This will allow other users to vote and add their feedback to the request. Thank you.
    0
  • Metro2
    ]Metro2 If moving the mysql database would solve your problems, read this post by cPanelTristan

    Hi kernow, I had mistakenly thought of /var instead /usr in my previous post, so moving mysql would not be a solution since that exists in /var and the issue is actually that cPanel now wants more free space in /usr in order to update. (But thank you for making a suggestion and providing the link you did). As with other users who have been with Softlayer (formerly ThePlanet) and paying cPanel licenses for many years there, Softlayer provisioned all of my latest servers in year 2012 with a 10GB /usr partitions and now I'm stuck at 11.46.15 unless I either buy new servers that aren't in the budget and migrate everything or reload OS (which would kill my business especially at holidays due to downtime involved), and so my only practical hope at the moment would be if cPanel would please make it so that updates only required 1.6GB of /usr free as it was the standard needed just 3 weeks ago. After upping to 11.46 build 15 I was suddenly hit with this newest requirement of 3GB /usr free without warning and it has put me in a very difficult situation. As others have said - I plead with cPanel to publish a non destructive fix. Is it possible at all for cPanel to go back to just the 1.6GB free required in /usr that it was a few weeks ago? I cannot seem to free-up more than 2.4GB in /usr on my servers. :(
    0
  • RandallJ
    well this is fookered up...... I just had this server re provisioned in the last year and now you want me to destroy the work? WTF... Worst part is that it is shutting down WHM to resellers as the stupid thing fills up now.. There must be a better way here...
    0
  • Metro2
    ]I recommend opening a feature request via: Submit A Feature Request This will allow other users to vote and add their feedback to the request. Thank you.

    Hi cPanelMichael, I'm trying to submit a feature request right now with the subject: Work-around for cPanel not updating if /usr has less than 3GB free (as shown in attached screenshot) But it just sits and churns forever. Can you recommend a subject that would be more suitable / friendly with the feature request system? Thank you.
    0
  • david_s5
    I put in a ticket. Went around and around. Then Chris Dillon Technical Analyst III of cPanel, Inc. got involved and gave me the steps to move /usr/local/cpanel into my /home. I am running the update now. I would suggest that Chris publish the steps here to help out others.
    0
  • kernow
    ]Then Chris Dillon Technical Analyst III of cPanel, Inc. got involved and gave me the steps to move /usr/local/cpanel into my /home.

    Can you not post them yourself here?
    0
  • Infopro
    ]I put in a ticket. Went around and around. Then Chris Dillon Technical Analyst III of cPanel, Inc. got involved and gave me the steps to move /usr/local/cpanel into my /home. I am running the update now. I would suggest that Chris publish the steps here to help out others.

    Do you have a ticket ID you could share here please?
    0
  • Infopro
    ]Hi cPanelMichael, I'm trying to submit a feature request right now with the subject: Work-around for cPanel not updating if /usr has less than 3GB free (as shown in attached screenshot) But it just sits and churns forever. Can you recommend a subject that would be more suitable / friendly with the feature request system? Thank you.

    That means it could not find one similar. If the system can't find one similar, you'd add one of your own. Searching for just the term: USR I find many: [url=http://features.cpanel.net/search/USR]Search Results (48) - | cPanel Feature Requests
    0
  • nz50mw
    I had my server setup by EV1 now known as Softlayer a few years ago. The /usr volume was setup by Softlayer for 7.8GB which was Ok for upgrades which required 1.6GB of free space. The /var volume was setup as 9.7GB Overnight the rules changed without any warning except the nag message stating the upgrade now required 3.0GB of free space. I have managed to get 2.9GB of free space which misses the mark. The reason why people like me use CPANEL is for an easy interface as my lack of expertise relies on those who have that knowledge, so please before someone bashes me over the head please remember why we use CPANEL. The solution from Softlayer is an OS re load which right now I can not afford the time or migrate to another server, which right now I don't have the time. Surely CPANEL knew that increasing the free space from 1.6GB to 3.0GB would impact on a lot of users who had their servers provisioned by Softlayer who I understand is a reseller for CPANEL. My question is which has been asked before is what type of non destructive fix is CPANEL going to come up with to resolve this situation which must be affecting a lot of people right now :( I did find this article but not sure if this would work. /http://server-support.co/blog/sysadmin/centos-how-to-fix-cpanel-update-insufficient-disk-space/
    0
  • Infopro
    ]I had my server setup by EV1 now known as Softlayer a few years ago. The /usr volume was setup by Softlayer for 7.8GB which was Ok for upgrades which required 1.6GB of free space. The /var volume was setup as 9.7GB Overnight the rules changed without any warning...

    SoftLayer doesn't offer that sort of Partition Template any longer, not sure if they ever did. .vB An OS reload doesn't make any sense unless you're trying to stay at the same level service as that old server you're on. Setting up a new server and moving over to it, does make sense. Not for this particular situation exactly of course, but hardware gets old. EV merged with SoftLayer over 4 years ago. Grabbing a new server, setting up DNS Clustering, moving accounts over to it, is easier than you might know about. Yes you're going to spend a few bucks in the setup process, but you'll be on a new-er server. The reason why people like me use CPANEL is for an easy interface as my lack of expertise relies on those who have that knowledge, so please before someone bashes me over the head please remember why we use CPANEL.
    The reason these sorts of changes are made to cPanel are due to this comment, exactly. Not to beat you over the head with, or sell more servers for SoftLayer, the reason these changes are made is to keep cPanel easy to use for all of us. Most Hosting Providers understand the concept of moving to newer hardware every few years. I've always gone with the bare metal server minimal partitioning setup. I'm not sure offhand how many servers I've gone thru, moving to newer hardware over the past 10 years or so. But it's not that tough to do. And was always worth the trouble. I'm pretty sure this isn't an option you're interested in, or even reading about, I'm just giving another side of all this.
    0
  • nz50mw
    I have moved servers several times - the last time the IP assigned by Softlayer to the server was previously used by a hacker some years ago which meant that I was blocked from Yahoo which controls the largest ISP in NZ called Spark (ex Telecom) That move took 6 months of attempting to get Yahoo to see sense that I inherited the IP but it appears the larger the organisation the more difficult at times some of these people are to deal with. I had Softlayer batting on my behalf which made no difference. Battles like that I can do without, so one of my main concerns is getting another rouge IP assigned to a new server. The current server is fine at the moment apart from the way it is configured /dev/sda5 8123168 5135596 2979572 64% /usr I'm just shy of the mark as you can see for a future update to work. I have pruned log files and Smym linked some third party folders to home folder which worked and gave me 3.2GB of free space before the upgrade gobbled more space. I will have a look at that option and see of Softlayer will come to the party and this take make sure the IP is clean.
    0
  • nz50mw
    ]I put in a ticket. Went around and around. Then Chris Dillon Technical Analyst III of cPanel, Inc. got involved and gave me the steps to move /usr/local/cpanel into my /home. I am running the update now. I would suggest that Chris publish the steps here to help out others.

    Is it possible to repost the steps involved as this would help others like myself
    0
  • RandallJ
    ]Is it possible to repost the steps involved as this would help others like myself

    Well seems that one only need to copy the directory keeping ownership and permissions intact and the adding a symlink to the new locale? Some one else can try it as I can only guess the damage I would do trying... AND I DO KNOW THIS IS NOT CORRECT>>> DONT TRY IT... some one with brains will fix it :) cp -rp /usr/local/cpanel /home ? verify directory/permissions etc and then do an rm -rf /usr/local/cpanel ? ln -s /home/cpanel cpanel
    0
  • nz50mw
    ]Well seems that one only need to copy the directory keeping ownership and permissions intact and the adding a symlink to the new locale? Some one else can try it as I can only guess the damage I would do trying... AND I DO KNOW THIS IS NOT CORRECT>>> DONT TRY IT... some one with brains will fix it :) cp -rp /usr/local/cpanel /home ? verify directory/permissions etc and then do an rm -rf /usr/local/cpanel ? ln -s /home/cpanel cpanel

    Caution: Symlink method breaks CPanel functionality, plus you would need to stop cPanel before you attempt any changes as processes may be in use. I posted the reference to this link in a post further back but not as an actual link - here it is /http://server-support.co/blog/sysadmin/centos-how-to-fix-cpanel-update-insufficient-disk-space/ It would be good to get some feedback from cPanel especially the method documented by Chris Dillon Technical Analyst III of cPanel. It would good to see if the above method in the link above has any merit and is workable. The last thing you want is a broken CPANEL
    0
  • rockscarfone
    It would seem the 16 gig recommendation was not recomended when the planet and ibm set up our servers with 8.9 gigs. It would seem that cpanel has upgraded the update to require 3 gigs. I have stripped /usr down. Need 700 megs, is there a known directory/files we can transfer to var update and transfer them back? Rock
    0
  • rockscarfone
    WOW first, i apologize for posting a new thread when this was up and running the answer seems to be remove cpanel from usr????? as others have stated our 7 servers that are a few years set up have like 8-9 gig usr dir so, rebuilding does not make economic sense. plus softlayer and others set up our boxes so i doubt it was 16g for usr i read that a user has fixed his/her /usr by transferring cpanel off usr. that would be answer x 7. so, why do we not see the way??????????? thanks in advance
    0
  • Metro2
    ]I put in a ticket. Went around and around. Then Chris Dillon Technical Analyst III of cPanel, Inc. got involved and gave me the steps to move /usr/local/cpanel into my /home. I am running the update now. I would suggest that Chris publish the steps here to help out others.

    Would you please post the steps to the solution that Chris provided for you? I know I could submit a ticket to cPanel to ask for the same information that they gave you, but I'd like to avoid adding to their ticket queue if I can help it. I try to do as much as I can on my own by utilizing information posted here in the forums whenever possible, and I have empathy for any company big or small when it comes to helpdesk ticket queues this time of year. However if I do have to resort to submitting a ticket to cPanel and requesting Chris Dillon specifically to get the same solution, I promise for the benefit of anyone else in this situation that I'll post the solution here. As almost everyone here has probably experienced at some point in their lives - it's extremely frustrating to hit a thread like this seeking help together only to find one of those "I got the solution but I'm not bothering to share it" posts. With that said, I am also surprised that nobody from cPanel has chimed-in with Chris Dillon's solution steps. This is a very frustrating situation. I am of course trying to work with Softlayer and trying to schedule migrating to new servers (despite I just went through that whole thing with them 2 years ago), but that is not feasible or even practical for me to do during the Christmas holiday month. It's not that the migration is too difficult, it does requires a lot of time / planning / resources especially given the fact that a large part of my client base are running e-commerce sites and any minute of downtime during their "holiday sales" will generate discontent and additional load to the already high volume of tickets that this month generates for most of us. I hate to seem such a crybaby over this situation but it really seems unfair to have this occur so unexpectedly during a time when us "little guys" already overloaded with the plethora of "this is my busy season" urgent request tickets from our clients that we work so hard to retain and keep happy. Not to mention the fact that migrating larger accounts that are using SSL certs and dedicated IP addresses are going to each need extra attention and time to assist with. So I'd really just like to have the work-around steps that Chris Dillon provided to david_s5 so that I can get through the holiday with a functional upcp and buy some time to get new servers in place, change my nameserver IP's and hostnames over (I run my own DNS and have my servers in a WHM DNS Cluster) and time to get things like my ConfigServer CSF/LFD and Mailscanner etc... scripts in place on the new boxes before even thinking about migrating accounts. I don't think it's too much to ask for a little consideration for those of us in similar situations here.
    0
  • Infopro
    I have flagged this thread to Chris for comment. Please stand by.
    0

Please sign in to leave a comment.