Wednesday, January 19, 2011

How to enable AWStats on Strongbolt

Today I started to play with my backup RaQ 4 server. It's loaded with Strongbolt and looking at the hard disk I found that AWStats is installed by default but pointing a web browser to www.myaddress.net/awstats only gave me an small box asking for a user and password but never I was able to log in.

I remembered there is a post in the Strongbolt forums but with no good solution. A new search and I found this on the closed Nuonce Forums. In fact Strongbolt has AWStats installed but is missing one perl library that is needed to authenticate users in the systems: perl-suidperl.

Just need to install this library and then you can log with the vsite admin password:
[root@web etc]# yum install perl-suidperl

Setting up Install Process
Setting up repositories
update        100% =========================    951 B 00:00
BlueQuartz 100% =========================    951 B 00:00
base           100% =========================   1.1 kB 00:00
addons       100% =========================    951 B 00:00
extras         100% =========================   1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Excluding Packages from CentOS-4 - Addons
Finished
Excluding Packages from CentOS-4 - Extras
Finished
Parsing package install arguments
Resolving Dependencies
> Populating transaction set with selected packages. Please wait.
> Downloading header for perl-suidperl to pack into transaction set.
perl-suidperl-5.8.5-53.el    100% =========================    20 kB 00:00
> Package perl-suidperl.i386 3:5.8.5-53.el4 set to be updated
> Running transaction check

Dependencies Resolved

================================================================
Package                Arch            Version              Repository                 Size
================================================================
Installing:
 perl-suidperl         i386             3:5.8.5-53.el4    update                       112 k

Transaction Summary
================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 112 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): perl-suidperl-5.8.    100% =========================     112 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-suidperl ######################### [1/1]

Installed: perl-suidperl.i386 3:5.8.5-53.el4
Complete!
[root@web etc]#
Remeber that lo log in the Statistics page tou need the vsite admin usr and password, not the server admin password!

No comments: