Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Configuration of AWSTATS

Reply to Post Add a New Topic
UserPost

3:48 pm
January 16, 2009


Kumar

Guest

Hi,

I have installed WebSphere portal 6.0, IBM Http Server 6.0 , perl and awstats 6.9.

when I am configuring awstats i am running into error,the steps involved in configuring are

http://www.ibm.com/developerworks/websphere/techjournal
/0609_liesche/0609_liesche.html

Installing and configuration AWStats

AWStats comes with extensive information about installing it. For the sake of our example, we will only use the offline analysis. Therefore, it is enough to:

Download AWStats.

Unzip the package into a directory.

  1. Configure a site according to the documentation. For example, create awstats.localhost.conf (with localhost being the site name) and change the following configuration statements:

    LogFile=”C:\\Program Files\\IBM\\Por
    tal51UTE\\PortalServer\\log\\sa.log”
    LogFormat=1
    LogSeparator=” ”
    SiteDomain=”localhost”
    DNSLookup=1
    AllowToUpdateStatsFromBrowser=0

  1. Create the initial statistics database:

    perl awstats.pl -config=localhost -update

  2. Create the overview report as shown in Figure 1:

    perl awstats.pl -config=localhost -output -staticlinks > awstats.localhost.html

when I run perl awstats.pl -config=localhost -update

I am getting error :
C:\\Program Files\\AWStats\\wwwroot\\cgi-bin>perl awstats.pl -config=localhost -upda
e
Can't locate Encode.pm in @INC (@INC contains: C:/perl/lib C:/perl/site/lib .) a
t awstats.pl line 19.
BEGIN failed–compilation aborted at awstats.pl line 19.

I have checked for the line 19 in awstats.pl , i see use Encode;

could any one help me on this.

5:07 pm
January 16, 2009


Jean-Luc

Admin

posts 1125

Hi,

This problem has already been reported. There are two things to check:

1. Encode.pm must be installed (pretty obvious 😉 )

2. If it is installed and it still does not work, then update your Perl version to a newer one.

I am not sure about what the minimum Perl version is, but I know that 5.8.8. does not have this problem.

3:10 pm
September 28, 2009


Michael

Guest

I can confirm that installing the most current release of activeperl resolved this issue.

Reply to Post

Reply to Topic:
Configuration of AWSTATS

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
9 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)