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.

importing awstats help

Discussion in 'General Discussion' started by esipas, Jan 30, 2008.

  1. esipas

    esipas Registered

    Joined:
    Jan 15, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello guys, this must of been posted before, but i cannot find anything...

    I am transfering a domain name from another server, and it has 7GB log file, and this is the first time i am using cpanel with my new server...

    Could someone please direct me to where i need to move my log file on the new server and import it so awstats work correctly?

    thanks for your time
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    194
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    awstats files are here in the user account:

    /tmp/awstats

    You might want to check under the "raw access logs" section of cPanel for this user to see if they have "Archive Logs...." ticked. This log is different and can be killed IMHO, it grows much larger than the awstats logs.
     
  3. esipas

    esipas Registered

    Joined:
    Jan 15, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Oh sorry, i have the access log file, from my old server which is 7gig :)

    I have found that the access logs on this new server with cpanel can be found on: /usr/local/apache/domlogs/domain.com

    But in that folder the "new" access log has started, so how would i merge my old file into this new one so it updates after 24hrs without messing anything up?

    And out of curiousity, does cpanel clear the access log files after updating them to awstats by default so the files do not get so big?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This behavior can be controlled in WHM -> Server Configuration -> Tweak Settings -> Stats and Logs by checking/unchecking Delete each domain's access logs after stats run then clicking save at the bottom of the page.
     
Loading...

Share This Page