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.

Flush history file on disk

Discussion in 'General Discussion' started by xanaxpills, Aug 20, 2004.

  1. xanaxpills

    xanaxpills Member

    Joined:
    Jan 4, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    :: Flush history file on disk ::


    I got this error message. Anyone know how to do this ? Or what it actually does?

    Thanks
     
  2. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    This message is common when you have a large log file in /usr/local/apache/domlogs

    Just got to that directory, and type: ls -l

    If you have a large files just type >nameoffile

    After in your WHM, go to "Tweak settings" and ckeck the box "Delete each domain's access logs after stats run"
     
  3. xanaxpills

    xanaxpills Member

    Joined:
    Jan 4, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    now would that mean that it won't keep a running history of that accounts stats. Just tabs what has happened from the last time you ran your stats update ?
     
  4. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    You will keep the history of the stats in your configuration stats files (awstats, webalizer, etc.) not all the logs.

    In my opinion you don´t need the log files after the stats have been created, then is ok to delete them.

    Of course whereas the statistics don't run, you'll have your log files intact.
     
  5. xanaxpills

    xanaxpills Member

    Joined:
    Jan 4, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    ohh ok i understand...

    thanks for your help man..
     
Loading...

Share This Page