I installed AWStats via apt-get. The files are installed under:
/usr/share/doc/packages/awstat
I created a awstat directory in /usr/local and copied /usr/share/doc/packages/awstats into it.
Then, I ran perl tools/configure.pl
----- AWStats configure 1.0 (build 1.32) © Laurent Destailleur -----
This tool will help you to configure AWStats to analyze statistics for
one web server. You can try to use it to let it do all that is possible
in AWStats setup, however following the step by step manual setup
documentation (docs/index.html) is often a better idea. Above all if:
- You are not an administrator user,
- You want to analyze downloaded log files without web server,
- You want to analyze mail or ftp log files instead of web log files,
- You need to analyze load balanced servers log files,
- You want to 'understand' all possible ways to use AWStats...
Read the AWStats documentation (docs/index.html).
-----> Running OS detected: Linux, BSD or Unix
-----> Check for web server install
Enter full config file path of your Web server.
Example: /etc/httpd/httpd.conf
Example: /usr/local/apache2/conf/httpd.conf
Example: c:\Program files\apache group\apache\conf\httpd.conf
Config file path ('none' to skip web server setup):
> /etc/apache2/httpd.conf
-----> Check and complete web server config file '/etc/apache2/httpd.conf'
AWStats directives already present.
-----> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ? y
-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example:
www.mysite.com
Example: demo
Your web site, virtual server or profile name:
> goodhood
-----> Create config file '/etc/awstats/awstats.goodhood.conf'
Error: Failed to open '/usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf' for read.
hillary:/usr/local/awstats #
++++++++++++++++++++++
I cannot seem to get past this read failure. I've also tried a symbolic link between /usr/local and copied /usr/share/doc/packages/awstats. What am I doing wrong? Obviously, the wwwroot directory is not being created.
frisco-driver