newbie - no content in report

Edward Quick edwardquick at hotmail.com
Sat Dec 21 23:48:27 CET 2002





>
>>On jeu, 2002-12-19 at 16:08, Edward Quick wrote:
>> > Hi,
>> >
>> > A bit more information on this.
>> >
>> > I set LR_DEBUG to 1 and ran the log report again. This is the error 
>>output.
>> > I'm not too sure which part is significant as I am a new to this, but 
>>at a
>> > guess I'd say it is having a problem because it hasn't created the DLF
>> > records? This is the format of my postfix log. Is there anything wrong 
>>here?
>> >
>> > Dec 15 23:55:01 rsl176.abbc.com Message forwarded from rsl176:
>> > postfix/smtp[2177
>> > 6]: 8FB288004: to=<root at abc.com>, relay=amavisng[127.0.0.1], delay=1,
>> > status=sen
>> > t (250 2.6.0 Ok, id=16512-02, from MTA: 250 Ok: queued as 4F9C58009)
>>
>>The error is indeed caused by your syslog format. The culprit is the
>>"Message forwarded from rsl176:" which confuses our Syslog parser. I'll
>>add this on our BUGS list.
>>
>>In the mean time, I suggest your filter out that from your log file
>>using a perl one liner :
>>
>>perl -pe 's/Message forwarded from rsl176: //' maillog | lr_run ...
>>
>>Lire should then be able to generate a report from your log file.
>>
>>Thanks for your interest in LogReport, kind Regards,
>>
>>Francis J. Lacoste
>>
>
>Hi Francis,
>
>Thanks for the tip, that worked great except this time as the reports had 
>almost finished being generated , I got a core dump:
>
>ll postfix lr_tag-20021221192839-6141 lr_xml2report info started with 
>/home/ftp/src/rsl59/tmp/lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml
>all postfix lr_tag-20021221192839-6141 lr_check_prereq info started with 
>txt
>all postfix lr_tag-20021221192839-6141 lr_check_prereq info no specific 
>requirements
>all postfix lr_tag-20021221192839-6141 lr_xml2report info converting 
>/home/ftp/src/rsl59/tmp/lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml 
>to txt
>all postfix lr_tag-20021221192839-6141 lr_xml2report info gonna run 
>lr_xml2ascii on 
>/home/ftp/src/rsl59/tmp/lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml
>all postfix lr_tag-20021221192839-6141 lr_xml2ascii info started with no 
>argument
>bogus message: Segmentation Fault - core dumped
>all postfix lr_tag-20021221192839-6141 lr_xml2report err lr_xml2ascii 
>failed
>all postfix lr_tag-20021221192839-6141 lr_log2report err lr_xml2report 
>failed
>all postfix lr_tag-20021221192839-6141 lr_log2report notice keeping 
>/home/ftp/src/rsl59/tmp/lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml 
>for debugging.
>
>smpd9$ ls -l
>-rw-r-----   1 u752359  staff    4921256 Dec 21 19:54 core
>-rw-r--r--   1 u752359  staff    62864866 Dec 16 10:16 mail.log
>-rw-r--r--   1 u752359  staff      32768 Dec 21 19:54 postfix.txt
>drwxr-x---   2 u752359  staff       3072 Dec 21 19:54 tmp
>smpd9$
>
>I managed to recreate the problem by doing:
>
>smpd9$ lr_run lr_xml2report 
>../../rsl59/tmp/lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml
>
>smpd9$ ls -l
>-rw-r-----   1 u752359  staff    51168543 Dec 21 19:28 
>lr_log2report.postfix.lr_tag-20021221192839-6141.log
>-rw-r-----   1 u752359  staff     403964 Dec 21 19:54 
>lr_log2report.postfix.lr_tag-20021221192839-6141.report.xml
>
>I'm not sure what the problem was, but I can fairly definitely say it 
>wasn't permissions or space.
>
>I had a quick look at the core file and it contains a lot of entries 
>saying:
>
>shCan't exec "%s": %sUnrecognized signal name "%s"Bad arg length for %s, is 
>%lu,
>should be %ldArg too short for msgsndCan't msgrcv to readonly varNULL 
>regexp pa
>rameter/%.127s/: %s%s limit (%d) exceeded%s limit (%d) exceeded%lx %d
>/%.127s/: %s/%.127s/: %sInsecure %s%sInsecure directory in %s%sInsecure 
>$ENV{%s}
>%sInsecure $ENV{%s}%sRecursive inheritance detected in package '%s'Can't 
>locate
>package %s for @%s::ISAUNIVERSALUsage: UNIVERSAL::isa(reference, 
>kind)Usage: UNI
>VERSAL::can(object-ref, method)Cannot find version of an unblessed 
>reference%s v
>ersion %s required--this is only version 
>%s10123456789abcdef0123456789ABCDEF\.^$
>@dDwWsSbB+*?|()-nrtfeaxc0123456789[{]}fallbackabsboolnomethod""0+++=--=**=//=%%=
>****=<<<<=>>>>=&&=||=^^=<<=>>===!=<=>cmpltlegtgeeqne!~++--atan2cossinexplogsqrtx
>x=..==negpanic: sprintf overflow - memory corrupted!
>acos: DOMAIN error
>asin: DOMAIN error
>atan2: DOMAIN error
>y0: DOMAIN error
>y0: DOMAIN error
>y1: DOMAIN error
>y1: DOMAIN error
>yn: DOMAIN error
>
>The tail of the core file says:
>
>/usr/bin/perl-w/home/ftp/src/lire/libexec/lire/lr_xml2asciiCC=cc 
>-gCRPATH=/opt/local/crisp/macrosDDMF_HOST=cenwsrs1EDITOR=viHOME=/home/ftp/src/rsl59HZ=100LC_COLLATE=en_UKLC_CTYPE=en_UKLC_MESSAGES=CLC_MONETARY=en_UKLC_NUMERIC=en_UKLC_TIME=en_UKLOGNAME=u752359LR_ARCHIVE=LR_ARCHIVEDIR=/home/ftp/src/lire/var/lib/lire/dataLR_DBDIR=/home/ftp/src/lire/var/lib/lire/data/metaLR_DBFILE=/home/ftp/src/lire/var/lib/lire/data/meta/indexLR_DBI_PASSWD_FILE=LR_DBI_URI=LR_DBI_USER=LR_DEBUG=1LR_DISCLAIMERFILE=/home/ftp/src/lire/etc/lire/disclaimerLR_EXTID=localhostLR_FAILEDDIR=/home/ftp/src/lire/var/lib/lire/data/email/raw/failedLR_GZIP=/usr/local/bin/gzipLR_ID=lr_tag-20021221192839-6141LR_IMAGE_FORMAT=pngLR_IMAGE_RESOLUTION=128LR_IMAGE_STYLE=gdLR_KEEP=LR_SCALE_BYTES=1LR_SCALE_NUMBER=LR_SCALE_SEC=1LR_SENDMAIL=/usr/sbin/sendmailLR_SERVICE=postfixLR_SIGNATUREFILE=/home/ftp/src/lire/etc/lire/signatureLR_SQL_ARCHIVE=LR_SQL_MAX_SIZE=1000000LR_TAR=/usr/bin/tarLR_USERLEVEL=no
>r
>malLR_WEEK_NUMBERING=UMAIL=/var/mail/u752359PATH=/home/ftp/src/lire/libexec/lire:/home/ftp/src/lire/libexec/lire/convertors:/home/ftp/src/lire/bin:/home/ftp/src/lire/libexec/lire:/home/ftp/src/lire/libexec/lire/convertors:/home/ftp/src/lire/bin:/home/ftp/src/lire/libexec/lire:/home/ftp/src/lire/libexec/lire/convertors:/home/ftp/src/lire/bin:/usr/java1.3/bin:/usr/bin::/usr/ccs/bin:/opt/SUNWspro/bin:/usr/local/bin:/opt/apache/bin:/home/ftp/src/lire/bin:/home/ftp/src/rsl59PS1=smpd9$ 
>PWD=/home/ftp/src/rsl59SHELL=/bin/kshTERM=xtermTMPDIR=/home/ftp/src/rsl59/tmpTZ=GB_=/home/ftp/src/lire/bin/lr_runSUNW,Ultra-Enterprise-10000/home/ftp/src/lire/libexec/lire/lr_xml2ascii
>
>
>All I can think of is there might be a maximum size limit on the log file 
>you can run log2report on?
>
>Thanks for your help,
>
>Best Rgds,
>
>Ed.
>

Just tried it setting the output as html and that worked fine. But 
presumably if I want to use the email function later I need to get the text 
output mode working. Going to try ploticus now!

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf

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