report for merged logs

Edward Quick edwardquick at hotmail.com
Mon Jan 6 21:21:19 CET 2003






>On ven, 2003-01-03 at 18:48, Edward Quick wrote:
> > [...]
> >
> > The final report is getting generated, and most of the data/charts look
> > good, except for :
> >
> > By Period
> > Deliveries Attempts By 1d Period
> > Volume Delivered By 1d Period
> >
> > Hourly
> > Deliveries Attempts By 1h Period
> > Volume Delivered By 1h Period
> >
> > where all the values are zero, for example:
> >
> > By Period
> > Deliveries Attempts By 1d Period
> > Period Deliveries % Total
> > 2002-12-29 0 0.0
> > 2002-12-30 0 0.0
> > 2002-12-31 0 0.0
> > 2003-01-01 0 0.0
> > Total for 369236 records  369236 100.0
> >
> > If I generate the individual reports for each xml file though, the 
>results
> > for the categories above are fine.
> >
> > Is there a variable or some configuration I need to set to fix this for 
>the
> > merged report?
> >
>
>Not at all. This is a bug present in the 1.2 and 1.2.1 releases which
>makes the merging of time series data fail. I'm joining a simple patch
>which fixes that problem. You can apply it by running
>
>patch -p0 < timegroup-1.2.1.patch
>
>in the top-level directory of the Lire source tree. You'll need to run
>make install after that. (In case you were using the RPMS, the new RPMS
>which were released last week contained that fix.)
>
>
>Thanks for your interest in LogReport, kind Regards,
>
>Francis J. Lacoste
>


Thanks Francis,

I have applied the patch, but now I'm getting a new error:

$smpd9 lr_run lr_xml2report -U email -S postfix -o html  \
/home/ftp/src/rsl59/xml/report-20021230.235500.xml \
/home/ftp/src/rsl59/xml/report-20021231.235500.xml \
/home/ftp/src/rsl59/xml/report-20030101.235500.xml \
/home/ftp/src/rsl59/xml/report-20030102.235500.xml \
>/home/ftp/src/rsl59/reports/overall-report.tar

bogus message: Segmentation Fault - core dumped
email postfix lr_tag-20030106201244-11016 lr_xml2report err lr_xml_merge 
failed
email postfix lr_tag-20030106201244-11016 lr_xml2report notice keeping 
/home/ftp/src/rsl59/tmp/lr_xml2report.email.lr_tag-20030106201244-11016.xml 
for debugging
smpd9$

Reading symbolic information for perl
core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
dbx: program is not active
Reading symbolic information for libsocket.so.1
Reading symbolic information for libnsl.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libc.so.1
Reading symbolic information for libmp.so.2
Reading symbolic information for libc_psr.so.1
Reading symbolic information for en_UK.so.1
Reading symbolic information for Fcntl.so
Reading symbolic information for IO.so
Reading symbolic information for Expat.so
Reading symbolic information for libexpat.so.0
Reading symbolic information for DBI.so
Reading symbolic information for POSIX.so
program terminated by signal SEGV (no mapping at the fault address)
(dbx)

(dbx) where
=>[1] Perl_hv_fetch_ent(0xdd4080, 0x3c0250, 0x0, 0x41ad82, 0xdd3498, 
0x3dd2a4), at 0x631d0
  [2] Perl_pp_helem(0x3dc7a0, 0xdd6a0, 0x0, 0x0, 0xdd400, 0x40c920), at 
0x6b9d0
  [3] Perl_runops_standard(0xdd6a0, 0x5d9cb8, 0x1, 0x0, 0x1996e0, 
0x7000000), at 0xb1148
  [4] perl_run(0xdd000, 0xdcc00, 0xdd800, 0xdd000, 0xdd800, 0x800000), at 
0x26e14
  [5] main(0x0, 0xeffff684, 0xdc8e8, 0xd1400, 0x0, 0x0), at 0x24550
(dbx)


I really can't see what's causing this problem, though I suspect it may have 
something to do with the size of the logs I'm using:

smpd9$ ls -l xml
total 5708
-rw-r--r--   1 u752359  staff     508146 Jan  1 11:38 
report-20021230.235500.xml
-rw-r--r--   1 u752359  staff     469383 Jan  1 18:15 
report-20021231.235500.xml
-rw-r--r--   1 u752359  staff     500364 Jan  6 11:41 
report-20030101.235500.xml
-rw-r--r--   1 u752359  staff    1442646 Jan  5 17:58 
report-20030102.235500.xml
smpd9$

Thanks for helping me out.

Ed.


_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list