jjma
Verified User
Does this mean that if you were to install the plugin and have awstats run for a site, you would still have webalizer run for the same site? Wouldn't this duplication of web stats cause high server load.
Jon
Jon
Does this mean that if you were to install the plugin and have awstats run for a site, you would still have webalizer run for the same site? Wouldn't this duplication of web stats cause high server load.
Jon
I installed this plugin and it worked great up untill a week ago. Now stats are being updated for only one domain out of 8 on the server. All domains have awstats enabled, but just won't update everyday, but for one domain they get updated everyday. I have looked in the da cron file all entries are there as they are supposed to be, all domains had stats working and updated before with this same plugin, I have not changed anything and cross checked everything. Please help thanks.
Checking if there is already something installed..
Creating AwStats dir on domain
Setting Directory PermissionsChecking if awstats files are availableError linking lib dir /home/domaintest/domains/domaintest.com/public_html/awstats/lib from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/libError linking icon dir /home/domaintest/domains/domaintest.com/public_html/awstats/icon from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/iconError linking lang dir /home/domaintest/domains/domaintest.com/public_html/awstats/lang from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/langError linking plugin dir /home/domaintest/domains/domaintest.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/domaintest/domains/domaintest.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.
Default password protection set.
Userid: domaintest
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: domaintest.com/awstats/
Hello,
My experience... plugin installation went fine, but setup for my first domain not so.
Code:Checking if there is already something installed.. Creating AwStats dir on domain Setting Directory Permissions Checking if awstats files are available Error linking lib dir /home/domaintest/domains/domaintest.com/public_html/awstats/lib from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/lib Error linking icon dir /home/domaintest/domains/domaintest.com/public_html/awstats/icon from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/icon Error linking lang dir /home/domaintest/domains/domaintest.com/public_html/awstats/lang from /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/lang Error linking plugin dir /home/domaintest/domains/domaintest.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/domaintest/domains/domaintest.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. Default password protection set. Userid: domaintest 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: domaintest.com/awstats/
Using Redhat OS, with DA 1.29, PHP(CLI) for DA engine and Apache 2 + PHP4 + PHP5 + suPHP for web users.
Since I don't use Apache2, php5 or suPHP, can't say that it's supported by the plugin, though I don't why it wouldn't work. But looking at the output above, it did not install correctly...symlinks didn't get created..this could be something to do with suPHP.
I eventually had to delete everything and go back to the old plugin to make everything work. I thought it was working at first but then it wouldn't update, would get all kinds of permission errors when it tried-even when you chmodded what was necessary, couldn't update from web-permissions errors.
I first tested this on fresh centos Os 4.4 system, running apache2. The same day I got the server I tried to install the plugin and didn't work, so its not like Ive got something weird in there messing it up. After trying to install it on this server it was a mess uninstalling and reinstalling the old one so on my newest server I just installed the old one and works better.
So this plugin doesn't work with every system, it may just be apache2 or whatever but the old one works fine with them all
echo "Checking if awstats files are available";
if (file_exists("$location/lib")) echo ".";
else { symlink("$dir/cgi-bin/lib","$location/lib");
if (file_exists("$location/lib")) echo "+";
else echo "<b>Error linking lib dir $location/lib from $dir/cgi-bin/lib";
}
if (file_exists("$location/icon")) echo ".";
else { symlink("$dir/cgi-bin/icon","$location/icon");
if (file_exists("$location/icon")) echo "+";
else echo "<b>Error linking icon dir $location/icon from $dir/cgi-bin/icon";
}
if (file_exists("$location/lang")) echo ".";
else { symlink("$dir/cgi-bin/lang","$location/lang");
if (file_exists("$location/lang")) echo "+";
else echo "<b>Error linking lang dir $location/lang from $dir/cgi-bin/lang";
}
if (file_exists("$location/plugins")) echo ".";
else { symlink("$dir/cgi-bin/plugins","$location/plugins");
if (file_exists("$location/plugins")) echo "+";
else echo "<b>Error linking plugin dir $location/plugins from $dir/cgi-bin/plugins";
}