Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Cpanel quotas

296 bytes removed, 14:29, 23 June 2015
removed dead link
The result of these being overwritten will be WHM showing "unlimited" quota reports for all users in the system. An quick solution to this is to run these commands from within the VE as root:
<pre>
rm -rf f /aquota.user 2>/dev/nullrm -rf /aquota.group 2>/dev/nullunlink /aquota.user 2>/dev/nullunlink f /aquota.group 2>/dev/null
for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done
</pre>
== External links ==
* [http://cpwikiforums.org cpWikicpanel.net/f5/fixquota-script-error-46270.html] - a wiki about cPanelfixquota script error, Thanks to David from Cliffsupport
[[Category: Troubleshooting]]
 
 
root@s [~]# rm -rf /aquota.user 2>/dev/null
root@s [~]# rm -rf /aquota.group 2>/dev/null
root@s [~]# unlink /aquota.user 2>/dev/null
root@s [~]# unlink /aquota.group 2>/dev/null
root@s [~]# for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done
find: /proc/vz: No such file or directory