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.

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

Discussion in 'E-mail Discussions' started by Izkabola, Jan 2, 2005.

  1. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
    #1 Izkabola, Jan 2, 2005
    Last edited: Jan 2, 2005
  2. ntwaddel

    ntwaddel Well-Known Member

    Joined:
    Nov 3, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Templeton, CA
    do rm /tmp/*
     
  3. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Thank you very much!
     
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    humm.. be careful about the mysql sock and the horde log file at /tmp
     
  5. ntwaddel

    ntwaddel Well-Known Member

    Joined:
    Nov 3, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Templeton, CA
    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. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    just touch the horde.log at /tmp. u will need it; else horde might show errors.
     
Loading...

Share This Page