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!

rm –f /usr/local/apache/domlogs/*

Discussion in 'EasyApache' started by ivaserver, Feb 10, 2003.

  1. ivaserver

    ivaserver Well-Known Member

    Joined:
    Aug 9, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    166
    Hi Could anyone tell me exactly what files are deleted when i run the command rm –f /usr/local/apache/domlogs/*

    I am a bit worried just in case this deletes stats or something

    Thanks
    Ivaserver
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    That will delete all files in the domlogs directory. Nothing else.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    That would not be a good thing -- would it?

    As that's where vital information is for each account, would not deleting part of the file be better than deleteing the whole thing?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    You can safely delete them at a month end when the stats for that month have been fully done. Timing though is everything, you could lose a few stats for the users if you wait to long. I agree with Rob, truncate the top of the files
     
    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