Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

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

  1. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    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:
    166
    Location:
    Templeton, CA
    do rm /tmp/*
     
  3. Izkabola

    Izkabola Well-Known Member

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

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    humm.. be careful about the mysql sock and the horde log file at /tmp
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ntwaddel

    ntwaddel Well-Known Member

    Joined:
    Nov 3, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    166
    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,191
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    just touch the horde.log at /tmp. u will need it; else horde might show errors.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice