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.

Restarted And Tmp Directory Doesn't Exist

Discussion in 'General Discussion' started by Batu, Dec 21, 2005.

  1. Batu

    Batu Member

    Joined:
    Dec 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    i restarted my server and my tmp directory doesn't exist. I mounted but i can't find this directory. I have backups in it. I didn't erase anything. Please say me how it is lost.
     
  2. dropby23

    dropby23 Well-Known Member

    Joined:
    Jan 16, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    if you make a loop drive it sometimes have problems with fedora and centos use the /scripts/securetmp script
     
  3. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    The /tmp directory (as well as /var/run) are "cleaned" by the OS on reboot. I can't say for sure if that applies for your distro, but it seems likely in your case.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. That's what tmpwatch is for and most OS's have a cron job that runs it. That's the whole point of /tmp - it's temporary and you should never store anything in it that isn't.
     
Loading...

Share This Page