The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

the strange 32mb

Discussion in 'General Discussion' started by dragon2611, May 20, 2004.

  1. dragon2611

    dragon2611 Well-Known Member

    Joined:
    Nov 30, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    One of our resellers is having a problem with cpanel when he creates a new account it says that 32mb of the new accounts space has been used yet the customer hasn't uploaded anything.

    also checking disk space icon it doesn't add up to 32mb more like 2mb :confused:
     
  2. projectandrew

    projectandrew Well-Known Member

    Joined:
    Aug 27, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    It sounds as some files elsewhere on the filesytem are owned by that user - I've had the problem before.

    The following command should help you find the files:

    find / -user cpanelusername > files.txt
    pico files.txt

    Then just browse through the file and see if any files are owned by the user outside his home directory and correct as necessary.
     
  3. dragon2611

    dragon2611 Well-Known Member

    Joined:
    Nov 30, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    thanks ill pass that on to our server admin and see if they can find the mystery 32mb
     
  4. Bart™

    Bart™ Member

    Joined:
    Feb 18, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Booyah Dragon.

    Will check when I'm home from school.
     
  5. Bart™

    Bart™ Member

    Joined:
    Feb 18, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Well I tried that.. and this is what happened:

    root@cpanel [~]# find / -user devteam > files.txt
    find: /proc/3361/fd/4: No such file or directory

    Stayed like that until i ctrl + c'd it.

    Ideas?
     
  6. projectandrew

    projectandrew Well-Known Member

    Joined:
    Aug 27, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Looks like there are not any other files against that username - when it starts to search /proc file system it will return errors anyway.

    Try doing a search on another user where you know files exist, so you can see what should be returned.
     
  7. dragon2611

    dragon2611 Well-Known Member

    Joined:
    Nov 30, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    well made another account using the resellers login and it had this mystery 32mb also :confused:
     
  8. Bart™

    Bart™ Member

    Joined:
    Feb 18, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    I ended up asking SM (servermatrix) in the end.

    Here is the fix for anybody that might get it in the future:

    ------------------------------------------
    (lreese-05/23/04-08:33):
    The reason this is taking place is because there are quite a few files in the following directory (including the directory) which are owned by the user '*****'. cPanel obtains it's quota usage reports directly from linux, which is for the whole system. The folder is shown below:

    /home/cpins/installd/buildapache/php-4.3.3

    You may either be able to remove the directory or use 'chown -R root:root php-4.3.3' to move ownership to root.


    There we go. :D
     
  9. projectandrew

    projectandrew Well-Known Member

    Joined:
    Aug 27, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
Loading...

Share This Page