Patch Name: PHSS_30236 Patch Description: s700_800 11.23 EMS & HA Monitors (A.04.00.01) patch Creation Date: 04/02/18 Post Date: 04/04/05 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: B7609BA EMS A.04.00.01 B5736DA HA Monitors A.04.00.01 Filesets: EMS-Core.EMS-CORE,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP EMS-Core.EMS-CORE-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA,v=HP EMS-Config.EMS-GUI,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP EMS-Config.EMS-GUI-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA,v=HP EMS-MIBMon.MIBMON-RUN,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_30236: ABORT The MIB monitor, mibmond, may dump core when the status of the LAN interface that is being monitored is temporarily reported as DOWN. Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHSS_30236 Symptoms: PHSS_30236: 1. For SR 8606347914 (JAGaf08736) The emscli(1M) command generates incorrect script for console notification. 2. For SR 8606347652 (JAGaf08474) The description in the emscli(1M) manpage does not include the following information for the -g option: "If request IDs are not provided along with the -g option, the script generated includes all requests registered on the system." 3. For SR 8606347631 (JAGaf08453) The emscli(1M) command prints incorrect help message for the -g option. 4. For SR 8606336019 (JAGae97072) The command, resls /net/interfaces/lan/status, does not list all the LAN (Network) interfaces configured on the system. 5. For SR 8606333395 (JAGae94484) The MIB monitor, mibmond, may dump core when the status of the LAN interface that is being monitored is temporarily reported as DOWN. 6. For SR 8606332944 (JAGae94058) The emscli(1M) command does not set the default threshold value for enumerated resource instances. 7. For SR 8606332933 (JAGae94047) The emscli(1M) command with the -g option generates incorrect scripts for text log and syslog notification options. 8. For SR 8606332232 (JAGae93352) The emscli(1M) command does not display a valid severity for a request registered with the notification mechanism set to OPC. 9. For SR 8606320277 (JAGae82761) EMS notifications for resources of type, RM_FLOAT64_TYPE are reported in different format for syslog and SNMP/OPC. Defect Description: PHSS_30236: 1. Reason for SR 8606347914 (JAGaf08736) : The emscli(1M) command with the -g option incorrectly prints the notification mechanism as 'con' instead of 'console' while generating the script for a request registered with the notification mechanism set as console. Resolution : The emscli(1M) command has been fixed to generate the script file correctly. 2. Reason for SR 8606347652 (JAGaf08474) : The description in the emscli(1M) manpage does not include the following information for the -g option: "If request IDs are not provided along with the -g option, the script generated includes all requests registered on the system." Resolution : The description in the emscli(1M) manpage has been updated for the -g option by providing the following information as a note: "If request IDs are not provided along with the -g option, the script generated includes all requests registered on the system." 3. Reason for SR 8606347631 (JAGaf08453) : The help message for the -g option of the emscli(1M) command does not print the -f option before the filename option. Resolution : The help message for the emscli(1M) command has been fixed so that the correct help message is displayed for the -g option. 4. Reason for SR 8606336019 (JAGae97072) : The monitor, lanmond, does not get any IPv4 LAN interface information on a system on which IPv6 is installed. Resolution : The monitor, lanmond, now queries the correct SNMP MIB to obtain the list of all LAN interfaces on the system. 5. Reason for SR 8606333395 (JAGae94484) : When there is a request registered with lanmond, and if the status of the LAN interface that is monitored is temporarily DOWN, mibmond may dump core due to the data corruption that occurs on accessing an uninitialized variable. Resolution : The code has been fixed such that the uninitialized variable is not accessed and hence does not dump core. 6. Reason for SR 8606332944 (JAGae94058) : The threshold value does not get set while registering a monitoring request for an enumerated resource instance using default parameters. Resolution : The emscli(1M) command has now been fixed to set the default threshold value and register the request for enumerated resource instances. 7. Reason for SR 8606332933 (JAGae94047) : The emscli(1M) command with the -g option incorrectly prints the syslog notification as 'sys' and does not print the -l option for the text log file to the script file. Resolution : The emscli(1M) command has been fixed to generate the script file correctly. 8. Reason for SR 8606332232 (JAGae93352) : The emscli(1M) command with the -v option displays an invalid severity for a request registered with the notification mechanism set to OPC. Resolution : The emscli(1M) command has been fixed to report the appropriate severity for a request registered with the notification mechanism set to OPC. 9. Reason for SR 8606320277 (JAGae82761) : While SNMP/OPC notification is displayed in scientific notation, syslog notification is displayed in decimal notation for resources of type, RM_FLOAT64_TYPE. Resolution : EMS code has been modified to display SNMP/OPC and syslog notifications in decimal notation for resources of type, RM_FLOAT64_TYPE. Enhancement: No SR: 8606347914 8606347652 8606347631 8606336019 8606333395 8606332944 8606332933 8606332232 8606320277 Patch Files: EMS-Core.EMS-CORE,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: /etc/opt/resmon/lib/hpux32/libresmon.so.1 /etc/opt/resmon/lib/hpux32/librescli.so.1 /etc/opt/resmon/lib/hpux32/libtrapn.so.1 /etc/opt/resmon/lib/hpux32/libopcn.so.1 EMS-Core.EMS-CORE-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: /etc/opt/resmon/lib/libresmon.1 /etc/opt/resmon/lib/librescli.1 /etc/opt/resmon/lib/libtrapn.1 /etc/opt/resmon/lib/libopcn.1 /etc/opt/resmon/lib/nls/msg/C/resmon.cat EMS-Config.EMS-GUI,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: /opt/resmon/bin/emscli EMS-Config.EMS-GUI-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: /opt/resmon/share/man/man1m/emscli.1m /etc/opt/resmon/lib/nls/msg/C/emscli.cat EMS-MIBMon.MIBMON-RUN,fr=A.04.00.01,fa=HP-UX_B.11.23_IA, v=HP: /etc/opt/resmon/lbin/mibmond what(1) Output: EMS-Core.EMS-CORE,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: /etc/opt/resmon/lib/hpux32/libresmon.so.1: $Header: send_email_notification.c,v x.0306 98/08/05 08:35:47 $Header: log_source.c,v x.0305 98/07/29 11:00:47 hmg r Exp $ EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/hpux32/librescli.so.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/hpux32/libtrapn.so.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/hpux32/libopcn.so.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 EMS-Core.EMS-CORE-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: /etc/opt/resmon/lib/libresmon.1: $Header: send_email_notification.c,v x.0306 98/08/05 08:35:47 $Header: log_source.c,v x.0305 98/07/29 11:00:47 hmg r Exp $ EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/librescli.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/libtrapn.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/libopcn.1: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 /etc/opt/resmon/lib/nls/msg/C/resmon.cat: None EMS-Config.EMS-GUI,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: /opt/resmon/bin/emscli: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 EMS-Config.EMS-GUI-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: /opt/resmon/share/man/man1m/emscli.1m: None /etc/opt/resmon/lib/nls/msg/C/emscli.cat: None EMS-MIBMon.MIBMON-RUN,fr=A.04.00.01,fa=HP-UX_B.11.23_IA, v=HP: /etc/opt/resmon/lbin/mibmond: EMS (A.04.00.01 PHSS_30236) Build label: ISO_PHSS_30236_1123 SNMP++ 2.84 $Header: /tm/users/u0/katz/work/SNMPv3/s nmp++/src/RCS/address.cpp,v 2.0 2000/05/24 1 9:36:14 katz Exp katz $ SNMP++ 2.84 $Header: /tm/users/u0/katz/work/SNMPv3/s nmp++/src/RCS/counter.cpp,v 2.0 2000/05/24 1 9:36:14 katz Exp katz $ SNMP++ 2.84 $Header: /tm/users/u0/katz/work/SNMPv3/s nmp++/src/RCS/gauge.cpp,v 2.0 2000/05/24 19: 36:14 katz Exp katz $ SNMP++ 2.84 $Header: /tm/users/u0/katz/work/SNMPv3/s nmp++/src/RCS/octet.cpp,v 2.0 2000/05/24 19: 36:14 katz Exp katz $ SNMP++ 2.84 $Header: /tm/users/u0/katz/work/SNMPv3/s nmp++/src/RCS/ctr64.cpp,v 2.0 2000/05/24 19: 36:14 katz Exp katz $ cksum(1) Output: EMS-Core.EMS-CORE,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: 3754028955 691592 /etc/opt/resmon/lib/hpux32/libresmon.so.1 3488282267 312128 /etc/opt/resmon/lib/hpux32/librescli.so.1 661726480 49036 /etc/opt/resmon/lib/hpux32/libtrapn.so.1 2397989485 40964 /etc/opt/resmon/lib/hpux32/libopcn.so.1 EMS-Core.EMS-CORE-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: 3908997767 557056 /etc/opt/resmon/lib/libresmon.1 4150047454 253952 /etc/opt/resmon/lib/librescli.1 2043713476 61440 /etc/opt/resmon/lib/libtrapn.1 3192693157 32768 /etc/opt/resmon/lib/libopcn.1 4251185614 84432 /etc/opt/resmon/lib/nls/msg/C/resmon.cat EMS-Config.EMS-GUI,fr=A.04.00.01,fa=HP-UX_B.11.23_IA,v=HP: 2844539364 343376 /opt/resmon/bin/emscli EMS-Config.EMS-GUI-COM,fr=A.04.00.01,fa=HP-UX_B.11.23_IA/PA, v=HP: 2671807808 14348 /opt/resmon/share/man/man1m/emscli.1m 1247819993 7213 /etc/opt/resmon/lib/nls/msg/C/emscli.cat EMS-MIBMon.MIBMON-RUN,fr=A.04.00.01,fa=HP-UX_B.11.23_IA, v=HP: 3230369334 4362092 /etc/opt/resmon/lbin/mibmond Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 1530 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_30236 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30236.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30236. 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_30236.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30236.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30236.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 1. Restart all EMS clients after installing this patch. In addition, since shared library is being replaced, all the EMS monitors need to be killed to allow EMS to restart them automatically if required. Rebooting the system will ensure that all clients and monitors are restarted properly. 2. If the port numbers for the snmp and snmp-trap services are changed on a MC/ServiceGuard cluster node, the same change needs to be made on all other nodes in the cluster too. 3. EMS does not provide start and stop functionality. Thus, do not use /sbin/init.d/ems script to start or stop the EMS services.