Difference between revisions of "Cpanel quotas"
m (Added to troubleshooting cat.) |
m (cpanel wiki) |
||
Line 12: | Line 12: | ||
for x in `find /proc/vz/vzaquota/ | tail -1 | xargs find | tail -2 `; do ln -s $x /; done | for x in `find /proc/vz/vzaquota/ | tail -1 | xargs find | tail -2 `; do ln -s $x /; done | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | == Related pages == | ||
+ | * [http://cpwiki.org cpWiki] - a wiki about cPanel | ||
[[Category: Troubleshooting]] | [[Category: Troubleshooting]] |
Revision as of 01:22, 16 January 2007
WHM/Cpanel, a popular commercial web-based control panel for Linux, has a tendency to overwrite the special quota files in the VPS context. I am referring to:
lrwxr-xr-x 1 root root 39 Jun 8 17:27 aquota.group -> /proc/vz/vzaquota/00000073/aquota.group lrwxr-xr-x 1 root root 38 Jun 8 17:27 aquota.user -> /proc/vz/vzaquota/00000073/aquota.user
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 VPS as root:
rm -rf /aquota.user 2>/dev/null rm -rf /aquota.group 2>/dev/null unlink /aquota.user 2>/dev/null unlink /aquota.group 2>/dev/null for x in `find /proc/vz/vzaquota/ | tail -1 | xargs find | tail -2 `; do ln -s $x /; done
Related pages
- cpWiki - a wiki about cPanel