Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2004, 02:47 AM
Registered User
 
Join Date: Dec 2003
Posts: 5
John K
Exclamation "Space Used" in WHM "Accounts List" shows an incorrect information

WHM "Accounts List" shows 625 Meg in "Space Used" field, but the size olny of "public_html/mp3" is 889.46 Meg and the real size of accounts home dir is 1006 Meg. I have noticed this problem a long time ago and now it is not solved. Why?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-02-2004, 03:32 AM
linux-image's Avatar
Registered User
 
Join Date: Jun 2004
Location: India
Posts: 1,175
linux-image is on a distinguished road
/scripts/quotacheck

that must help.
__________________
linux-image
AIM: "tux image"
Msn: "tux_image@hotmail.com"
Yahoo: "masternikx"

http://admin-ahead.com
Open Tickets: https://www.ticketforge.com
FAQ's: http://scriptmantra.info/

Tips: http://tips.admin-ahead.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2004, 06:59 AM
Registered User
 
Join Date: Dec 2003
Posts: 5
John K
Question

I have tried it few times but it doesn't help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-04-2004, 09:26 AM
Registered User
 
Join Date: Oct 2001
Posts: 92
Damian
Check the ownership of the files located in the mp3 directory.

If they aren't owned by the account user then they will not count towards the used space. The WHM/Cpanel count only includes files owned by the user.

Most likely these files were uploaded via a script, and if they were they will take the same owner details from under which the script was run. If you are not running suexec or phpsuexec then the user will be 'nobody' (the user under which Apache runs).

There's a couple of things you can do to get around this.

Either enable suexec and phpsuexec so that all scripts run under the user (not an option to consider lightly - be sure to read up on the pros and cons) or set a cron job to periodically (as you see fit) change the ownership of files in this directory to that of the account owner.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-11-2004, 09:35 PM
Registered User
 
Join Date: Jul 2004
Posts: 24
supportbytes is on a distinguished road
Have you tried /scripts/fixquotas ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-12-2004, 01:39 AM
Registered User
 
Join Date: Dec 2003
Posts: 5
John K
Wink

I have changed the ownership of the files located in the public_http directory and now it works correctly.

Thank you all for help.
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 05:58 AM.


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