AWSTATS is not updating....since the start of the month??

linux juggler

Member
Aug 13, 2005
13
0
151
hi,
for some reasons AWSTATS is not updating any sites since the first day of may ..

any one has the same problem ??
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Please try manually updating the statistics for an account with the following command:

Code:
# /scripts/runweblogs username
Check if there are any specific error messages when using the above command.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
I suggest submitting a support ticket so we can take a closer look:

Submit A Ticket

You can post the ticket number here so we can track the issue.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
To update, this was the result of the following entries being commented out in the /var/cpanel/templates/apache2/vhost.local file:

Code:
#CustomLog [% serverroot %]/domlogs/[% vhost.log_servername %] combined
#CustomLog [% serverroot %]/domlogs/[% vhost.log_servername %]-bytes_log "%{%s}t %I .\n%{%s}t %O ."
The resolution to this issue was to enable these entries, and then rebuild the Apache configuration file:

Code:
# /scripts/rebuildhttpdconf
Thank you.
 

RickieF

Registered
Jul 21, 2018
2
1
1
UK
cPanel Access Level
Root Administrator
I had the same issue since a cPanel update, and found out as of date of posting, cPanelMichaels advice above is spot on, manual run the weblog and just check httpdconf is coming up OK, nice one Michael, was going round in circles for about an hour :)

Short hand version of Michaels advice above, run in terminal, not you will probably need to do this for every user, unless there's a wildcard that can be usedd with the manual run script(?);

/scripts/runweblogs username

Then

/scripts/rebuildhttpdconf

I only needed to do a manual run and the stat's sprang back to life :D