Welcome, Guest
Please Login or Register.
Lost Password?
Re:problems with awstats (1 viewing)
Post Reply

TOPIC: Re:problems with awstats

#12148
nhsitehost (User)
Posts: 45
graphgraph
problems with awstats 2008/05/03 10:51  
i have an issue with awstats since the last virtualmin update last week

Now i get the following errors:
Code:

The AWstats command /usr/share/awstats/wwwroot/cgi-bin/awstats.pl was not found on your system. Check the module configuration to make sure it is using the correct paths. The AWstats package can be automatically installed by Webmin. Click here to have it downloaded and installed using YUM.


i try the YUM update and get nothing

Code:

Installing package(s) with command yum -y install awstats .. Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Nothing to do .. install complete.



when i look in /usr/share/awstats/wwwroot/cgi-bin/ there are no files... so now what?
  The administrator has disabled public write access.
#12266
JerryJaz (User)
Posts: 6
graphgraph
Re:problems with awstats 2008/05/07 13:33  
I too get the same was not found error on my new install of VM Pro.
Moving fast to get out of my own way
  The administrator has disabled public write access.
#12267
Joe (Admin)
Posts: 3712
graph
Re:problems with awstats 2008/05/07 13:39  
Nobodies telling me the information I need to get this fixed: OS and version.

AWStats lives in completely different locations on all of our supported operating systems...and obviously we've failed to get it right on one (or more) of them. But I don't know which one to look at, since you guys are keeping it Top Secret. ;-)
  The administrator has disabled public write access.
#12281
nhsitehost (User)
Posts: 45
graphgraph
Re:problems with awstats 2008/05/07 16:01  
Nobodies telling me the information I need to get this fixed: OS and version.

Oh sorry.. i have

Operating system CentOS Linux 5
Webmin version 1.410
Virtualmin version 3.56 (Pro)
  The administrator has disabled public write access.
#12285
Joe (Admin)
Posts: 3712
graph
Re:problems with awstats 2008/05/07 16:17  
Operating system CentOS Linux 5

Are you sure you don't have awstats installed from some alternate source? e.g. do you have other yum repositories configured?
  The administrator has disabled public write access.
#12774
CarlLindner (User)
Posts: 7
graphgraph
Re:problems with awstats 2008/05/21 17:12  
Hey Joe, I just hit the update and am seeing the same awstats error. Here is some additional info. I just hit the thread and have not looked to see if it is in the bug tracker. If it is not there I will go ahead and write it up so you guys have a chance to prioritize - if it isn't a repository mixup on my part.

Note - it is a dependancy/library issue - keep reading for details

thanks
carl

[root@server1a ~]# more /etc/issue
CentOS release 5 (Final)
Kernel r on an m


[root@server1a ~]# yum info awstats
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name : awstats
Arch : noarch
Version: 6.7
Release: 1.el5.rf
Size : 2.8 M
Repo : installed
Summary: Powerful and fullfeatured server logfile analyzer

Description:
Advanced Web Statistics is a powerful and featureful tool that generates
advanced web server graphic statistics. This server log analyzer works
from command line or as a CGI and shows you all information your log contains,
in graphical web pages. It can analyze a lot of web/wap/proxy servers like
Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers.

This program can measure visits, unique vistors, authenticated users, pages,
domains/countries, OS busiest times, robot visits, type of files, search
engines/keywords used, visits duration, HTTP errors and more...
Statistics can be updated from a browser or your scheduler.
The program also supports virtual servers, plugins and a lot of features.


Available Packages
Name : awstats
Arch : noarch
Version: 6.6
Release: 1.el5.vm
Size : 1.1 M
Repo : virtualmin
Summary: Advanced Web Statistics
Description:
Advanced Web Statistics is a powerful and featureful tool that generates
advanced web server graphic statistics. This server log analyzer works
from command line or as a CGI and shows you all information your log contains,
in graphical web pages. It can analyze a lot of web/wap/proxy servers like
Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers.

This program can measure visits, unique vistors, authenticated users, pages,
domains/countries, OS busiest times, robot visits, type of files, search
engines/keywords used, visits duration, HTTP errors and more...
Statistics can be updated from a browser or your scheduler.
The program also supports virtual servers, plugins and a lot of features.

With the default configuration, the statistics are available:
http://localhost/awstats/awstats.pl

[root@server1a ~]#


When verifying the config:

The AWstats command /usr/share/awstats/wwwroot/cgi-bin/awstats.pl was not found on your system.

.. your system is not ready for use by Virtualmin.


And it is a valid warning since there is no /usr/share/awstats directory.

Upgrade history in yum for awstats:

Apr 22 11:23:47 Updated: awstats.noarch 6.7-1.el5.rf
Nov 16 22:26:54 Installed: wbm-virtualmin-awstats.noarch 2:3.2-1
Nov 16 22:27:36 Installed: awstats.noarch 6.6-1.el5.vm


so just seeing this is setting off the red flags.

Did the following to correct the issue:

rpm --erase --nodeps awstats

yum install awstats

NOTE- you need to resolve your repos.d dependancies before continuing otherwise you are going to install the same non-virtual min version again (most likely). i had the rpmforge repos configured and turned back off at one point so this one sneaked by me. good luck. and thanks for setting me on the right course Joe!
  The administrator has disabled public write access.
#12848
nealg (User)
Posts: 2
graphgraph
Re:problems with awstats 2008/05/24 20:14  
I am also running CENT OS 5.1 on my server with Webmin version 1.410 and the latest version of Virtualmin GPL and this has me to the point where I am ready to pull my hair out, throw my hands up and say the heck with this and go with DirectAdmin if I can't get this blasted thing to work. Sorry about the vent in that last sentence, I have been fighting with one thing or another over the last couple of months putting this server online and I am near the end of my rope.
  The administrator has disabled public write access.
#12849
nealg (User)
Posts: 2
graphgraph
Re:problems with awstats 2008/05/24 20:18  
I have done all of that and I have even gone a step further and copied all the relevant files over to /usr/share/ and I am still having the same problem. I really wish this stuff was a bit simpler to set up.
  The administrator has disabled public write access.
#12852
Joe (Admin)
Posts: 3712
graph
Re:problems with awstats 2008/05/24 23:24  
I have done all of that and I have even gone a step further and copied all the relevant files over to /usr/share/ and I am still having the same problem. I really wish this stuff was a bit simpler to set up.

It is simple to setup if you don't setup yum repositories that put files in different places than our software expects by default.

If you want to use an alternative package of awstats, you need to know enough to know how to configure it for use.

Your only solution here is to use our awstats package, or figure out where the files are in the package that you are using and configure the Virtualmin AWStats module to know about it.

If you believe that DirectAdmin is a better solution for you, by all means, use DirectAdmin. We can't help you if you don't want to use the packages we provide that make things easy. (And if there are problems in our packages that make things confusing or complicated, we will fix them--just let us know...but as far as I know you're using an awstats package that we have no control over, and I'm completely unfamiliar with.)
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.