I am having Virtuozzo vps with cpanel/WHM installed.I have created some accounts in it by setting disk quota . Now the issue is : some users are using space over the allocted one ,when i use the command quota -u (username),i can see that the users are used the space over the allocated one and they are still allowed to upload file . How to fix this issue ?
Code: [root@serwer /]# /scripts/updatenow !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Running updatenow manually may cause /scripts to become out of sync with the cPanel installation. This can cause a variety of problems. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code: [root@serwer /]# /scripts/initquotas Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds! Broadcast message from root (Tue Jul 17 19:47:41 2007): Warning! The system is about to perform quota maintenance. All users will be logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may inadvertantly disable your account. jailshell: no process killed Quotas are now on
Code: [root@serwer /]# /scripts/fixquotas Installing Default Quota Databases......Done Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds! Broadcast message from root (Tue Jul 17 19:49:17 2007): Warning! The system is about to perform quota maintenance. All users will be logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may inadvertantly disable your account. No filesystems with quota detected. Resetting quota for adamkaro to 1024 M No filesystems with quota detected. Resetting quota for adammore to 1024 M No filesystems with quota detected. Resetting quota for adamna to 1536 M No filesystems with quota detected. Resetting quota for adasmp3 to 1024 M
I'm running a VPS, it sounds weird but its more like a learning lab I bought to help me get better skills in linux environment, so far I've learned a bit more in BIND and apache.
I use the panel webmin, I tried setting a mount but it didn't work.
The mounted devices output this:
simfs on / type simfs (rw) tmpfs on /lib/init/rw type tmpfs (rw,nosuid) proc on /proc type proc (rw,nosuid,nodev,noexec) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec)
Now, that struck me is that other VPSes that have CentOS with cpanel has their disk quota installed already. (That includes directadmin and lxadmin)
Has anyone ever run into this before? We are running into issues with one of our hosting servers, it claims that the /tmp folder has exceeded the disk quota but when you actually go to the /tmp folder it's not at all.
Here are the outputs:
# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 60G 2.4G 58G 4% /
But it still gives a PHP error saying /tmp disk quota exceeded until I completely empty the folder and then it works for a few hours and does the same thing.
In the old server we received an email alert when quota is near 80% and 100%.. now (new server) we haven't received nothing and our isp say that is not possible ...?
we have whm and notifications check is all cehcked.
I've been allocated additional disk space by my host, but can't seem to use it -- the existing (original) Account quota won't update.
I've tried changing the quota for the existing Package, as well as creating a new package with the desired quota and 'upgrading' the Account to the new Package, but the Account's quota remains the same.
It's as tho' the Account quota value is cached somewhere, and isn't getting refreshed.
I have had over 4 different VPS providers and in all of them, I was always using less than 5 gigs and most of it is from the OS and the VPS files, my website is less than 400 megs of size including the backups. For some reasons, my Disk Quota is at 8.3 gigs and it was at 8.2 gigs yesterday. My website's files are not that big and the Database is like 30 megs and the backups are compressed so they are like 4 megs. The problem is that I really don't know what files are making my Disk Quota to go up since I haven't uploaded anything or download files to my VPS.
how can setup a monthly bandwidth quota for unix users ? Is there any tool that can measure the in/out bandwidth for all /home/* directories ? For eg if a user wget a file of 150mb , i should be able to track it. I want also to track bandwidth for a user, using dynamic port forwarding via putty.exe.
if the number of Mysql databases or email accounts on one account has any issue on the quota (hard disk) that I offer to my customers. I'm suggesting More databases will take more space but I need clarification.
We have a lot of server with Plesk Panel 30 domains.We have migrated a website with a 2 Go disk space quota on a virtual server with Web Admin Plesk Panel License. So, we don't have field (or we don't find...) to update this value (or delete it). The website disk usage is now 2.1 Go. Every day, we have an email alert.
An automatic backup in plesk has filled up the disk space in my VPS. It seemed to crash first of all - couldn't access my website, then i tried to restart it. It wont restart and comes up with the error below.
As i can't get into plesk i don't know how to delete these old backup files, seem to be in a catch 22. Help
Jul 17, 2008 01:05:33 PM Start Process Completed Jul 17, 2008 01:05:33 PM Click here to open/close operation details.Start VPS #48606643 Failed Jul 17, 2008 01:05:33 PM Operation start with the VPS(s) VEID48606643 is started. Jul 17, 2008 01:05:33 PM Starting VE ... Jul 17, 2008 01:05:33 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] Jul 17, 2008 01:05:33 PM VE is mounted Jul 17, 2008 01:05:33 PM Setting devperms 20002 dev 0x7f00 Jul 17, 2008 01:05:33 PM Setting devperms 20007 dev 0xac8 Jul 17, 2008 01:05:33 PM Adding port redirection to VE(1): 4643 8443 Jul 17, 2008 01:05:33 PM Adding IP address(es): 212.227.251.151 Jul 17, 2008 01:05:34 PM ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0 Jul 17, 2008 01:05:34 PM bash: line 264: echo: write error: Disk quota exceeded Jul 17, 2008 01:05:35 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] Jul 17, 2008 01:05:35 PM VE is unmounted Jul 17, 2008 01:05:35 PM VE start failed Jul 17, 2008 01:05:35 PM Operation start with the VPS(s) VEID48606643 is finished with errors: #1004 Error invoking vzctl utility: Starting VE ... vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is mounted Setting devperms 20002 dev 0x7f00 Setting devperms 20007 dev 0xac8 Adding port redirection to VE(1): 4643 8443 Adding IP address(es): 212.227.251.151 ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0 bash: line 264: echo: write error: Disk quota exceeded vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is unmounted VE start failed . Failed Jul 17, 2008 01:05:35 PM Complete Process Failed
we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.
So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.
Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?
I have a new CentOS 7, with Plesk 12, CentOS 7 by default has XFS filesystem.
I try migrate sites from another Plesk Server but Plesk agent say: "hard disk quota is not supported due to configuration of server file system" (my CentOS 7)
I added "usrquota,grpquota", then mount -o remount / ; but when I try quotacheck -fmv / I gest this:
[root@ns ~]$ quotacheck -fmv / quotacheck: Skipping /dev/mapper/centos-root [/] quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
but quotaon command works:
[root@ns ~]$ quotaon / quotaon: Enforcing group quota already on /dev/mapper/centos-root quotaon: Enforcing user quota already on /dev/mapper/centos-root
The problem here is why Plesk does not recognize quotas as enabled on CentOS 7??
I am having problems with two accounts, I get the following errors:
Code: Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded
how can i create directories in my (public_html / htdocs folder) that have disk space and traffic quota?
i activated the disk quota to the native linux file system and i tried to create a user but i could not put this user in any folder in the public_html (i dont know how to do this) also there is no option to create bandwidth quota..
one more detail is that the folders need to be protected with login and password because people may try to enter this folders (e.g. www.mydomain.com/protectedfolder)
all this using webmin or another free good script.
We have a questions for everyone and any help would be greatfull, we are looking to limit disk inodes on a per user basis or server wide. we would like to know if anyone ca referance us as to how this is accomplished.