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.

Awstats for reseller accounts

Discussion in 'General Discussion' started by alexh_neq, Jun 16, 2014.

  1. alexh_neq

    alexh_neq Member

    Joined:
    Jun 16, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi there,

    I have been trying to track down in the docs an explanation of awstats as they apply to the sub-accounts set up by resellers.

    I've read conflicting information that resellers perhaps cannot generate these stats per site? Is that true?

    The reason i'm asking is, at present we have a reseller who is unable to generate awstats/webalizer/analog stats for one of his sites, despite the fact that all three log engines are enabled in WHM, and are also enabled for this site.

    We unlocked the engines in WHM (this took off the little padlock next to the engine name in cpanel >> choose log program), but we still constantly get "there are no domains which have awstats stats to display".

    We enabled the engines last thursday so its been 5 days (120 hours). I know for a fact there has been the site has been visited during that time as the raw access logs show that there has been.

    Any help would be greatly appreciated :)

    Alex

    - - - Updated - - -

    I should also mention i have tried running the scripts runlogsnow and runweblogs and this doent fix anything, the scripts run without error but no stats are generated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are any statistics generated when attempting to manual update the statistics for this account? EX:

    Code:
    /scripts/runweblogs $username
    If not, review /usr/local/apache/domlogs/$domain.com to ensure statistics are populated in the Apache domlogs for this domain name.

    Thank you.
     
  3. alexh_neq

    alexh_neq Member

    Joined:
    Jun 16, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Thanks very much for the response :)

    Unfortunately manually running /scripts/runweblogs $user doesn't do anything - see my OP. The script runs without error but no logs are available in awstats etc etc

    I looked in /usr/local/apache/domlogs and could see that in /usr/local/apache/domlogs/$domain and /usr/local/apache/domlogs/$account/$domain and confirm there were some apache style log lines for today and yesterday. However again when i go into the $account cpanel and select awstats or webalizer etc etc it still says "there are no domains to display stats for".

    Alex
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. alexh_neq

    alexh_neq Member

    Joined:
    Jun 16, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Thought i would post the solution here to help anyone who has a similar problem. Thanks a lot to cPanel support team who were really helpful in getting this fixed!

    Basically, in /var/cpanel/users/$username there will be an entry called "STATS=" or "STATSGEN=" with no value assigned to it. Comment out this line as it seems to override any settings regarding stats generation for the domain, and it works!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page