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.

Help with Cron Command for /var/tmpDSK

Discussion in 'General Discussion' started by panda_doodle, Sep 20, 2014.

  1. panda_doodle

    panda_doodle Registered

    Joined:
    Sep 20, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I know been asked before as this is how I found the forum :)

    I've had issues with one of the server with root becoming full, I've managed to sort out exim table, delete over 2gb of wordpress spam comments which has helped and cleaned out the tmp folder. All fine.

    I've installed tmpwatch but now I can't seem to figure out how to create the cronjob to clean out older files within

    /var/tmpDSK/

    I'm not 100% this is the correct folder either as on trying to explore it I get unable to find or incorrect folder however the size of it sits at 4.2GB! So id like to empty it or at least remove all files that are older than 48 hours, any help would be great.
     
  2. panda_doodle

    panda_doodle Registered

    Joined:
    Sep 20, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Ok I managed to figure this out but now I got an error when trying to manually clean it up


    root@*******1 [~]# /usr/sbin/tmpwatch -umc 10 /usr/tmpDSK
    error: directory /usr/tmpDSK changed right under us!!!
    error: this indicates a possible intrusion attempt

    Any ideas?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page