VPS Disk Space full

Discussion in 'Site & Server Administration' started by ska_defender, Jun 24, 2010.

  1. #1
    Hello
    I am using SolusVM as a control panel on my VPS and installed Kloxo on it
    but now my disk is 100%full
    I dont know why may be because of log files
    now I am unabe to access kloxo and also there is no file manager in SolusVM so that I remove those files
    how I restore access to Kloxo and delete those files to emply my disk space?
    Please advice
     
    ska_defender, Jun 24, 2010 IP
  2. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #2
    If the control panel is not accessible due to disk space issue, you either need to increase the disk space from the host server OR ssh to your VPS and empty some log files. To empty the log files, ssh to your server as root and goto the directory where most of the log files are kept.

    then execute

    You can also remove the rotated log files (i.e. .tar.gz OR .gz ones) by using the 'rm' command:

     
    madaboutlinux, Jun 24, 2010 IP
  3. ska_defender

    ska_defender Well-Known Member

    Messages:
    590
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Thanks I did the same and my disk space is now empty
    but still I am unable to access Kloxo
    Page not found Error is there
    BTW your blog is very nice!
     
    ska_defender, Jun 24, 2010 IP
  4. abiko

    abiko Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would suggest that you scan your VPS for disk usage, you can open a screen and run it there:

    # screen
    # du -hs /*
    Code (markup):
    Also an easy way to find big files:

    Example :
    Find a file larger than 1 GB and use "ls -lah" to dispaly it and it's permissions:
    find /var/log -type f -size +1G -exec ls -lah {} \;
    Code (markup):
    Find a file larger than 100 Mb
    find /var/log -type f -size +100M -exec ls -lah {} \;
    Code (markup):
    But I would recommend that you make the a full server scan for disk usage
     
    abiko, Jun 24, 2010 IP
  5. ska_defender

    ska_defender Well-Known Member

    Messages:
    590
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Many thanks I will try these
     
    ska_defender, Jun 24, 2010 IP