A fix is available
APAR status
Closed as program error.
Error description
APAR Type: Field Approver Initials: HT Severity: 2 Reported Release: 623 Compid: 5724C04MS Tivoli Enterprise Management Server ABSTRACT: Stack corruption results in segmentation fault. PROBLEM DESCRIPTION: Local automation operations message KFAST003 can cause stack corruption by kglmsww.c's SendUniversalMessage() function. Two local character arrays in this function, univMsg[] and tmpMsg[] can be overrun causing stack corruption, leading to a segmentation fault. RECREATE INSTRUCTIONS: The following were the steps performed when level 2 reproduced the failure reported here: Setup LogFile Agent with LFA_Oracle.fmt and LFA_Oracle_HPDB.conf and imported a situation HP_LOG_Oracle_C.xml. I made LFA to read alert_oracle.log, then kdsmain will crash. The following is the xml for the HP_LOG_Oracle_C mentioned above: <TABLE><ROW><SITNAME>HP_LOG_Oracle_C</SITNAME><FULLNAME></FULLNA ME><ADVISE>*NONE</ADVISE><AFFINITIES>%IBM.KLO0000000000######### </AFFINITIES><ALERTLIST/><AUTOSOPT>YNY</AUTOSOPT><AUTOSTART>*YES </AUTOSTART><CMD>set -f;/tmp/mail.sh HP_LOG_Oracle_C &{KLO_LOGFILEEVENTS.Node} "&{KLO_LOGFILEEVENTS.Logname}" "&{KLO_LOGFILEEVENTS.msg}"</CMD><DESTNODE/><HUB/><LOCFLAG/><LSTC CSID>ja_JP</LSTCCSID><LSTDATE>1121113090916000</LSTDATE><LSTRELE ASE>V100</LSTRELEASE><LSTUSRPRF>SYSADMIN</LSTUSRPRF><NOTIFYARGS/ ><NOTIFYOPTS/><OBJECTLOCK/><PDT>*IF *VALUE KLO_LOGFILEEVENTS.Class *EQ '*' *UNTIL ( *TTL 1:00:00:00 )</PDT><PRNAMES/><QIBSCOPE>E</QIBSCOPE><REEV_DAYS>0</REEV_DAYS>< REEV_TIME>000000</REEV_TIME><REFLEXOK/><SENDMSGQ>*NONE</SENDMSGQ ><SITINFO>ATOM=KLOLOGEVTS.LOGNAME;TFWD=Y;TDST=0;~;</SITINFO><SOU RCE/><TEXT></TEXT><DISTRIBUTION>Oracle:TIVTEST:LO</DISTRIBUTION> </ROW></TABLE>
Local fix
The segmentation fault reported here can be prevented by specifying the following environment variable: KGL_MSG2_UNIVERSAL=NO Note: Setting the above environment variable will disable operations/MSG2 messages from being written to the Universal Messge table. Situations authored to query the universal message table will no longer function correctly. Additionally, the TEP Universal Message Console interface will no longer display any data.
Problem summary
**************************************************************** * USERS AFFECTED: All TEMS users. * **************************************************************** * PROBLEM DESCRIPTION: SITUATIONS THAT DEFINE AN ACTION TO * * EMIT A MESSAGE TO THE UNIVERSAL MESSAGE * * CONSOLE MAY CRASH THE MONITORING * * SERVER. * **************************************************************** * RECOMMENDATION: Apply the PTF. * **************************************************************** Situations that define an Action to emit a message to the Universal Message Console may crash the monitoring server due to a memory overwrite condition. This occurs when a translated message is more than 254 bytes.
Problem conclusion
Logic was corrected to guard against the memory overwrite, thus preventing a crash of the monitoring server and allowing a truncated message with a trailing ellipsis to be sent to Universal Message Console.
Temporary fix
Comments
APAR Information
APAR number
OA43303
Reported component name
MGMT SERVER DS
Reported component ID
5608A2800
Reported release
623
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-10
Closed date
2013-10-10
Last modified date
2013-11-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
KGLBASE KNSNLS2
Fix information
Fixed component name
MGMT SERVER DS
Fixed component ID
5608A2800
Applicable component levels
R623 PSY UA71029
UP13/10/23 P F310
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSRJ5K","label":"Tivoli Management Server for Distributed Systems on z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"623","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]
Document Information
Modified date:
04 November 2013