All kinds of problems with this on Freebsd.
la1006# /usr/local/directadmin/plugins/awstats/update/update.sh
Checking for latest version<BR>
...
Updating to 6.6<BR>
Downloading 6.6<BR>
--03:33:52--
http://awstats.sourceforge.net/files/awstats-6.6.tar.gz
=> `/usr/local/directadmin/plugins/awstats/update/awstats.tgz'
Resolving awstats.sourceforge.net... 66.35.250.209
Connecting to awstats.sourceforge.net|66.35.250.209|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,079,064 (1.0M) [application/x-tar]
100%[================================================================================>] 1,079,064 813.80K/s
03:33:53 (810.51 KB/s) - `/usr/local/directadmin/plugins/awstats/update/awstats.tgz' saved [1079064/1079064]
Extracting<BR>
/usr/local/directadmin/plugins/awstats/update/update.sh: /bin/tar: not found
Extracted.. now Updating<BR>
Awstats extracted in /usr/local/directadmin/plugins/awstats/update/awstats-6.6<BR>
cd: can't cd to /usr/local/directadmin/plugins/awstats/update/awstats-6.6
Copying awstas /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/cgi-bin/awstats.pl to basedir
cp: /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/cgi-bin/awstats.pl: No such file or directory
Warning: fopen(/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/update/patch.php on line 3
<BR>ERROR can't open awstats.pl<BR>Patched..<BR>
cp: /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/cgi-bin/lib: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/cgi-bin/lang: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/icon: No such file or directory
cp: /usr/local/directadmin/plugins/awstats/update/awstats-6.6/wwwroot/cgi-bin/plugins: No such file or directory
Removing all temp. files<BR>
Updating all user files..<BR>
Done.. updated to 6.6<BR>
Now what?
And in the users webspace.
Checking if there is already something installed..
Creating AwStats dir on domain
Setting Directory PermissionsChecking if awstats files are availableError linking lib dir /home/listweb/domains/listwebhost.com/public_html/awstats/lib from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/libError linking icon dir /home/listweb/domains/listwebhost.com/public_html/awstats/icon from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/iconError linking lang dir /home/listweb/domains/listwebhost.com/public_html/awstats/lang from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/langError linking plugin dir /home/listweb/domains/listwebhost.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 76 Error linking awstats.pl /home/listweb/domains/listwebhost.com/public_html/awstats/awstats.pl from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl
(Re-)Activating CGI for dir
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 100 Warning: chown(): No such file or directory in /usr/local/directadmin/plugins/awstats/user/index.html on line 101 Doing an extra permission setting through shell..Done
Now (re-)creating your configuration file.
If i have time, ill modify the installer so that it works on Freebsd.