awstats broken

9 posts / 0 new
Last post
#1 Sat, 08/23/2008 - 05:17
steven

awstats broken

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

Sat, 08/23/2008 - 16:18
ronald
ronald's picture

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.

Sun, 08/24/2008 - 23:51 (Reply to #2)
balzercomp

same here.

Gerald

Mon, 08/25/2008 - 00:45 (Reply to #3)
balzercomp

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

Mon, 08/25/2008 - 01:13 (Reply to #4)
balzercomp

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.

Mon, 08/25/2008 - 01:38 (Reply to #5)
ronald
ronald's picture

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.

Wed, 08/27/2008 - 02:14 (Reply to #6)
balzercomp

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

Thu, 08/28/2008 - 06:18 (Reply to #7)
ronald
ronald's picture

i get the forbidden page too and no popup to log in.

Mon, 08/25/2008 - 00:01
Joe
Joe's picture

We're rolling out an update ASAP. Apologies for the inconvenience, guys.

--

Check out the forum guidelines!

Topic locked