Quotas - Accounts Created With Unlimited Disk Space (XFS only?)

zinlimites

Registered
May 8, 2016
1
0
1
lima peru
cPanel Access Level
Root Administrator
Code:
Installing Default Quota Databases......Done
journaled quota support: not available with vzaquota (disabled)
checking out /backup
checking out /backup
Quotas have been enabled and updated.
Reading package Pixel
No filesystems with quota detected.
Can't locate object method "new" via package "Cpanel::Quota::Filesys" (perhaps you forgot to load "Cpanel::Quota::Filesys"?) at /usr/local/cpanel/Cpanel/cPQuota.pm line 29.
Resetting quota for daniel to 500 M
Can somebody help me? when I create an account, unlimited disk space is created
 
Last edited by a moderator:

SteveK

Active Member
Apr 21, 2016
26
1
3
Canada
cPanel Access Level
DataCenter Provider
Same error here too..

Can't locate object method "new" via package "Cpanel::Quota::Filesys" (perhaps you forgot to load "Cpanel::Quota::Filesys"?) at /usr/local/cpanel/Cpanel/cPQuota.pm line 29.
 

Mrg

Member
Feb 8, 2012
16
0
51
cPanel Access Level
Root Administrator
Same here:
Can't locate object method "new" via package "Cpanel::Quota::Filesys" (perhaps you forgot to load "Cpanel::Quota::Filesys"?) at /usr/local/cpanel/Cpanel/cPQuota.pm line 29

can i download the cpanel quota package manualy?
how to fix?
 

weeming21

Active Member
Jun 13, 2015
26
0
51
Malaysia
cPanel Access Level
Root Administrator
same problem here
since may 4 update, all the new account quota become unlimited, and can not be changed

ls -la /usr/local/cpanel/Cpanel/cPQuota.pm
-rw-r--r--. 1 root root 2625 May 4 21:58 /usr/local/cpanel/Cpanel/cPQuota.pm
 

cPMatthewV

Quality Assurance Analyst
Staff member
Apr 11, 2014
21
16
128
Houston, Tx
cPanel Access Level
Root Administrator
Hello,

We are aware of this behavior and have filed case CPANEL-6031 to address this. We are presently working on fixing this and releasing it in a future update. Unfortunately we do not have an ETA on when this will be released.

I would recommend reviewing our changelog to see when it is published. You can do so from the link in my signature.

If you have further questions on this or need additional help with this I would recommend opening a support ticket so our Technical Support team can assist you further. Please reference the case above when submitting your ticket.
 

Hostmavi

Member
Mar 10, 2009
16
3
53
cPanel Access Level
Root Administrator
Hello,

We are aware of this behavior and have filed case CPANEL-6031 to address this. We are presently working on fixing this and releasing it in a future update. Unfortunately we do not have an ETA on when this will be released.

I would recommend reviewing our changelog to see when it is published. You can do so from the link in my signature.

If you have further questions on this or need additional help with this I would recommend opening a support ticket so our Technical Support team can assist you further. Please reference the case above when submitting your ticket.

Hallo Matthewv


I am also getting the same error.

ther is allready a fix for the case CPANEL-6031

i can see in 58 Change Log -->>> version 11.57.9999.48

•Fixed case CPANEL-6031: Ensure Cpanel::cPQuota loads Cpanel::Quota::Fileys.


but no fix in the 56 change log
Pls add the fix in 56 too.

Regards
 
  • Like
Reactions: SteveK

denial_3

Member
Jan 17, 2009
6
1
53
we really need this fix now!!!

all account are marked "unlimited" nad the used space is wrong... accounts that use 2GB now show 5MB T_T
 
  • Like
Reactions: SteveK

cPMatthewV

Quality Assurance Analyst
Staff member
Apr 11, 2014
21
16
128
Houston, Tx
cPanel Access Level
Root Administrator
Hello,

Apologies for not getting back sooner. This was published this morning to 56.0.16 as well and can be fixed by running /scripts/upcp now or waiting for the servers to update overnight. It took a little longer than the edge build due to waiting on the TSR update first.

If you continue having issues please contact our Technical Support team.

Regards
 

denial_3

Member
Jan 17, 2009
6
1
53
after apply the update, the problems persist, my provider have to help me... and find that deleting "simfs" from /var/cpanel/noquotafs fixed the problem.
 

cPanelSteven

Technical Analyst
Staff member
Oct 20, 2009
10
1
128
If you are having the same issues after your server has been updated to the build which contains the fix "WHM 56.0 (build 16)", I would recommend opening a support ticket so our Technical Support team can assist you further. Please reference the case above when submitting your ticket.

Best Regards,
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
The exception in resetquotas only happens at the end of a successful run (thats fixed in CPANEL-6031). This error can be ignored as its likely a spurious one.

It looks like the real issue is a problem with the underlying quotactl system call (which is used in more places in v56) for XFS (Q_XGETQUOTA) returning ENOENT when there is no usage data for a user (ext3,ext4 use the Q_GETQUOTA flag which does not behave this way). A solution for this is being created in CPANEL-6189

If you are experience this problem, would you please post the output of the following command so we can ensure this is an XFS issue:

Code:
mount | grep xfs
Also please check to make sure quotas are not disabled on the filesystem in:

Code:
cat /var/cpanel/noquotafs
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
To update, the resolution stemming from CPANEL-6189 (mentioned in the previous response) was released as part of cPanel 56.0.18:

Fixed case CPANEL-6189: Normalize the return values from Quota::query on XFS.

Thank you.