Skip to main content

Awstats for reseller accounts

Comments

5 comments

  • cPanelMichael
    [quote="alexh_neq, post: 1665702">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.
    Hello :) Are any statistics generated when attempting to manual update the statistics for this account? EX: /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.
    0
  • alexh_neq
    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
    0
  • cPanelMichael
    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.
    0
  • alexh_neq
    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!
    0
  • cPanelMichael
    I am happy to see the issue was addressed. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.