Awstats stopped working from 11.28.48

johnburk

Well-Known Member
Jun 23, 2006
241
0
166
Since the update of cpanel to 11.28.48 awstats stopped working correctly. It does update but all new stats are 0. It seems like it does not get the data to update.

I have seen this on several accounts.

I noticed that /usr/local/apache/domlogs files are not updating. Anyone else have the same problem? I am not sure if this is a cPanel, Apache or Awstats problem.
 
Last edited:

asinkecualo

Registered
Dec 16, 2005
2
0
151
Hi,

I've experienced the same problem I've had no apache access logs for most of the hosted domain from 29th Nov:

-rw-r----- 2 root XXXX 0 Nov 29 02:10 /usr/local/apache/domlogs/XXXX.tld

this is very disapointing as I cannot find the root cause in apache for this... any idea?

thanks
 

johnburk

Well-Known Member
Jun 23, 2006
241
0
166
It started working again, but I was not able to find any reason why it stopped.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
I have so far seen one other instance of this happening. The cause was the same: domlogs not being updated, with 0-byte size since the last time stats were updated. In the case that I saw, restarting Apache fixed it, but it should not have happened. If you see this happen again, please submit a ticket - preferably without restarting Apache first, if you can avoid it - so that we can log in and investigate and see if we can find a pattern to this.
 

johnburk

Well-Known Member
Jun 23, 2006
241
0
166
I still have this problem on multiple servers everytime I build with EasyApache. The only way to fix it is to manually restart apache after EasyApache has done a restart.

cPanel has looked at this several times and they have no clue why it is and how to fix it.

So if you are experiancing this problem, try a manual restart.

BTW it started with 11.28.48 and I still have the same problem up to WHM 11.32.2
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Stats stopped on May 16th, and the domlog file is zero bytes and dated May 16th. I have restarted Apache a few times since May 16th, so this is not working for me.

Any other ideas why the domlogs are not updating like they are supposed to???
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is this happening for one domain or all domains on the machine? It would have been better to open up a new thread, since this thread deals with 11.28.

If all domains aren't working, you might want to check /usr/local/apache/conf/httpd.conf has these lines in it:

Code:
<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    CustomLog "logs/access_log" common

    <IfModule logio_module>
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    </IfModule>

</IfModule>
If those lines are missing, re-add them below this portion:

Code:
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all

    Satisfy All
</FilesMatch>
Then run the distiller, rebuild Apache and restart it:

Code:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak120625
/usr/local/cpanel/bin/apache_conf_distiller --update
/usr/local/cpanel/scripts/rebuildhttpdconf
/etc/init.d/httpd restart
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
It's not happening to all of them, just a few. and yes, those lines do exist in my httpd.conf.

I ran the distiller and rebuilt the httpd.conf file (as shown above)
and then restarted httpd.

and that seems to have done it. So I have done everything except the distiller. That seems to be the missing piece here.

Thanks