alexh_neq

Member
Jun 16, 2014
12
0
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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:

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.
 

alexh_neq

Member
Jun 16, 2014
12
0
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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.
 

alexh_neq

Member
Jun 16, 2014
12
0
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
I am happy to see the issue was addressed. Thank you for updating us with the outcome.