(if you use a package provided with a Linux distribution or Windows installer, step 1 might have already been done; if you don't know, you can run this step again) After downloading and extracting the AWStats package, you should run the awstats_script to do several setup actions.
You will find it in the AWStats tools directory (If using the Windows installer, the script is automatically launched): A) awstats_tries to determine your current log format from your Apache web server configuration file (it asks for the path if not found).
If you use a common log, awstats_will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier).
When this plugin is not installed in Plesk AWStats, you won't be able to check the geographical traffic statistics.
In this article, we'll show you the steps to install the geoip country plugin in Plesk AWStats.
I turned off awstats through the Plesk control panel for all but 5 domains but I still get 90% CPU usage and at least 30 instances of happening at am as usual. Does anyone know how to disable awstats (I have stats covered using piwik)?
At this time the server CPU usage shoots from 4% to 90% at the same time as a mass of processes start (I can't see how many as my datat only shows the top 30 processes, but all of these are awstats.pl).
I am pointing the common reasons why the stats can fail to update and will add more reasons when I come across them.
If Awstats not updating automatically then obviously you will have to update it manually.
Awstats is a powerful statistics tool and it is a built-in component on plesk panel, you can active awstats by choosing it at website settings.
By default, plesk update awstats everyday, you have to wait for 24 hours before awstats generate the graphic results.
B) awstats_will then add, if not already present, the following directives to your Apache configuration file (note that the "/usr/local/awstats/wwwroot" path might differ according to your distribution or OS: # # Directives to add to your Apache conf file to allow use of AWStats as a CGI.
# Note that path "/usr/local/awstats/" must reflect your AWStats Installation path.
I suspect this is related somehow in EOF marks on the file itself, as the Notepad seems to color the rest of the file from the first EOF line to blue.