Hello There, Guest! Login Register
Logo
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.


[FIX] /scripts/fixquotas issue in cPanel/WHM server

  • 1 Vote(s) - 1 Average


12-01-2013, 11:47 PM #1
1337 Offline Don't PM me for help, post it on forum ! *******
Administrators
Posts:524 Threads:106 Joined:Jun 2012 Reputation: 21
Mood: Hacker
Problem: The quota alloted for each account seems unlimited when you check Main >> Account Information >> List Accounts from WHM.

When run /scripts/fixquotas to correct the quotas for each website, You may get the following error.

#/scripts/fixquotas

Installing Default Quota Databases......Done
Quota Mode: Linux
journaled quota support: not available with vzaquota (disabled)
Quotas have been enabled, however they may not be up to date as quotacheck has been skipped.
Reading package *****
No filesystems with quota detected.
Resetting quota for ***** to 1024 M
Reading package *****
No filesystems with quota detected.
Resetting quota for ***** to 2048 M
Reading package *****
No filesystems with quota detected.
Resetting quota for ***** to 512 M


SOLUTION:

If it is an openvz container and you have node access you can fix it simply by doing the below steps.

1. Login to the Hardware Node containing the particular container/vps

2. Shutting down the container/vps
# vzctl stop CT_ID

3. Adding the quotaugidlimit for the VPS using the command
# vzctl set 101 --quotaugidlimit 80 --save
Forexample here CT_ID is 101 and Disk Space for VPS is 80GB.

4. starting/mounting the container/vps
# vzctl start CT_ID

5. running /scripts/fixquotas
# /scripts/fixquotas

Thats it. Please check again Main >> Account Information >> List Accounts from WHM and verify the result.

[Image: 28jeale.jpg]
[Image: 2mzgpld.jpg]
------------------------------------------------
[#] CodeName: 1337
[#] Email: [email protected]
[#] Zone-H: http://zone-h.org/archive/special=1/notifier=1337
[#] Facebook: https://www.facebook.com/MaDLeeTs.phtm

-------------------------------------------------

[Image: o8rq6s.jpg]






Forum Jump:


Users browsing this thread:1 Guest(s)