Bug 164039 - EventLogReader.exe not converting LsaSrv message correctly on EM64T
Summary: EventLogReader.exe not converting LsaSrv message correctly on EM64T
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP.monitoring (show other bugs)
Version: unspecified   Edit
Hardware: Other Windows Server 2003
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Rohit Shetty CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords: plan
Depends on:
Blocks:
 
Reported: 2006-11-09 17:43 EST by Dave Smith CLA
Modified: 2010-06-03 15:09 EDT (History)
3 users (show)

See Also:


Attachments
logs for dlls which are failed to load (8.79 KB, application/msword)
2007-05-02 14:20 EDT, Cindy Jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Smith CLA 2006-11-09 17:43:55 EST
The EventLogReader.exe program used for converting Windows Event logs to a text file does not convert an LsaSrv event message from the System log correctly on an EM64T machine running Windows 2003 Server Standard x64 Edition SP1.

For example, the Description of the LsaSrv event (EventID: 00001791) shown in the Windows Event Viewer is

An anonymous session connected from 9.22.33.44 has attempted to open an LSA policy handle on this machine. The attempt was rejected with STATUS_ACCESS_DENIED to prevent leaking security sensitive information to the anonymous caller.
 The application that made this attempt needs to be fixed.  Please contact the application vendor. As a temporary workaround, this security measure can be disabled by setting the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\TurnOffAnonymousBlock DWORD value to 1.
 This message will be logged at most once a day.

But the message field in the resulting error.log file output from EventLogReader.exe is:

Message: 9.22.33.44 ;

Note, the full message is included in error.log when running on an IA32 machine with Windows 2003 Server Standard Edition SP1
Comment 1 Dave Smith CLA 2006-11-09 17:50:22 EST
Deferring this to 4.4 because it is not a stop ship issue for 4.3.
Comment 2 Dave Smith CLA 2007-01-17 23:45:50 EST
Added sizing.
Comment 3 Dave Smith CLA 2007-02-06 02:25:10 EST
Targetting to fix in i3 and increasing priority to indicate it is planned for
4.4.  Reassigning to Cindy.
Comment 4 Cindy Jin CLA 2007-05-02 14:20:04 EDT
Created attachment 65663 [details]
logs for dlls which are failed to load

It is because that  some 64bit dlls are failed to load on 32bit application. The attached file is the dlls which can't be load successfully for system logs on EM64T platform. If the EventLogReader is built as 64bit application. The problem can be solved.
Comment 5 Dave Smith CLA 2007-05-05 01:50:21 EDT
The fix for this requires building a 64-bit version of EventLogReader.exe and using it for parsing Windows event log files on 64-bit Windows systems.  Build and packaging changes cannot be accomodated at this stage of the 4.4 release.  Deferring to future and this problem will be added to the 4.4 Release Notes.
Comment 6 Eric Labadie CLA 2007-08-09 13:27:17 EDT
This is required from AC perspective
Comment 7 Dave Smith CLA 2007-08-31 13:04:36 EDT
The fix for this problem requires the following:
1) A new version of the converter program (eventlogreader3.exe) built as a 64-bit application.  This requires adding it to the 64-bit native build that is currently building the 64-bit Windows Agent Controller and ensuring the resulting executable is included in all of the required packages (org.eclipse.hyades.logging.parsers plugin and stand-alone GLA).  This problem was found on Windows running on EM64T h/w.  It needs to be determined whether this problem also exists on IPF h/w and if so whether an IPF built executable is required to run on IPF machines.

2) Add new sub-directories under config/Windows/(application|security|system) for the adapters that use the 64-bit converter.  For these adapters we can try using one copy of the converter program stored in a higher directory as requested in bugzilla 199043.

3) Add new version to logParser extensions for the Windows Event Log parsers (eg. Windows 64-bit)

4) Add code to org.eclipse.hyades.logging.parsers.importer.ParserWrapper.modifyConverter method to handle case of new 64-bit converter program.
Comment 8 Alex Nan CLA 2007-10-12 11:11:14 EDT
Rohit for thise defect you would need to work with the build team to get the 64-bit EventLogReader.exe build.
Comment 9 Alex Nan CLA 2007-10-30 19:57:12 EDT
Targetting 4.5 i2. Resizing to 16h.
Comment 10 Alex Nan CLA 2007-11-05 18:20:38 EST
Changing target to 4.5 i4.
Comment 11 Rohit Shetty CLA 2007-11-21 00:23:36 EST
Joel,

Adding you to cc as this defect involves build changes:
A new version of the converter program (eventlogreader3.exe) built as a
64-bit application.  This requires adding it to the 64-bit native build that is
currently building the 64-bit Windows Agent Controller and ensuring the
resulting executable is included in all of the required packages
(org.eclipse.hyades.logging.parsers plugin and stand-alone GLA).
Comment 12 Alex Nan CLA 2007-12-12 00:09:25 EST
Targetting to i5, couldn't be contained in i4.
Comment 13 Alex Nan CLA 2008-02-07 14:59:12 EST
Reassigning to i6.
Comment 14 Rohit Shetty CLA 2008-03-21 09:18:22 EDT
Fixed, updated sizing to reflect actual work.
Comment 15 Paul Slauenwhite CLA 2009-06-30 09:56:18 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 16 Paul Slauenwhite CLA 2009-06-30 09:56:55 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.