Patch Name: PHSS_14158 Patch Description: s700_800 10.X OV ITO4.0X UNIX SVR4 Agent Patch Creation Date: 98/03/06 Post Date: 98/03/24 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 10.20 s800: 10.00 10.01 10.10 10.20 Products: OpenView IT/Operations 4.0 Filesets: OVOPC-CLT-ENG.OVOPC-NCR-CLT Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_14158 Symptoms: PHSS_14158: - ITO agent produced core if LC_CTYPE environment variable was set on anything but different than empty string " " This patch introduces a fix so that any LC_* variable and LANG variable can be set at any valid value. Valid values can be seen on each system by command "locale -a" - Agents may not startup automatically after a reboot because the llbd is not running. This patch introduces a modified startup script that checks for a running llbd and adds some wait cycles in case it is not yet up. - opcmon is writing into monagtp and that opcmona is not using it. Write call from opcmon and opcapi is now removed. - multiple opcmsg-tmpl get intermixed condition processing The msgi accidentially freed memory it was still referencing in the list of messages that were later sent to the server. The result were either totally corrupted messages, or simply messages with wrong attributes. With this patch, this severe malfunction is solved. - The agent was not installable on NCR 5xxx systems. - Support for NCR UNIX R.03.02. Defect Description: PHSS_14158: check the list of the symptoms SR: 1653251173 1653243832 Patch Files: /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrclchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrdschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrndchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcroschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcnsl /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/ana_disk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/disk_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/last_logs.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/mailq_l.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/perf_alxp.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/proc_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/sh_procs.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/swap_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/vp_chk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/mwa_read.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/opcfwtmp.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/mailq_pr.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/st_inetd.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/st_mail.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/pv.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/itogpm.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opcdf.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opclpst.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opcps.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/AgentPlatform /opt/OV/OpC/examples/progs/Makef.ncr what(1) Output: /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrclchk: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrdschk: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrndchk: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcroschk: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrverchk: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcrinst: HP OpenView IT/Operations A.04.03 (03/03/98) /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/install/opcnsl: HP OpenView IT/Operations A.04.03 (03/03/98) Version 94.09.14.14 Version 94.09.14.14 Version 94.09.14.14 :stdio.h 4.1.1.2 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/t ypes.h:types.h 1.2 head.sys:sys/types.h 11.33.3.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/m p/mplock.h:mplock.h 1.2 :mplock.h 16.16 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/i pl.h:ipl.h 1.1 head.sys:sys/ipl.h 1.1.2.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/m p/locksave.h:locksave.h 1.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/m p/mplock.h:mplock.h 1.2 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/s elect.h:select.h 1.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/t ime.h:time.h 1.1 head.sys:sys/time.h 1.16.3.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/t ypes.h:types.h 1.2 /sccs/NSTSRC/relmp/OS2.00.02/usr/src/uts/i386/sys/db t/t_map.h:t_map.h 1.1 head:time.h 1.18 head.sys:sys/select.h 1.2.3.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/s ocket.h:socket.h 1.2 head.sys:sys/socket.h 1.10.4.1 ./sccs/NSTSRC/relmp/OS2.00.00/usr/src/uts/i386/sys/n etconfig.h:netconfig.h 1.1 head.sys:sys/netconfig.h 1.4.4.1 :byteorder.h 16.1.1.2 Version 94.09.14.14 Version 94.09.14.14 Version 94.09.14.14 Version 94.09.14.14 /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/ana_disk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/disk_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/last_logs.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/mailq_l.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/perf_alxp.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/proc_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/sh_procs.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/swap_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/vp_chk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/mwa_read.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/monitor/opcfwtmp.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/mailq_pr.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/st_inetd.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/st_mail.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/pv.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/actions/itogpm.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opcdf.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opclpst.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/A.04.03/RPC_NCS/cmds/opcps.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/ncr/3000/ unix/AgentPlatform: None /opt/OV/OpC/examples/progs/Makef.ncr: None cksum(1) Output: 2265687245 1713575 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/opc_pkg.Z 886420673 26171 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcrclchk 3210107858 27325 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcrdschk 179830575 6142 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcrndchk 1735848910 6095 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcroschk 870223514 27293 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcrverchk 2601097174 83242 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/ opcrinst 2414966426 4140 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/install/opcnsl 670684591 2542 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ ana_disk.sh.Z 4128860653 5881 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ cpu_mon.sh.Z 4250063441 5905 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ disk_mon.sh.Z 1452523045 5769 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ last_logs.sh.Z 2216784143 5754 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ mailq_l.sh.Z 1435978051 3151 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ perf_alxp.sh.Z 227470379 5878 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ proc_mon.sh.Z 4154134357 5344 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ sh_procs.sh.Z 3269960633 5671 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ swap_mon.sh.Z 1674479550 5589 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ vp_chk.sh.Z 2357881547 5751 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ mwa_read.sh.Z 618606176 3602 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/monitor/ opcfwtmp.Z 3893389759 2528 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/actions/ mailq_pr.sh.Z 3972014142 2686 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/actions/ st_inetd.sh.Z 853480462 2666 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/actions/ st_mail.sh.Z 498867971 5678 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/actions/pv.sh.Z 3984264569 1370 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/actions/ itogpm.sh.Z 309850663 314 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/cmds/opcdf.Z 2574769893 326 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/cmds/opclpst.Z 1504545573 354 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/A.04.03/RPC_NCS/cmds/opcps.Z 291771641 4149 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/ncr/3000/unix/AgentPlatform 4176141734 1654 /opt/OV/OpC/examples/progs/Makef.ncr Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 2040 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_14158 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_14158.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_14158.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_14158. 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_14158.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_14158.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: BEFORE LOADING THIS PATCH... o You may use this patch with the following official ITO releases: A.04.0x o DO NOT use this patch with older releases of OpC or ITO, for example versions A.01.X, A.02.X or A.03.X. o This patch provides the HP OV IT/Operations Intelligent Agent to be used with a ITO 4.0x Management Server system, Oracle, English and Japanese version. (A) Patch Installation Instructions ------------------------------- (A1) Install the patch, following the standard 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. (you may use opc_backup) 2. Login as root. 3. Copy the patch to your /tmp directory and unshar it: # cd /tmp # sh PHSS_14158 4. For a standalone system, run swinstall to install the patch: NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the ITO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWINSTALL. # swinstall -x match_target=true \ -s /tmp/PHSS_14158.depot It is recommended that you move the PHSS_14158.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_14158.depot of=/dev/rmt/0m bs=2k NOTE: This patch must be installed on the ITO Management Server system, NOT on an ITO Managed Node directly. Changes will take effect on managed nodes by means of ITO Software Distribution (using 'Force Update' if there is already an agent installed on the managed node). See chapter 2 of the ITO Administrator's Reference manual for more information. (B) Patch Deinstallation Instructions --------------------------------- (B1) To deinstall the patch PHSS_14158 run swremove: NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the ITO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWREMOVE. # swremove PHSS_14158