Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    3

    Default importing awstats help

    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. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    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. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    3

    Default

    Quote Originally Posted by Infopro View Post
    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.
    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. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by esipas View Post
    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?
    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.

Similar Threads & Tags
Similar threads

  1. Migrating from enXim and importing awstats data
    By DomineauX in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-28-2010, 01:45 AM
  2. Problem in update of awstats - Problema na atualização do awstats
    By celobusana in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-26-2007, 04:49 PM
  3. Importing Stats
    By keliix06 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-01-2006, 03:25 AM
  4. Importing Accounts
    By orbic1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-10-2005, 02:24 PM
  5. Importing Packages
    By DotAnything.net in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2004, 09:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube