Package: awstats
Version: 6.9.5~dfsg-5  
Severity: normal
Tags: upstream

This problem is not being reported on the system where the problem was observed.
Refers to AWStats version 6.95 (build 1.943)
In particular web server is nginx (not apache).


I had a large number of entries like this at the beginning of my
access.log this morning:

example.com 109.72.95.200 [09/May/2011:06:54:18 +0100] "-" 400 0 "-" "-"

Entries like this are logged by nginx when there is a
connection/disconnection but no data.  Apache doesn't seem to log
such events.

awstats complains like this:

...
This means each line in your web server log file need to have the following 
personalized log format:
%virtualname %host %time1 %methodurl %code %bytesd %refererquot %uaquot
And this is an example of records AWStats found in your log file (the record 
number 50 in your log):
example.com 109.72.95.200 [09/May/2011:06:54:44 +0100] "-" 400 0 "-" "-"
...

There is nothing wrong with these log entries; the request method is
invalid but the error code is 400 to reflect that.

I suggest at the very least awstats accept and quietly ignore such
entries.

Thanks

Dick


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages awstats depends on:
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 

Versions of packages awstats recommends:
ii  coreutils                     8.5-1      GNU core utilities
pn  libnet-xwhois-perl            <none>     (no description available)

Versions of packages awstats suggests:
ii  apache2                       2.2.16-6   Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.16-6   Apache HTTP Server - traditional n
ii  libgeo-ipfree-perl            1.101650-1 module to look up the country of a
ii  libnet-dns-perl               0.66-2     Perform DNS queries from a Perl sc
ii  libnet-ip-perl                1.25-2     Perl extension for manipulating IP
ii  liburi-perl                   1.54-2     module to manipulate and access UR

-- Configuration Files:
/etc/awstats/awstats.conf.local changed [not included]
/etc/cron.d/awstats changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to