Patch Name: PHSS_17922 Patch Description: s700_800 10.X OV ITO4.0X OLIVETTI Agt Patch A.04.16 Creation Date: 99/09/21 Post Date: 99/10/01 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-OLI-CLT Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_17922 Symptoms: PHSS_17922: - Fix permission problem during Agent installation. - Various Problems with ITO Schedule templates/actions (NSMbb23930) - monitor agent is not robust against time-modification; like setting time backward on system. (NSMbb24756) PHSS_14163: - 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. Defect Description: PHSS_17922: check the list of the symptoms Resolution: check the list of the symptoms PHSS_14163: check the list of the symptoms SR: 1653276568 1653251173 1653243832 Patch Files: /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrclchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrdschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrndchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcroschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcnsl /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/ana_disk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/disk_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/last_logs.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/mailq_l.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/perf_alxp.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/proc_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/sh_procs.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/swap_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/vp_chk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/mwa_read.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/opcfwtmp.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/mailq_pr.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/st_inetd.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/st_mail.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/pv.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opcdf.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opclpst.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opcps.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/AgentPlatform /opt/OV/OpC/examples/progs/Makef.oli what(1) Output: /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrclchk: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrdschk: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrndchk: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcroschk: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrverchk: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcrinst: HP OpenView IT/Operations A.04.16 (03/20/00) /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/install/opcnsl: HP OpenView IT/Operations A.04.16 (03/20/00) UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/crt 1.o UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/crt i.o UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/val ues-Xt.o head:stdio.h 2.34.1.2 ATTDSG gencpu/gensys/uts/sys/types.h 1.1.1.3 gensys:select.h 1.1 gensys:socket.h 1.1 gensys:netconfig.h 1.1 kern-inet:in.h 1.1.3.2 kern-sys:stream.h PTrev: 2.3 23 Sep 1991 10:20:01 ATTDSG gencpu/gensys/uts/sys/vnode.h 1.1.2.2 gensys:time.h 1.1 head:time.h 1.18 ATTDSG gencpu/gensys/uts/sys/vfs.h 1.1.2.2 ATTDSG usr/src/gencpu/gensys/uts/sys 1.1.2.1 gensys:uio.h 1.1 gensys:cred.h 1.1 gensys:poll.h 1.2 head.sys:strmdep.h 1.1.1.1 kern-sys:strmdep.h PTrev: 2.1 24 Mar 1991 13:00:26 cldls:cldls/cldmac.h Revision: 2.3 2/6/92 14:45: 23 gensys:byteorder.h 1.1 ATTDSG gencpu/gensys/head/netdb.h 1.1.1.1 UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/lib c.so UNIX System V/386 Release 4.0: scde:/usr/ccs/lib/crt n.o /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/ana_disk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/disk_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/last_logs.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/mailq_l.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/perf_alxp.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/proc_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/sh_procs.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/swap_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/vp_chk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/mwa_read.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/monitor/opcfwtmp.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/mailq_pr.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/st_inetd.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/st_mail.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/actions/pv.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opcdf.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opclpst.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/A.04.16/RPC_NCS/cmds/opcps.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/olivetti/ intel/unix/AgentPlatform: None /opt/OV/OpC/examples/progs/Makef.oli: None cksum(1) Output: 2587023751 1679361 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/opc_pkg.Z 1086250553 26781 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcrclchk 1427345887 27964 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcrdschk 885818121 6268 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcrndchk 1086290659 6065 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcroschk 1352717407 27638 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcrverchk 3261795509 87576 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcrinst 690069302 10900 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/install/ opcnsl 3734606890 2554 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ ana_disk.sh.Z 2718334022 5888 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ cpu_mon.sh.Z 1416268874 5904 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ disk_mon.sh.Z 2205638472 5775 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ last_logs.sh.Z 1999856231 5751 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ mailq_l.sh.Z 134817138 3154 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ perf_alxp.sh.Z 3922494628 5886 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ proc_mon.sh.Z 3411618224 5336 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ sh_procs.sh.Z 104878154 5676 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ swap_mon.sh.Z 2612862911 5598 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ vp_chk.sh.Z 3619763009 5756 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ mwa_read.sh.Z 839445909 7751 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/monitor/ opcfwtmp.Z 3026193136 2531 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/actions/ mailq_pr.sh.Z 1761460675 2549 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/actions/ st_inetd.sh.Z 591474344 2669 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/actions/ st_mail.sh.Z 1194956890 5675 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/actions/ pv.sh.Z 813207032 318 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/cmds/ opcdf.Z 368092536 330 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/cmds/ opclpst.Z 2234310937 356 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/A.04.16/RPC_NCS/cmds/ opcps.Z 3468554372 4144 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/olivetti/intel/unix/AgentPlatform 2338269418 1609 /opt/OV/OpC/examples/progs/Makef.oli Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_14163 Equivalent Patches: None Patch Package Size: 2030 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_17922 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_17922.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_17922. 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_17922.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_17922.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.X 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. or with newer releases like A.05.X o This patch provides the HP OV IT/Operations Intelligent Agent to be used with a ITO 4.0x Management Server system, 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_17922 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_17922.depot It is recommended that you move the PHSS_17922.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_17922.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_17922 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_17922