having problems with s1ms reporting

Arnaud Taddei Arnaud.Taddei at sun.com
Wed Jul 9 06:45:03 CEST 2003


Cool thanks JEan-Yves. While at that, how much effort would it be to do 
a variation of the code with LOG_FORMAT=3? I think this would be a 
better default actually.

A++

Jean-Yves.Monnier wrote:

> Sorry to have been so long to reply, but I was on holidays !!! this could
> be considered as a good reason, and as usual a huge amount of mail to 
> be read
> and some to be answered.
>
> In order to produce logs that could be parsed by s1ms2dlf SunONE store 
> have
> to be configured as followed in option.dat file:
> ! VERSION=1.0
> ! Modified by IMS administration server on: Wed Aug 28 17:04:15 CEST 2002
> !
> ! Uncomment out the next 5 lines to enable Direct LDAP mode
> !ALIAS_MAGIC=8764
> !ALIAS_URL0=ldap:///$V?*?sub?$R
> !USE_REVERSE_DATABASE=4
> !REVERSE_URL=ldap:///$V?mail?sub?$Q
> !USE_DOMAIN_DATABASE=0
> MISSING_RECIPIENT_POLICY=1
> ALIAS_DOMAINS=6
> LOG_MESSAGE_ID=1
> LOG_MESSAGE=1
> LOG_PROCESS=1
> LOG_LOCAL=1
> LOG_CONNECTION=5
> LOG_FILENAME=1
> LOG_FORMAT=2
> LOG_USERNAME=1
>
> You could play with these logging parameters and see how log files 
> could be
> quite different. Arnaud Taddei have started a very interesting 
> document about
> these different logs.
> In exemple, if you don't set LOG_USERNAME=1, most of the log 
> information will
> be left shifted against expectations, but there is quite no way to 
> discover
> easily such a simple case.
>
> I will try to find some time next week to send all the jobs I've done to
> the logreport team. It has always been postponed due to fixed some 
> bugs or
> adding some enhancements. Now that log converters are running in 
> production
> mode for a significant time I consider them as validated.
> All modifications have been tested on lire-1.2.1 release, but as far as
> I have created patches to merge the lire release and my enhancements I
> guess it could work with lire-1.3
>
> kenavo
>
> Arnaud Taddei wrote:
>
>> It could be a configuration problem, you need to have the right 
>> options in the option.dat file. Maybe Jean-Yves can add something 
>> here. BTW Francis, do you have the latest version from our side?
>>
>> A++
>>
>> Francis J. Lacoste wrote:
>>
>>> On mar, 2003-06-17 at 18:03, Carlos Insunza wrote:
>>>    i've been trying to make a report from sun one messaging server
>>> logs, i sent mail, uploaded the log and installed lire to make it home
>>> .. none worked.
>>>    i'm using the mta log (didn't try with the pop, or imap, or http, or
>>> server logs) .... and when running lire at my server I've been able to
>>> report an apache log (so i presume the installation is ok) but when
>>> tryinf s1ms log i get this message:
>>>
>>> [root at linuxdes /]# lr_run lr_log2report -o txt s1ms <
>>> /tmp/mail.log_yesterday bogus message: /usr/libexec/lire/lr_log2xml: 
>>> line 68: 29059 Broken
>>> pipe             lr_store import_log $TMPSTORE $LR_SERVICE >>$STATSFILE
>>> email s1ms lr_tag-20030617184751-28985 lr_log2report err lr_log2xml 
>>> s1ms
>>> failed
>>>
>>>    I'm i doing anything wrong?? how can i debug this problem ??
>>>
>>>    the strangest thing is that de logreport sent to your server didn't
>>> work  ....
>>>
>>> This looks like a bug in the s1ms converter. This converter was
>>> contributed by a Lire user, but we don't have any sample log files to
>>> test it. If you sent us a sample log file, we might be able to debug
>>> it.
>>>
>>> Kind regards
>>>
>>> Francis J. Lacoste
>>>
>>>  
>>>
>>
>>
>
>


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



More information about the Development mailing list