Different results with different Perl

vloris57
2012-07-05
2012-10-11
  • vloris57
    vloris57
    2012-07-05

    Hi,

    I try to configurate awstats for my website and I have strange results.
    For the moment, it's just on a single log file for one day, and after each
    try, I delete the generated awstats file.

    In this small log file, the 9 different c-ip are
    66.249.71.214 / 84.55.184.91 / 66.249.71.214 / 84.55.184.91 / 67.218.116.166 /
    194.0.92.9 / 65.55.207.126 / 212.198.244.251 / 67.195.114.219

    My Web configuration : Windows 2008 R2 64 with IIS 7.0

    LogFormat = "date time s-sitename s-computername s-ip cs-method cs-uri-stem
    cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
    cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
    time-taken"

    I try with
    perl 5.10.0.exe furnished with Oracle 11
    perl 5.14.2 from ActivePerl

    1st try / with ActivePerl and SkipHosts="" OnlyHosts=""
    perl awstats.pl -config=my.website.com
    The 9 IP are in the host section of the html page of awstats. It's OK

    2nd try with Oracle Perl and SkipHosts="" OnlyHosts=""
    c:\Oracle11\product\11.2.0\dbhome_1\perl\bin\perl5.10.0.exe awstats.pl
    -config=my.website.com
    Only 2 hosts in the result
    212.198.244.251
    194.0.92.9

    So it seems that Oracle Perl do not produce right results.

    But...
    3rd try with ActivePerl and SkipHosts="66.249.71.214" OnlyHosts=""
    The result is
    66.249.71.214
    67.195.114.219
    213.180.209.251
    91.121.83.164
    65.55.207.126
    212.198.244.251
    69.63.178.250
    194.0.92.9
    Only one host is skipped, but not 66.249.71.214

    And...
    4th try with ActivePerl and SkipHosts="" OnlyHosts="66.249.71.214"
    The result is
    67.195.114.219
    212.198.244.251
    66.249.71.214
    84.55.184.91
    The onlyhost is in the result, but not alone !

    What is the problem ? How can I remove this ?

    Thanks for your answers