Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963
Original Poster
Rep:
install as follows ( fresh install )
Code:
apt-get install awstats
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
binutils-static
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libnet-xwhois-perl
Suggested packages:
libnet-dns-perl libnet-ip-perl libgeo-ipfree-perl
The following NEW packages will be installed:
awstats libnet-xwhois-perl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 974kB of archives.
After this operation, 5,341kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://au.archive.ubuntu.com karmic-updates/main awstats 6.9~dfsg-1ubuntu3.9.10.1 [951kB]
Get:2 http://au.archive.ubuntu.com karmic/main libnet-xwhois-perl 0.90-3 [23.0kB]
Fetched 974kB in 9s (101kB/s)
Selecting previously deselected package awstats.
(Reading database ... 35076 files and directories currently installed.)
Unpacking awstats (from .../awstats_6.9~dfsg-1ubuntu3.9.10.1_all.deb) ...
Selecting previously deselected package libnet-xwhois-perl.
Unpacking libnet-xwhois-perl (from .../libnet-xwhois-perl_0.90-3_all.deb) ...
Processing triggers for man-db ...
Setting up awstats (6.9~dfsg-1ubuntu3.9.10.1) ...
Configuration file `/etc/cron.d/awstats'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** awstats (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/cron.d/awstats ...
Configuration file `/etc/awstats/awstats.conf'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** awstats.conf (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/awstats/awstats.conf ...
Setting up libnet-xwhois-perl (0.90-3) ...
root@localhost:~#
aptitude show awstats
Code:
root@localhost:~# aptitude show awstats
Package: awstats
State: installed
Automatically installed: no
Version: 6.9~dfsg-1ubuntu3.9.10.1
Priority: optional
Section: web
Maintainer: Ubuntu Core Develoers <ubuntu-devel@lists.ubunutu.com>
Uncompressed Size: 5,214k
Depends: perl
Recommends: libnet-xwhois-perl
Suggests: apache | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-perl
Description: powerful and featureful web server log analyzer
Advanced Web Statistics (AWStats) is a powerful web server logfile analyzer
written in perl that shows you all your web statistics including visits, unique
visitors, pages, hits, rush hours, search engines, keywords used to find your
site, robots, broken links and more. Gives more detailed information and better
graphical charts than webalizer, and is easier to use. Works with several web
server log format as a CGI and/or from command line. Supports more than 30
languages.
Homepage: http://awstats.sourceforge.net/
root@localhost:~#
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963
Original Poster
Rep:
after setting it up and freaking out on the weather ( cyclone )
I keep getting this message
Code:
/usr/lib/cgi-bin/awstats.pl -config=rockinghamgateway.com -update
Error: Could not open include file: /etc/awstats/awstats.conf.local
Setup ('/etc/awstats/awstats.rockinghamgateway.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
funny thing is I only see awstats.conf and not awstats.conf.local
all seems to install OK, I even see the html report using vi
but when I try to access the index.html
I get, You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. You don't have permission to access the requested object. It is either read-protected or not readable by the server.
I'm at a loss here, I cant seem to find a doc that explains the permissons, what am I doing wrong ?
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. You don't have permission to access the requested object. It is either read-protected or not readable by the server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.