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.

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:
    16
    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:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That will delete all files in the domlogs directory. Nothing else.
     
  3. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    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?
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    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
     
Loading...

Share This Page