Awstats not installed.

6 posts / 0 new
Last post
#1 Sat, 10/29/2005 - 09:41
FaisalMehmood

Awstats not installed.

Hi/

I just installed virtualmin on CENT OS 4.2 and somehow when i run the configuration check it tells me /var/www/awstats/awstats.pl not found

I checked and yeah .. there is no awstats under there :( nor is there a copy in /opt where i think the original installation files go. Any ideas ?

Sat, 10/29/2005 - 10:09
FaisalMehmood

I did a rpm re-install ... nothing.

I remoevd and installed the whole thing ... nothing.

somehow there is no file under

/var/www/awstats/awstats.pl

and

/usr/local/awstats/wwwroot/icon

ALTHOUGH there are configuration files made by AWstats under /etc/awstats [--- i dunno if these are from a prior installation or not.

Sat, 10/29/2005 - 13:25
FaisalMehmood

Ok i have Fixed this problem. Although i have no idea why i got it :(

Apparently the Module Configuration of Awstats in webmin needed to show the new paths. Just for future reference for people here is what my paths are:

Awstats Configuration Dir
/etc/awstats

Awstats Program
/usr/share/awstats/wwwroot/cgi-bin/awstats.pl

Awstats Icons
/usr/share/awstats/wwwroot/icon

Thanks.
Faisal.

Mon, 10/31/2005 - 01:07
Joe
Joe's picture

Looks like you probably had awstats installed from DAG before installing Virtualmin? I think I've added an Epoch to our package for the future, which will make DAG packages get replaced with ours (which are based on Fedora Extras, and are more likely to take the "official" party line on locations).

DAG's repo is problematic for our installer, as we use Fedora Extras packages when available, and there are a few clashes in locations--if I force a replacement, everything works, but I don't really like doing that. It's just an annoying problem of having a platform that is so open and flexible (small price to pay!).

I'll double check to be sure that the Epoch is going into the next version, so DAG's awstats package will never over-ride ours. I might also have to force an update at the end of the installation to be sure...I don't know.

Oh, yeah, obviously, I'd like to know if you didn't actually have the DAG repository enabled on the box! ;-)

--

Check out the forum guidelines!

Mon, 10/31/2005 - 01:27
FaisalMehmood

Actually no. The first time i installed Awstats was from the install script with Virtualmin. Since Awstats didnt work, i removed the Awstats.vm version and tried installing the rpm version from the site (awstats) and that didnt work either so i removed that too. After a couple of removing and installing i thought i should check the module config .. and see what values i have on my Test Box.

Thats when i realized the different paths and changed them accordingly. Point to be noted, i installed Virtualmin on my own CentOS4.2 test box like 2 weeks ago and everything went fine awstats and all. So i would think this was on the new one. I wouldnt know though i havent tested the new installer on my test box yet.

But yeah, DAG rep is not enabled nor added to Yum. Yum is what i always use.

Thanks.
Faisal.

Wed, 11/05/2008 - 10:54 (Reply to #5)
PatrickLambooy
PatrickLambooy's picture

small update have the same with centos 5.2 migration from fc3

Topic locked