acenetryan

Well-Known Member
PartnerNOC
Aug 21, 2005
197
1
168
This exact issue was already posted in the forums, but was due to a missing Perl module. I am not receiving the same errors, this is a new cause, same problem.

When updating AWstats, addon domains are not being updated. The subdomain associated with the addon domain updates fine. As a result, the solution I am providing to our client is to simply view stats for the addon domain by clicking on the corresponding subdomain.

What is odd is that subdomains of addon domains work.

I dug extensively and I found that within the runStatsProgram sub, only the subdomains are being passed in. As a result, it never checks /home/USER/tmp/stats.conf to see whether it's enabled or disabled for that domain. It skips over addon domains altogether.

What's even more odd is that the "About to fork" message lists all of the domains.

Does anyone have any insight? At the very least, I'm trying to find where the list of domains to run stats programs for are pulled from.
 

jbreck

Member
PartnerNOC
Mar 7, 2006
11
0
151
Bump. We are also experiencing this issue.
 
Last edited:

mpspahr

Registered
PartnerNOC
Dec 12, 2007
1
0
51
To fix this you have go to:

/home/cPuser/tmp/awstats/

Open up the appropriate conf file for the addon domain. For example:

awstats.addondomain.conf

Look for this line:

LogFile="/usr/local/apache/domlogs/addondomain.com"

Since addon domains use the appropriate subdomains log file, change the line to point to the log file of the subdomain.