Installation not working
Hi Guys,
I've just setup a new server and I'm trying to get the awstats plugin to work.
I've gone through the process of installing the plugin through the DA control panel with no errors thus far.
As instructed, I do the following....
Login to ssh and execute this script: /usr/local/directadmin/plugins/awstats/update/update.sh
--
I then login to the admin area, click on the click on the Awstats Statistics link that shows up under Extra Features.
I'm them presented with a list of users that can access awstats, so I select the ones that I want and press the save button.
Everything is good.
--
I login as a user (for arguments sake we'll call this user UserBob).
I then click on Awstats Statistics under Advanced Features.
I want to install Awstats on this domain, so I click on the link that says 'Install AwStats on this domain*'.
All hell breaks loose...
This is what I'm getting.
Code:
Checking if there is already something installed..
Creating AwStats dir on domain
Setting Directory PermissionsChecking if awstats files are availableError linking lib dir /home/userbob/domains/userbob.co.nz/public_html/awstats/lib from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/libError linking icon dir /home/userbob/domains/userbob.co.nz/public_html/awstats/icon from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/iconError linking lang dir /home/userbob/domains/userbob.co.nz/public_html/awstats/lang from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/langError linking plugin dir /home/userbob/domains/userbob.co.nz/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/userbob/domains/userbob.co.nz/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.
Default password protection set.
Userid: userbob
Password: default
It is EXTREMELY recommended that you use the Tune AwStats and modify the default values immediately!
Config file has been created and your statistics are now setup!
You can now view the statistics for your domain at: userbob.co.nz/awstats/
What this seems to be telling me is that the installation that I did of the Awstats plugin, and the update have NOT installed the required files into the required areas. I've also physically checked to see if the files it's trying to copy exist in the /usr/local/directadmin/plugins/awstats/hooks/cgi-bin directory and all I have in there is awredir.pl, awstats.non.conf, awstats_updateall.pl.
Does anyone know how I can install this plugin properly?
It works like a charm on my other server, but it's running an older version and I don't want to touch it in case something like this happens.
Thanks everyone!!
=============================
Quick note. I'm running FreeBSD 6.3 as well, but somehow I don't think that's the problem.
=============================