can't install AWStats


 
Thread Tools Search this Thread
Operating Systems BSD can't install AWStats
# 1  
Old 07-21-2008
can't install AWStats

I am running FreeBSD 6.3 and trying to install AWStats. I found this site with some instructions:

Installing AWStats on FreeBSD

however, the pkg install doesn't work. This is the error I get:

dl1-3# pkg_add install -r awstats
pkg_add: can't stat package file 'install'
pkg_add: can't stat package file '-r'
pkg_add: can't stat package file 'awstats'

I am running it as root.
# 2  
Old 07-22-2008
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
# 3  
Old 07-22-2008
Quote:
Originally Posted by sysgate
You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.
This is the output I get. Do I copy that entire thing and just paste it in the apache conf file? I don't understand.

Code:
dl1-3# pkg_add -r awstats
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/po...st/awstats.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/po...ois-0.90_4.tbz... Done.

*****************************************************************
Please add the following to your apache config, and restart.

#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/www/awstats/classes/"
Alias /awstatscss "/usr/local/www/awstats/css/"
Alias /awstatsicons "/usr/local/www/awstats/icons/"
ScriptAlias /awstats/ "/usr/local/www/awstats/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/www/awstats/">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

*****************************************************************

# 4  
Old 08-18-2008
looks like it. just make sure all the paths match up.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Awstats webserver analyser

Need assistance in troubleshooting I have configured awstats 7.3 version on RedHat linux and I am stuck at getting the updates from the website . Please let me know if anybody can give me some inputs I can see the webpages but it gives "Never updated (See 'Build/Update' on awstats_setup.html... (2 Replies)
Discussion started by: ajayram_arya
2 Replies

2. Web Development

AWstats - Installation

Hi Gurus, I was trying to install AWstats in one of my EL5 boxes and got the below error: # rpm -i awstats-7.0-1.noarch.rpm error: Failed dependencies: perl(LWP::UserAgent) is needed by awstats-7.0-1.noarch # rpm -i perl-Test-Mock-LWP-0.05-1.el6.rf.noarch.rpm warning:... (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies

3. BSD

Awstats stderr solution

Hello! Firts of all, sorry fo my poor english, but i hope you'll undestand me :) Ok, let's go to the problem.... I have a lot of awstats crontabs, and i have one mail,where i get daily and weekly output of all servers that i administrate, now it's problem that i get to his mail every time,... (3 Replies)
Discussion started by: flashm3
3 Replies
Login or Register to Ask a Question