For some reason, none of the cpanel accounts I create show any space used. I know that someone has uploaded at least 100megs in files.
My server was just set up yesterday.
~Weed
For some reason, none of the cpanel accounts I create show any space used. I know that someone has uploaded at least 100megs in files.
My server was just set up yesterday.
~Weed
do you have /home mounted over nfs?
then nothing is displayed for quota.
I wouldn't know... It was set up for me by managed.com.Originally posted by thug
do you have /home mounted over nfs?
then nothing is displayed for quota.
How would I find that out?
~Weed
Log in to your server with ssh and enter
/scripts/fixquotas
This may take care of the problem.
That does work, through SSH and WHM... it will update the numbers correctly, but it won't continue to.
Should I upload a 50MB file, the server won't increase space used until I run that script again..
Any idea what could be causing this?
~Weed
It takes a while for it to appear in most cases..Originally posted by Weed
That does work, through SSH and WHM... it will update the numbers correctly, but it won't continue to.
Should I upload a 50MB file, the server won't increase space used until I run that script again..
Any idea what could be causing this?
~Weed
Yeah, well, how long? I've been waiting 3 days and still haven't seen my space go up.Originally posted by Refined-Designs
It takes a while for it to appear in most cases..
~Weed
I am having the same problem with this and managed.com. I asked them to fix it and they said there was nothing they could do. They don't support cPanel. They will tell you to e-mail softwareworks.com.. Another member suggested to me to use cron and run /scripts/fixquotas daily. Seems to work okay and I don't have to work with managed.com maybe it's a solution you could try. unless you got it fixed already?
Do these steps after running /scripts/fixquotas :
1. touch /var/tmp/repquota.txt (replace /var/tmp and repquota.txt with any directory and file name of your choice; make sure the file path matches the one you put in the crontab). The touch command creates an empty file.
2. Put this at the end of /etc/crontab:
0-59/5 * * * * root repquota /home > /var/tmp/repquota.txt 2> /dev/null &
Save the changes in the crontab and your quotas will be updated every 5 minutes. You can change the frequency if you want.
For more info on crontab type: man 5 crontab
The above assumes your users are in /home.
This is the tidied up code (copy and paste):
Code:touch /var/tmp/repquota.txt pico -w /etc/crontab 0-59/5 * * * * root repquota /home > /var/tmp/repquota.txt 2> /dev/null & Save the changes!
Last edited by goodmove; 02-25-2004 at 12:54 AM.
What do you mean by:
touch /var/tmp/repquota.txt (it can be any file name and any directory)
That's a shell command to create that file.
I did everything exactly as said, but it did not update my quota's. I gave it about 3 hours.
I put some additional comments in my post and reorganized the steps.Originally posted by ddeans
I did everything exactly as said, but it did not update my quota's. I gave it about 3 hours.![]()
Last edited by goodmove; 02-25-2004 at 12:46 AM.
I wen't back and did it all again. Deleted a bunch of files off the server. Waited about 2 hours or so. nothing changed. you think it's my server or something?