


Then view your statistics with the processed data using browserĭelete the processed log files in /var/lib/awtstats (directory defined by DirData parameter) using RM although you have to be root. */10 * * * * root /usr/lib/cgi-bin/ -config= -update > /dev/null Once the config is done, process the config file by usr/share/doc/awstats/examples/ /var/log/apache2/access-anoneh.log.* > combined-anoneh.log Don't attempt to "cat" the log files, it won't work. You can if you must, combine multiple log files into one by tool. It could be "awstats-icon" like above or default "icons" so make sure both are pointing to the same folder. One for apache using alias and one for awstats eg.

LogFile="/var/log/apache2/anoneh_access.log".Options ExecCGI -MultiViews +SymLinksIfOwnerMatchĮrrorLog /var/log/apache2/error-awestats.logĬustomLog /var/log/apache2/access-awestats.log combinedĬp /etc/awstats/nf /etc/awstats/ ServerAdmin /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon/ "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" Since awstats is in perl, then you have to configure the cgi location Setup ('/etc/awstats/nf' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory).Īctual Reason : Log files are not readable because log files are copied or moved. You must edit it for using this version of AWStats. Once processing is done you can then view the stats from your browser.Ĭommon errors Error: SiteDomain parameter not defined in your config/domain file. LoadPlugin=tooltips, hashfiles & geoipfree.SkipHosts - Do not include access from clients that match following criteria.This processing is done by command line by specifying the config files. Since they will be looking at raw apache log files, it must be processed first. The idea is that with one installation of Awstats, you can check the hits of a particular domain by specifying in the parameter like It uses a partial information file to be able to process large log files. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages.
AWSTATS UBUNTU FREE
AWSTATS UBUNTU GENERATOR
/usr/lib/cgi-bin/ -, the main results generator./var/lib/awstats - default place where the results will reside./usr/share/awstats/ - most of the stuff.

Subject to your version, the location of the files are Tested installation an Ubuntu 10.10 and 12.04. I chose awstats because it is part of Ubuntu's repositories. This automatically updates my AWStats every hour whether I view my statistics in a web browser or not.Posted under » Ubuntu » Linux » Perl » SEO updated on 30 March 2012Īwstats is not new and I have been using it since 2000 because google analytics is risky and slow. Instead, I append the site to the end of the string like this: “”.Īlso, rather than adding entries to my crontab, I simply added a script to my “/etc/cron.hourly”: #! /bin/bash This means that browsing to “” as they suggest won’t work. I configured my sites individually with no default site in the following files: /etc/awstats/.conf Ubuntu Tutorials has provided a nice tutorial about setting up AWStats on Ubuntu. After playing with both, I decided to use AWStats. DreamHost provides Analog web statistics. Another site I administer is hosted by DreamHost. My personal website is hosted by Nearly Free Speech, and they provide AWStats for statistics. Since I am running this blog on my own server, I decided I should probably set up some log parsing.
