Package: webalizer
Version: 2.23.05-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I've just noticed that my webalizer installation does no more parse my squid 
log files saying Invalid Date Format to each log record.
I've seen that this strange behaviour started last May 1 2015.
The package was working with no problem for years, analyzing my squid logs in 
standard squid format.

What can be wrong?

Thanks for your collaboration
Luca

--------------------------------------------


Here what I get if I try to manually invoke the cron.daily start script (I've 
removed the Quiet Option - Locale is Italian)


10:01:06-root@andromeda:/etc/cron.daily$ ./webalizer 2>&1|less
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (517)
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (516)
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (515)
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (514)
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (513)
[new_unode] Attenzione: La stringa e' di dimensione eccessiva (512)
Errore: Tralascio il record (data errata): [19/lug/2015:07:36:00 -0000] [1]
Errore: Tralascio il record (data errata): [19/lug/2015:07:36:51 -0000] [2]
Errore: Tralascio il record (data errata): [19/lug/2015:07:37:11 -0000] [3]
Errore: Tralascio il record (data errata): [19/lug/2015:07:37:41 -0000] [4]
Errore: Tralascio il record (data errata): [19/lug/2015:07:38:32 -0000] [5]
Errore: Tralascio il record (data errata): [19/lug/2015:07:38:42 -0000] [6]
Errore: Tralascio il record (data errata): [19/lug/2015:07:39:17 -0000] [7]
Errore: Tralascio il record (data errata): [19/lug/2015:07:39:32 -0000] [8]
Errore: Tralascio il record (data errata): [19/lug/2015:07:40:23 -0000] [9]
Errore: Tralascio il record (data errata): [19/lug/2015:07:40:59 -0000] [10]
Errore: Tralascio il record (data errata): [19/lug/2015:07:41:35 -0000] [11]
...
...
...


Here an excerpt of the parsed log file

09:41:43-root@andromeda:/var/log/squid3$ cat access.log.1 |tail -n 10
1437369923.693    275 pegaso.local TCP_MISS/200 2763 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1437369982.845 240362 luskinnexus TCP_MISS/200 5376 CONNECT 
history.google.com:443 - DIRECT/173.194.67.138 -
1437369984.652 242757 luskinnexus TCP_MISS/200 1959 CONNECT 
android.clients.google.com:443 - DIRECT/173.194.116.4 -
1437369984.872 240145 luskinnexus TCP_MISS/200 4649 CONNECT 
www.googleapis.com:443 - DIRECT/216.58.212.74 -
1437369986.550 240434 luskinnexus TCP_MISS/200 4754 CONNECT www.google.com:443 
- DIRECT/173.194.116.19 -
1437369986.634 240519 luskinnexus TCP_MISS/200 5404 CONNECT 
android.googleapis.com:443 - DIRECT/216.58.212.74 -
1437369986.781 240665 luskinnexus TCP_MISS/200 5153 CONNECT 
history.google.com:443 - DIRECT/173.194.67.138 -
1437369986.848 240351 luskinnexus TCP_MISS/200 6575 CONNECT www.google.it:443 - 
DIRECT/173.194.116.23 -
1437370223.766    346 pegaso.local TCP_MISS/200 2763 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1437370523.711    316 pegaso.local TCP_MISS/200 2763 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json


And here an excerpt of a old log (really i see no diffrence at all..)


09:40:00-root@andromeda:/var/log/squid3$ lesspipe  access.log.132.gz |tail -n 10
1416118582.790    314 192.168.1.2 TCP_MISS/200 2784 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1416118882.774    315 192.168.1.2 TCP_MISS/200 2784 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1416119050.629    183 192.168.1.5 TCP_MISS/200 398 POST 
http://streamback.ff.avast.com/V1/MD/004A1E6C5208F6A800000149CB640ED2333534636133366400000148A6E4C750/1416119052470
 - DIRECT/77.234.45.95 application/octet-stream
1416119050.652    235 192.168.1.5 TCP_MISS/200 543 POST 
http://streamback.ff.avast.com/V1/MD/004C38145208F6A800000149C980B824353639613737313400000148F8FE21D1/1416119052413
 - DIRECT/77.234.45.95 application/octet-stream
1416119182.707    317 192.168.1.2 TCP_MISS/200 2784 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1416119361.898 240990 192.168.1.5 TCP_MISS/200 793 CONNECT 
android.clients.google.com:443 - DIRECT/173.194.40.8 -
1416119362.732 240470 192.168.1.5 TCP_MISS/200 757 CONNECT 
www.googleapis.com:443 - DIRECT/173.194.78.95 -
1416119465.789  10548 192.168.1.5 TCP_MISS/200 747 CONNECT 
mobile-collector.newrelic.com:443 - DIRECT/23.235.43.143 -
1416119482.922    433 192.168.1.2 TCP_MISS/200 2784 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json
1416119782.776    307 192.168.1.2 TCP_MISS/200 2784 GET 
http://query.yahooapis.com/v1/public/yql? - DIRECT/98.137.200.255 
application/json






---------------------------------------------------

-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages webalizer depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u8
ii  libdb5.1               5.1.29-5
ii  libgd2-xpm             2.0.36~rc1~dfsg-6.1+deb7u1
ii  libgeoip1              1.4.8+dfsg-3
ii  libpng12-0             1.2.49-1
ii  zlib1g                 1:1.2.7.dfsg-13

webalizer recommends no packages.

Versions of packages webalizer suggests:
ii  apache2-mpm-prefork [httpd]  2.2.22-13+deb7u4

-- Configuration Files:
/etc/cron.daily/webalizer changed:
WEBALIZER=/usr/bin/webalizer
WEBALIZER_CONFDIR=/etc/webalizer
[ -x ${WEBALIZER} ] || exit 0;
[ -d ${WEBALIZER_CONFDIR} ] || exit 0;
for i in ${WEBALIZER_CONFDIR}/*.conf; do
  # exists ?
  [ -f $i ] || continue;
  # run agains a rotated or normal logfile
  LOGFILE=`awk '$1 ~ /^LogFile$/ {print $2}' $i`;
  # empty ?
  [ -s "${LOGFILE}" ] || continue;
  # readable ?
  [ -r "${LOGFILE}" ] || continue;
  
  # there was a output ?
  OUTDIR=`awk '$1 ~ /^OutputDir$/ {print $2}' $i`;
  #  exists something ?
  [ "${OUTDIR}" != "" ] || continue;
  # its a directory ?
  [ -d ${OUTDIR} ] || continue;
  # its writable ?
  [ -w ${OUTDIR} ] || continue;
  # Run Really quietly, exit with status code if !0
  ${WEBALIZER} -c ${i}  || continue;
  RET=$?;
  # Non rotated log file
  NLOGFILE=`awk '$1 ~ /^LogFile$/ {gsub(/\.[0-9]+(\.gz)?/,""); print $2}' $i`;
  # check current log, if last log is a rotated logfile
  if [ "${LOGFILE}" != "${NLOGFILE}" ]; then
    # empty ?
    [ -s "${NLOGFILE}" ] || continue;
    # readable ?
    [ -r "${NLOGFILE}" ] || continue;
    ${WEBALIZER} -c ${i} -Q ${NLOGFILE};
    RET=$?;
  fi;
done;
exit $RET;


-- debconf information:
  webalizer/logfile: /var/log/apache2/access.log.1
  webalizer/doc_title: Usage statistics for
  webalizer/upgrading:
  webalizer/dnscache: false
  webalizer/directory: /var/www/webalizer
  webalizer/upgrade2011030:


-- 
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