Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default What can I safely delete from /usr?

    I got an email warning that my /usr directory was getting pretty close to full and I want to delete some files.

    What is safe to delete from that directory to free up some space?

    Thanks,
    Jay

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default

    *tap, tap*

    This thing on?

  3. #3
    Member
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    179

    Default

    This forum is not a official support forum from cPanel !! You could read that when you registered for this forum.

    So....just wait till someone can or will give a answer on your question and be polite and don't use words like tap tap.

    If you don't know the basics of linux and cpanel/whm just think again if it is smart enough to run your own server.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Senor View Post
    I got an email warning that my /usr directory was getting pretty close to full and I want to delete some files.

    What is safe to delete from that directory to free up some space?
    Empty the content of log files.

    HowTo clone, image, and re-size your Hard Drive(s) and/or partition(s): http://servertune.com/kbase/entry/340/
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  5. #5
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default

    Quote Originally Posted by rone View Post
    This forum is not a official support forum from cPanel !! You could read that when you registered for this forum.

    So....just wait till someone can or will give a answer on your question and be polite and don't use words like tap tap.

    If you don't know the basics of linux and cpanel/whm just think again if it is smart enough to run your own server.
    1) I was waiting for someone to give me an answer. It's why I bumped my thread.

    2) Please do not call me impolite if you don't get the joke about me tapping on a microphone as a polite way to bump my thread.

    3) If I knew all the intricacies about running my own server, I wouldn't need cPanel, now would I?

    4) It was a cPanel question that I thought I could get an answer to on the *gasp* cPanel forums. If I was incorrect, I apologize.

    5) If you have nothing constructive to post in my thread, kindly remove yourself from it. I am looking for an answer to my question; not some smarmy child who think it's his place to police the forums.

  6. #6
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default

    Quote Originally Posted by AndyReed View Post
    Empty the content of log files.

    HowTo clone, image, and re-size your Hard Drive(s) and/or partition(s): http://servertune.com/kbase/entry/340/
    I'm sorry, I don't follow. I didn't find anything pertaining to my question in your link. Could you please elaborate?

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Senor View Post
    I'm sorry, I don't follow. I didn't find anything pertaining to my question in your link. Could you please elaborate?
    /usr partition holds Apache files, including log files. Inspect apache log files.

    cd /usr/local/apache/

    Then run this command to list files in that directory and their sizes:

    du -sh *

    You might find that the logs/error_log or logs/access_log is very large. You can delete these two log files. Other possible solutions:
    1. See if there are any 'core.*' files to delete.

    2. Re-seize /usr partition. Follow the link posted in my previous response. If you are not comfortable with Linux, ask your host. Hope this helps!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  8. #8
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default

    Oh, haha, I misunderstood the point of your link.

    Thanks a ton for the suggestions. I will try them.

Similar Threads & Tags
Similar threads

  1. Safely remove directory /usr/lib/perl5/5.6.2
    By Alek in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-07-2010, 05:32 PM
  2. Clearing partition /usr safely (what can be cleaned out)
    By livewebcs in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-28-2008, 10:09 AM
  3. Replies: 0
    Last Post: 02-26-2007, 04:19 PM
  4. is it safe to delete /usr/sbin/setfiles /scripts/selinux_custom_contexts / ?
    By duranduran in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-15-2006, 03:36 PM
  5. Safe to delete /usr/local/cpanel/logs/stats_log
    By princo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-08-2004, 03:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube