The last attempt to update cPanel & WHM was blocked.

Status
Not open for further replies.

PCZero

Well-Known Member
Dec 13, 2003
718
85
178
Earth
When I logged onto WHM today I saw the error message "The last attempt to update cPanel & WHM was blocked.". When I view the current disk usage in WHM I see this...

/dev/sda3 9.8G 6.9G 2.4G 75% /usr

How do I rectify this situation so I can continue to get updates?


I did search the forums and saw a related thread from a year or o back but it did not offer any help to me.
 

Metro2

Well-Known Member
May 24, 2006
530
76
178
USA
cPanel Access Level
Root Administrator
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:

Code:
# 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

Code:
# 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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.
 

Metro2

Well-Known Member
May 24, 2006
530
76
178
USA
cPanel Access Level
Root Administrator
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.

- - - 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 :(
 

PCZero

Well-Known Member
Dec 13, 2003
718
85
178
Earth
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!

Code:
[COLOR="silver"][SIZE=1]- - - Updated - - -[/SIZE][/COLOR]

[~]# 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"][SIZE=1]- - - Updated - - -[/SIZE][/COLOR]

[~]# 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
 

PCZero

Well-Known Member
Dec 13, 2003
718
85
178
Earth
Code:
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.
 

david_s5

Member
Aug 3, 2005
6
0
151
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?
 

PCZero

Well-Known Member
Dec 13, 2003
718
85
178
Earth
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.
 

david_s5

Member
Aug 3, 2005
6
0
151
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.
 

Metro2

Well-Known Member
May 24, 2006
530
76
178
USA
cPanel Access Level
Root Administrator
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. :(
 

RandallJ

Member
Nov 13, 2012
12
0
51
cPanel Access Level
Root Administrator
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...
 

Metro2

Well-Known Member
May 24, 2006
530
76
178
USA
cPanel Access Level
Root Administrator
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.
 

Attachments

david_s5

Member
Aug 3, 2005
6
0
151
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.
 

Infopro

Well-Known Member
May 20, 2003
17,090
519
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
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?
 
Status
Not open for further replies.