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.

Disk Space problem

Discussion in 'General Discussion' started by silvernetuk, Apr 15, 2003.

  1. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    I have a problem with one of my clients account it saying they used 177.93MB when there account limit is 50MB see below for details from CPanel below:

    Disk usage 177.93 Megabytes
    SQL Disk usage 0.17 Megabytes
    Bandwidth usage (current month) 23.39 Megabytes
    Disk space available -127.93 Megabytes

    I have try /scripts/fixquotas
    and this hasn't fixed it does anyone know the answer tp this problem

    Regards,
    Garry
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    It could be that there are files elsewhere on the server with his uid listed against them. This can happen when for example a new software is unpackaged and the uid's that the package has match a current user.

    The hard part is hunting down the files.
     
  3. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    Where do I start ? and would it be easier to change the uid for the account ?

    Regards,
    Garry
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    From / run the following

    find -user username |more

    this will list all files and directories owned by that user over the entire server.

    replace username with the correct uid
     
  5. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    It show all the user files plus

    ./usr/src/linux-2.4.20/ (I think everything in here)

    Regards.
    Garry
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Okay, go into /usr/src and chown everything

    cd /usr/src

    chown -R root:root linux-2.4.20


    Done.
     
  7. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    Thank you now fixed

    Regards,
    Garry
     
  8. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Thanks, that fixed my problem as well. Clearly caused by the recent kernel upgrade. I can remember the quota system being "broken" thereafter and having to run fixquotas.

    Thanks again! :)
     
  9. SoftmegUK

    SoftmegUK Well-Known Member

    Joined:
    Feb 13, 2002
    Messages:
    372
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Dug this up, but it helped me fix my problem to, as I just got it on a new server :D

    cPanel.net Support Ticket Number:
     
  10. silentcircuit

    silentcircuit Active Member

    Joined:
    Nov 19, 2002
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    I am running a BSD server so obviously there is no linux file to chown, there is also no file with a free or bsd type name to chown. Anyone know what file I would fix for this?

    Thanks

    cPanel.net Support Ticket Number:
     
  11. tlp

    tlp Well-Known Member

    Joined:
    Jan 9, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page