These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for awstats broken on the new forum.
Package wbm-virtualmin-awstats.noarch 2:3.7-1 appears to have broken awstats.
When I try to generate report I get;
Error: Couldn't open server log file "gunzip -c /home/{domainname}/logs/access_log.5.gz |2" : No such file or directory
The " |2" " looks interesting..
Steven
i can confirm this since the latest update..
it also adds: No such file or directory
Setup ('/etc/awstats/awstats.domain.eu.conf' file, web server or permissions) may be wrong.
same here.
Gerald
Just found the solution in the bug list. Since it's quite easy to fix (simply add a space) why not post it here?
Gerald
Since editing my last message results in an error, I've to add another post:
I hope the fix will also include a fix for the access problems with awstats. As you know, accessing awstats via "www.mydomain.tld/awstats/" results in an access error. Modifying the ScriptAlias directive solved this, but the link to images remains broken. Everything is fine when accessing awstats via virtualmin. But some customers simply don't want to do this.
you can fix it manually by editing the file :
/usr/libexec/webmin/virtualmin-awstats/virtualmin-awstats-lib.pl
and changing line 245 to :
$fullcmd .= " 2>&1";
That is, just insert a space before the number 2.
Yesterday a new version of the VM-awstats plugin appeared. I installed it, but with no change. Calling www.mydomain.tld/awstats still results in a error 403. Does this work for anyone else?
Gerald
i get the forbidden page too and no popup to log in.
We're rolling out an update ASAP. Apologies for the inconvenience, guys.
--
Check out the forum guidelines!