Patch Name: PHSS_22897 Patch Description: s700_800 10.20 Event Monitoring Service(EMS A.03.20) patch Creation Date: 01/01/08 Post Date: 01/02/08 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: B7609BA EMS A.03.20 Filesets: EMS-Core.EMS-CORE,A.03.20 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_22897 Symptoms: PHSS_22897: 1. Symptom for defect JAGad39533: Not all resource requests are seen in the EMS GUI when more than 1023 resource instances have monitoring requests established against them. The resource requests exist, but they just can't be displayed by the EMS GUI. 2. Symptom for defect JAGad38867 Certain EMS files have permissions on them that are too open. The /etc/opt/resmon/log directory currently has permissions of 777 (along with /var/opt/resmon/log), and the /etc/opt/resmon/persistence/runlevel4_flag has 666. 3. Symptom for defect JAGad05568: Persistent monitoring requests sometimes disappeared after reboot. When same instance request has been setup both in a SG package and in SAM, the persistent request (setup in SAM) sometimes disappeared after reboot, but persistence file still contains the request. 4. Symptom for defect JAGad26096: EMS does not work properly when system is booted in single user mode and then issues 'init 3' to start up the system process. Defect Description: PHSS_22897: 1. Reason for JAGad39533 When the framework returns resource instance information back to a requestor, it fills in a table with the resource instances. The table size is fixed at 1023. If more than 1023 resource instances exist, then the additional resource instances are simply ignored and not returned to the caller. 2. Reason for JAGad38867 The files and/or directories involved here were simply created with permission values that are too open. 3. Reason for JAGad05568: There is a race condition between two p_clients. When the system is rebooted, SG starts up, sends EMS requests to EMS. But, the associated monitor is not running, so EMS registrar forks a p_client to start the monitor. But, this p_client did not get persistence lock, so registrar starts the monitor. Meanwhile, init p_client tries to process the persistence file, it found the monitor is running, so it skips the persistence file and requests lost. 4. Reason for JAGad26096: When the system is booted as single user mode, EMS commands in /etc/inittab do not get executed, so EMS does not know it is a reboot situation. SR: 8696170269 8606169592 8606136444 8606156762 Patch Files: /etc/opt/resmon/lbin/p_client /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lib/libresmon.1 /etc/opt/resmon/lib/nls/msg/C/resmon.cat /sbin/init.d/ems what(1) Output: /etc/opt/resmon/lbin/p_client: EMS (A.03.20 PHSS_22897) /etc/opt/resmon/lbin/registrar: EMS (A.03.20 PHSS_22897) /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.03.20 PHSS_22897) /etc/opt/resmon/lib/nls/msg/C/resmon.cat: None /sbin/init.d/ems: None cksum(1) Output: 4183580672 73728 /etc/opt/resmon/lbin/p_client 4056100356 135168 /etc/opt/resmon/lbin/registrar 1613231218 524288 /etc/opt/resmon/lib/libresmon.1 2476943273 79565 /etc/opt/resmon/lib/nls/msg/C/resmon.cat 1419108792 1592 /sbin/init.d/ems Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 860 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_22897 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_22897.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_22897. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_22897.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_22897.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 1. To use the functionality in this patch, you will need to restart all clients after installing this patch. In addition, since a shared library is being replaced, you will need to restart any monitors that are active.