Portal Home > Knowledgebase > Articles Database > CPanel/OpenVZ Quota Problems
CPanel/OpenVZ Quota Problems
Posted by Squidix - SamBarrow, 03-13-2011, 12:54 AM |
I've refused to use OpenVZ for the last few years, and always used Xen. Well the other day I decided to give OpenVZ one more chance and it's a complete disaster.
First I got a ton of quota errors for reaching my inode limit, finally got them to up my inode limit. But I'm still getting the errors! I have plenty of disk space, and another 50,000 inodes available at least.
This is what happens when I try to restore a cpanel backup file using /scripts/restorepkg:
tar: ./public_ftp: Cannot mkdir: Permission denied
tar: ./public_html: Cannot mkdir: Permission denied
tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Error exit delayed from previous errors
Cannot write to /home/cucrysta/.gemrc: Permission denied at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/YAML/Syck.pm line 108.
/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-all-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-ftp-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net-all-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-smtp-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-http-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-all-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-ftp-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net-all-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net-http-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-http-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-smtp-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-imap-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-pop3-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net-http-rate.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-pop3-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta-imap-peak.rrd': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/cucrysta': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net': Disk quota exceeded/bin/chgrp: changing group of `/var/cpanel/bandwidth/c2u.crystalserve.net': Disk quota exceededDone
/bin/gtar: ./www: Cannot create symlink to `public_html': Permission denied
/bin/gtar: ./tmp: Cannot mkdir: Permission denied
/bin/gtar: ./tmp/awstats: Cannot mkdir: No such file or directory
Then about 100 more permission denied errors. It restores the account but their home dir is empty.
|
Posted by Squidix - SamBarrow, 03-13-2011, 01:08 AM |
Okay I've figured out all that is caused because it can't chown the users home dir to the user.
I tried to do the chown manually and got "disk quota exceeded"
The directory is empty though, that's what's got me stuck. I can't even chown a blank text file, says disk quota exceeded.
I ran quotaoff -a too, no luck
|
Posted by asciiDigital, 03-13-2011, 01:18 AM |
cat /proc/vz/vzquota
what does that show?
|
Posted by Squidix - SamBarrow, 03-13-2011, 01:25 AM |
cat: /proc/vz/vzquota: No such file or directory
|
Posted by Squidix - SamBarrow, 03-13-2011, 01:26 AM |
The only files in /proc/vz are veinfo and vestat, nothing useful in them either.
|
Posted by Squidix - SamBarrow, 03-13-2011, 01:31 AM |
Figured it out! Had to get them to increase quotaugidlimit
|
Posted by HostXNow_Chris, 03-13-2011, 06:56 AM |
Good stuff.
|
Posted by Helmi Githe, 03-13-2011, 07:51 AM |
thanks dude
|
Add to Favourites Print this Article
Also Read