I installed the plugin and it appears to have installed properly.
I run update.sh and get the following output:
----------------------------------------------------------------------
Checking for latest version<BR>
...
egrep: invalid option -- o
egrep: invalid option -- o
Usage: egrep [OPTION]... PATTERN [FILE]...
Usage: egrep [OPTION]... PATTERN [FILE]...
Try `egrep --help' for more information.
Try `egrep --help' for more information.
Updating to <BR>
Downloading <BR>
--17:18:06--
http://awstats.sourceforge.net/files/awstats-.tar.gz
=> `/usr/local/directadmin/plugins/awstats/update/awstats.tgz'
Resolving awstats.sourceforge.net... done.
Connecting to awstats.sourceforge.net[66.35.250.209]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:18:06 ERROR 404: Not Found.
Extracting<BR>
./update.sh: /bin/tar: not found
Extracted.. now Updating<BR>
Awstats extracted in /usr/local/directadmin/plugins/awstats/update/awstats-<BR>
cd: can't cd to /usr/local/directadmin/plugins/awstats/update/awstats-
Copying awstas /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/cgi-bin/awstats.pl to basedir
cp: /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/cgi-bin/awstats.pl: No such file or directory
Patched..<BR>
cp: /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/cgi-bin/lib: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/cgi-bin/lang: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/icon: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-/wwwroot/cgi-bin/plugins: No such file or directory
Removing all temp. files<BR>
Updating all user files..<BR>
Done.. updated to <BR>
----------------------------------------------------------------------
As the end user I select Install AWStats on this domian - I then get: (actual domain removed)
----------------------------------------------------------------------
Checking if there is already something installed..
AwStats Directory already exists on domain
Checking if awstats files are available Warning: symlink(): File exists in /usr/local/directadmin/plugins/awstats/user/index.html on line 48 Error linking lib dir /home/username/domains/domain.com/public_html/awstats/lib from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/lib Warning: symlink(): File exists in /usr/local/directadmin/plugins/awstats/user/index.html on line 53 Error linking icon dir /home/username/domains/domain.com/public_html/awstats/icon from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/icon Warning: symlink(): File exists in /usr/local/directadmin/plugins/awstats/user/index.html on line 58 Error linking lang dir /home/username/domains/domain.com/public_html/awstats/lang from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/lang Warning: symlink(): File exists in /usr/local/directadmin/plugins/awstats/user/index.html on line 63 Error linking plugin dir /home/username/domains/domain.com/public_html/awstats/plugins from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/plugins
Checking for AwStats itself
Going to install the awstats.pl
Warning: copy(/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl): failed to open stream: No such file or directory in /usr/local/directadmin/plugins/awstats/user/index.html on line 77 Error linking awstats.pl /home/username/domains/domain.com/public_html/awstats/awstats.pl from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl
(Re-)Activating CGI for dir
Ok .htaccess already exists let's delete it..Deleted!
Doing an extra permission setting through shell..+(Re-)Setting permissions
Warning: chmod(): No such file or directory in /usr/local/directadmin/plugins/awstats/user/index.html on line 101 Warning: chown(): No such file or directory in /usr/local/directadmin/plugins/awstats/user/index.html on line 102 Doing an extra permission setting through shell..Done
Now (re-)creating your configuration file.
Config file has been created and your statistics are now setup!
You can now view the statistics for your domain at: domain.com/awstats/
----------------------------------------------------------------------
Trying to view the AWStats page for the domain returns a 403 Forbidden.
If I manually create the links between the user html dir and the plugin I get to the AWStats page with this displayed at the top:
----------------------------------------------------------------------
Warning: Can't find language files for "en". English will be used.
Warning: Can't read file "status_http.pm" (status http detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "domains.pm" (domains detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "robots.pm" (robots detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "browsers.pm" (browsers detection will not work correctly).
Check if file is in "./lib" directory and is readable.
Warning: Can't read file "mime.pm" (mime detection will not work correctly).
Check if file is in "./lib" directory and is readable.
----------------------------------------------------------------------
This is on a FreeBSD server - would that make a difference?