the workaround (was: Re: lr_log2report causes bus error/core dump on Solaris 9 ...)

Somchai Kanjanapattana somchai.ka at YipInTsoi.COM
Sun Oct 31 05:56:41 CET 2004


    Workaround: DBD::SQLite2 after remark below line in Makefile and 
recompile again.
#OPTIMIZE = -O2

    But I had new problem while run lr_log2report command.

Thanks
Somchai.

==============================================================
Environment
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
export PATH
export LD_LIBRARY_PATH

Solaris 9 (Build with Gcc and Gnu Make)
Gcc version 3.3.2
GNU Make 3.80
Perl V5.8.0
     - XML::Parser module with Expat library
     - DBI
     - DBD::SQLite2
     # remark Makefile
     #OPTIMIZE = -O2
     - Curses::UI with Curses and TermReadKey
     - libintl-perl
     - Digest::MD5
     - MIME-Tools
Lire 2.0.1
 Ploticus
 teTeX
 Spreadsheet-WriteExcel perl module

(1)
#lr_log2report --output html combined access_log apache_report
Parsing log file using combined DLF Converter...
Extracted 788 DLF records on 788 lines.
Encountered 0 errors and ignored 0 lines.
Running analysers...
Generating XML report...
Formatting report as html in apache_report...
lr_log2report: ERROR
no element found at line 1, column 0, byte -1 at 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/XML/Parser.pm line 185

# cd apache_report
# ls -l
total 66
-rw-r--r--   1 root     other      10062 Oct 31 11:46 index.html
-rw-r--r--   1 root     other      16530 Oct 31 11:46 section-1.html
-rw-r--r--   1 root     other       5330 Oct 31 11:46 section-2.html


(2) debug
#truss -f -tstat lr_log2report --output html combined access_log 
apache_report
.
.
2859:   stat("/usr/lib//libc.so.1", 0xFFBFF324)         = 0
2859:   stat("/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1", 
0xFFBFF0E4) = 0
2826:   stat64("/usr/local/share/perl5/Carp/Heavy.pmc", 0xFFBFF7B0) Err#2 
ENOENT
2826:   stat64("/usr/local/lib/perl5/5.8.0/sun4-solaris/Carp/Heavy.pmc", 
0xFFBFF7B0) Err#2 ENOENT
2826:   stat64("/usr/local/lib/perl5/5.8.0/Carp/Heavy.pmc", 0xFFBFF7B0) 
Err#2 ENOENT
lr_log2report: ERROR
no element found at line 1, column 0, byte -1 at 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/XML/Parser.pm line 185

2826:   stat64("/tmp/Lire::ChartType_POcQMC", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_POcQMC/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_POcQMC", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZsByJS", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZsByJS/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZsByJS", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_7CQH6b", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_7CQH6b/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_7CQH6b", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_kIbnG6", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_kIbnG6/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_kIbnG6", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_gcZVx9", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_gcZVx9/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_gcZVx9", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_OKC4Bd", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_OKC4Bd/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_OKC4Bd", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZAVdrZ", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZAVdrZ/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_ZAVdrZ", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_JzmHdm", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_JzmHdm/errfile", 0x0010FFB0) = 0
2826:   stat64("/tmp/Lire::ChartType_JzmHdm", 0x0010FFB0) = 0
2826: 
stat64("/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/DESTROY.al", 
0x0010FFB0) Err#2 ENOENT




----- Original Message ----- 
From: "Francis J. Lacoste" <flacoste at logreport.org>
To: "Somchai Kanjanapattana" <somchai.ka at yipintsoi.com>; "Didier Faugeron" 
<didier.faugeron at capgemini.com>; "LogReport Questions List" 
<questions at logreport.org>
Sent: Sunday, October 31, 2004 3:47 AM
Subject: Re: the workaround (was: Re: lr_log2report causes bus error/core 
dump on Solaris 9 ...)


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