Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    58

    Default How can I delete /tmp and /var/tmp files?

    Hello,

    I was talking to my dedicated provider and they told me to delete all files in /tmp and /var/tmp. Where are these folders found, and what SSH command would I use to delete them? They are all full and I really need help!

    Thanks in advanced!!!

    EDIT:

    I tired
    Code:
    rm -rf /tmp
    however it gives me the message device or resource busy.
    Last edited by Izkabola; 01-02-2005 at 01:47 AM.

  2. #2
    Member ntwaddel's Avatar
    Join Date
    Nov 2003
    Location
    Templeton, CA
    Posts
    173

    Default

    do rm /tmp/*

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    58

    Default

    Thank you very much!

  4. #4
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    humm.. be careful about the mysql sock and the horde log file at /tmp

  5. #5
    Member ntwaddel's Avatar
    Join Date
    Nov 2003
    Location
    Templeton, CA
    Posts
    173

    Default

    yeah i dont know why they told you to delete everything in there. but anyways, if you do delete the mysql sock file, you will probably have to restart the mysql daemon to get it to recreate the sock file. I dont know about the horde log, but i imagine it will get recreated.

  6. #6
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    just touch the horde.log at /tmp. u will need it; else horde might show errors.

Similar Threads & Tags
Similar threads

  1. mysql failed - i change size of /tmp /var/tmp use this command
    By dlthhost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-13-2007, 04:39 AM
  2. Can I Delete These AWSTATS .tmp files?
    By Jason Brice in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-31-2006, 10:03 AM
  3. How to Delete TMP files
    By PerVisHost in forum E-mail Discussions
    Replies: 5
    Last Post: 09-07-2004, 10:37 AM
  4. Hacks in /tmp and var/tmp
    By shellie in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-04-2003, 04:29 PM
  5. Delete files from /tmp? Which ones?
    By Constantin in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-30-2003, 03:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube