#1 (permalink)  
Old 01-29-2004, 09:21 PM
Registered User
 
Join Date: Mar 2003
Posts: 28
Weed
Space Usage?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-30-2004, 06:26 AM
Registered User
 
Join Date: Mar 2003
Posts: 28
Weed
Nobody knows...?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-30-2004, 02:12 PM
Registered User
 
Join Date: May 2003
Location: Switzerland
Posts: 15
thug
nfs?

do you have /home mounted over nfs?
then nothing is displayed for quota.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-30-2004, 02:31 PM
Registered User
 
Join Date: Mar 2003
Posts: 28
Weed
Re: nfs?

Quote:
Originally posted by thug
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.

How would I find that out?

~Weed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-30-2004, 09:24 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
Log in to your server with ssh and enter
/scripts/fixquotas

This may take care of the problem.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-07-2004, 10:26 PM
Registered User
 
Join Date: Mar 2003
Posts: 28
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-07-2004, 11:18 PM
Registered User
 
Join Date: Nov 2003
Posts: 2
Refined-Designs
Quote:
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
It takes a while for it to appear in most cases..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-08-2004, 09:19 AM
Registered User
 
Join Date: Mar 2003
Posts: 28
Weed
Quote:
Originally posted by Refined-Designs
It takes a while for it to appear in most cases..
Yeah, well, how long? I've been waiting 3 days and still haven't seen my space go up.

~Weed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-22-2004, 07:39 AM
ddeans's Avatar
Registered User
 
Join Date: Feb 2004
Location: Maryland
Posts: 302
ddeans
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-23-2004, 09:03 PM
Registered User
 
Join Date: May 2003
Posts: 599
goodmove is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 02-24-2004, 09:12 AM
ddeans's Avatar
Registered User
 
Join Date: Feb 2004
Location: Maryland
Posts: 302
ddeans
What do you mean by:

touch /var/tmp/repquota.txt (it can be any file name and any directory)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-24-2004, 09:44 AM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
That's a shell command to create that file.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-24-2004, 03:53 PM
ddeans's Avatar
Registered User
 
Join Date: Feb 2004
Location: Maryland
Posts: 302
ddeans
I did everything exactly as said, but it did not update my quota's. I gave it about 3 hours.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-25-2004, 12:43 AM
Registered User
 
Join Date: May 2003
Posts: 599
goodmove is on a distinguished road
Quote:
Originally posted by ddeans
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.

Last edited by goodmove; 02-25-2004 at 12:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-25-2004, 05:57 AM
ddeans's Avatar
Registered User
 
Join Date: Feb 2004
Location: Maryland
Posts: 302
ddeans
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:26 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc