Patch Name: PHSS_31835 Patch Description: s700_800 11.X OV ITO7.1X SunMC A.03.02 Creation Date: 04/08/10 Post Date: 04/08/19 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: OpenView Operations 7.1 Filesets: SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.00_32/64,v=HP SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_31835 Symptoms: PHSS_31835: Change Request: H555012932 SunMC integration subagent might not start if JAVA_HOME variable is not exported. Change Request: B555034335 command opcagt -stop -id 10 can't stop Mapper Change Request: H555012371 The SunMC 3.5 subagent files which are installed into /opt/OV/OpC/integration/sunmc/bin have user ID '16517' and group ID '12064'instead of root:other. PHSS_29266: Change Request: H555010346 OVO message that maps SunMC alarm did not contain classification of the alarm. Change Request: H555010390 A lot of failed opcmsg API calls reported in symerr.log log file from mapper. Change Request: H555010520 SunMC mapper does not catch all exceptions that can occur while acknowledging alarms (this is done using ackAlarms() API). After such exeption occurs, mapper fails to process further alarms. Here's the log of such failure : debug Jun 23 2003 14:52:02 main: Registering security scheme 'medium' (default) debug Jun 23 2003 14:52:02 main: Registering security scheme 'strong' debug Jun 23 2003 14:52:02 main: Registering security scheme 'weak' debug Jun 23 2003 14:52:02 main: Registering security scheme 'medium' (default) debug Jun 23 2003 14:52:02 main: Registering security scheme 'strong' debug Jun 23 2003 14:52:02 main: Registering security scheme 'weak' info Jun 23 2003 14:52:02 main: Using security scheme 'medium' info Jun 23 2003 14:52:07 UcTicker: ticker thread created java.lang.ClassCastException: [Ljava.lang.String; at java.lang.String.compareTo(Compiled Code) at com.sun.symon.base.client.alarm.SMAlarmObjectRequest.ackA larms(Compiled Code) at com.hp.ov.it.spi.symon.Mapper$CommandImplementation.Execu te(Mapper.java:947) at com.hp.ov.it.spi.symon.Mapper$MessageReceiver.CheckComman ds(Compiled Code) at com.hp.ov.it.spi.symon.Mapper$MessageReceiver.run(Compile d Code) Change Request: H555010521 SunMC mapper does not use full path when reading sy-other file. This is visible in the truss output : stat64("/var/opt/OV/tmp/OpC/sy-filen15r", 0xF96B13E0) Err#2 ENOENT stat64("/var/opt/OV/tmp/OpC/sy-filen16r", 0xF96B13E0) Err#2 ENOENT stat64("/var/opt/OV/tmp/OpC/sy-filen17r", 0xF96B13E0) Err#2 ENOENT stat64("/var/opt/OV/tmp/OpC/sy-filen18r", 0xF96B13E0) Err#2 ENOENT stat64("/var/opt/OV/tmp/OpC/sy-filen19r", 0xF96B13E0) Err#2 ENOENT stat64("/var/opt/OV/tmp/OpC/sy-filen20r", 0xF96B13E0) Err#2 ENOENT stat64("sy-other", 0xF96B13E0) Err#2 ENOENT Change Request: H555010129 getmsg program crashes when used on Solaris 9 and JAVA 1.4. Change Request: 8606307520 SunMC 3.5 is not supported with OVO/SunMC Integration 3.0. Change Request: H555010136 OVO/SunMC integration was not supported on Solaris 9. Defect Description: PHSS_31835: Change Request: H555012932 Problem is caused by SunMC's startup.profile script, changed with SunMC version 3.5 (versions lower then 3.5 handle CLASSPATH export differently), which expects the JAVA_HOME variable to be set. If it is not set then CLASSPATH is missing the location of SunMC java libraries and consequently the SunMC integration subagent fails to start. Added the JAVA_PATH variable check to subagent environment. If the JAVA_PATH variable is not set the subagent will abort. Change Request: B555034335 Problem is caused by SunMC's integration start file. Mapper was started via exec "mapper" and in that case Mapper's PID is lost. It is changed, now Mapper is started without exec. Change Request: H555012371 After installation of subagent on the system, ownership of directories below /opt is changed from root:other to 16517:12064. PHSS_29266: Change Request: H555010346 OVO message that maps SunMC alarm now contains alarm classification as an optional attribute ALARM_RULE_ID. It should be taken into account that SunMC_opcmsg (1|3) template was not changed accordingly. Change Request: H555010390 The reason for failed opcmsg calls was that message with severity unknown were sent. Now the default message severity is normal. Change Request: H555010520 SunMC mapper uses ackAlarms() API to acknowledge the alarms. Documentation for the function indicates that it can throw SMAPIException type of exceptions, but it can also throw generic Java exceptions which are not caught. SunMC mapper now catches all exceptions after using ackAlarms() API function. Change Request: H555010521 SunMC mapper doesn't use full path when opening sy- other file so it fails to process its contents. Full path to sy-other file is used when opening it for reading. Change Request: H555010129 getmsg program was changed to work with JAVA 1.4. Change Request: 8606307520 SunMC 3.5 is now supported with OVO/SunMC Integration 3.01. Change Request: H555010136 OVO/SunMC integration 3.01 is now supported on Solaris 9. Enhancement: No SR: H555012932 H555012371 H555010521 H555010520 H555010390 H555010346 H555010136 H555010129 B555034335 8606307520 Patch Files: SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.00_32/64,v=HP: SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.11_32/64,v=HP: /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/A.03.02/SYMINT.jar /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/A.03.02/sy-sa_sol_pkg /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/SubAgentPlatform /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/A.03.02/install/sy-sa_sol_install.sh /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/A.03.02/install/sy-sa_nt_install.bat /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/SubAgentPlatform what(1) Output: SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.00_32/64,v=HP: /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/A.03.02/SYMINT.jar: None /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/A.03.02/sy-sa_sol_pkg: HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI termios.h 1.6 92/07/14 SMI termios.h 1.34 97/01/24 SMI ttydev.h 1.7 92/07/14 SMI time.h 2.52 96/11/15 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI errno.h 1.14 95/10/30 SMI errno.h 1.16 95/07/04 SMI signal.h 1.31 96/05/20 SMI signal.h 1.50 97/04/16 SMI unistd.h 1.29 96/06/05 SMI procset.h 1.17 96/04/24 SMI string.h 1.19 96/03/12 SMI stdarg.h 1.38 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI feature_tests.h 1.13 97/06/26 SMI stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI stdarg.h 1.38 96/01/26 SMI HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) stdlib.h 1.40 97/06/30 SMI feature_tests.h 1.13 97/06/26 SMI string.h 1.19 96/03/12 SMI unistd.h 1.45 97/06/06 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 2.52 96/11/15 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI unistd.h 1.29 96/06/05 SMI stdio.h 1.49 97/05/09 SMI va_list.h 1.6 96/01/26 SMI stdarg.h 1.38 96/01/26 SMI errno.h 1.14 95/10/30 SMI errno.h 1.16 95/07/04 SMI stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI string.h 1.19 96/03/12 SMI iconv.h 1.2 94/01/21 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 2.52 96/11/15 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI stdarg.h 1.38 96/01/26 SMI stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI stdarg.h 1.38 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI feature_tests.h 1.13 97/06/26 SMI stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI fcntl.h 1.12 96/06/17 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 2.52 96/11/15 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI fcntl.h 1.37 96/07/07 SMI errno.h 1.14 95/10/30 SMI errno.h 1.16 95/07/04 SMI stat.h 1.34 96/06/03 SMI stdarg.h 1.38 96/01/26 SMI HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI fcntl.h 1.12 96/06/17 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 2.52 96/11/15 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI fcntl.h 1.37 96/07/07 SMI errno.h 1.14 95/10/30 SMI errno.h 1.16 95/07/04 SMI stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI fcntl.h 1.12 96/06/17 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI time.h 2.52 96/11/15 SMI time.h 1.25 96/03/12 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI fcntl.h 1.37 96/07/07 SMI errno.h 1.14 95/10/30 SMI errno.h 1.16 95/07/04 SMI stat.h 1.34 96/06/03 SMI stdarg.h 1.38 96/01/26 SMI HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) time.h 1.25 96/03/12 SMI feature_tests.h 1.13 97/06/26 SMI time.h 2.52 96/11/15 SMI types.h 1.51 97/05/06 SMI isa_defs.h 1.11 97/03/21 SMI machtypes.h 1.11 96/04/29 SMI int_types.h 1.4 96/09/25 SMI select.h 1.11 96/06/20 SMI siginfo.h 1.39 96/06/28 SMI machsig.h 1.12 96/04/29 SMI stat.h 1.34 96/06/03 SMI stdio.h 1.49 97/05/09 SMI va_list.h 1.6 96/01/26 SMI stdarg.h 1.38 96/01/26 SMI HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) stdio.h 1.49 97/05/09 SMI feature_tests.h 1.13 97/06/26 SMI va_list.h 1.6 96/01/26 SMI stdlib.h 1.40 97/06/30 SMI stdarg.h 1.38 96/01/26 SMI HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) HP OVO/SunMC Integration for Sun Solaris A.03.02 (08 /09/04) /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/SubAgentPlatform: None /var/opt/OV/share/databases/subagent/SunMC_integration/sun/ sparc/solaris/A.03.02/install/sy-sa_sol_install.sh: None /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/A.03.02/install/sy-sa_nt_install.bat: None /var/opt/OV/share/databases/subagent/SunMC_integration/ms/ intel/nt/SubAgentPlatform: None cksum(1) Output: SYMINT.SYMINT-CORE,fr=A.03.00,fa=HP-UX_B.11.00_32/64,v=HP: 2653388728 61985 /var/opt/OV/share/databases/subagent/ SunMC_integration/ms/intel/nt/A.03.02/SYMINT.jar 2767451581 190464 /var/opt/OV/share/databases/subagent/ SunMC_integration/sun/sparc/solaris/A.03.02/ sy-sa_sol_pkg 2265200095 769 /var/opt/OV/share/databases/subagent/ SunMC_integration/sun/sparc/solaris/SubAgentPlatform 2851908220 6749 /var/opt/OV/share/databases/subagent/ SunMC_integration/sun/sparc/solaris/A.03.02/install/ sy-sa_sol_install.sh 376526059 2391 /var/opt/OV/share/databases/subagent/ SunMC_integration/ms/intel/nt/A.03.02/install/ sy-sa_nt_install.bat 4177433567 459 /var/opt/OV/share/databases/subagent/ SunMC_integration/ms/intel/nt/SubAgentPlatform Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_29266 Equivalent Patches: ITOSOL_00345: sparcSOL: 2.7 2.8 2.9 Patch Package Size: 190 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_31835 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_31835.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_31835. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_31835.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_31835.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_31835.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None