Patch Name: PHSS_17913 Patch Description: s700_800 10.X OV ITO4.0X SCO UNIX Agt Patch A.04.16 Creation Date: 99/09/02 Post Date: 99/09/08 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-SCO-CLT Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_17913 Symptoms: PHSS_17913: - Fix permission problem during Agent installation. - support of SCO OpenServer 5.0.5 - Various Problems with ITO Schedule templates/actions (NSMbb23930) - monitor agent is not robust against time-modification; like setting time backward on system. (NSMbb24756) PHSS_14159: - 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_17913: check the list of the symptoms Resolution: check the list of the symptoms PHSS_14159: check the list of the symptoms SR: 1653276568 1653251173 1653243832 Patch Files: /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrclchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrdschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrndchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcroschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcnsl /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/ana_disk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/disk_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/proc_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/sh_procs.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/swap_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/vp_chk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/sco_tchk.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/opcfwtmp.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/st_inetd.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/sco_tclr.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/itogpm.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opcdf.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opclpst.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opcps.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/AgentPlatform /opt/OV/OpC/examples/progs/Makef.sco what(1) Output: /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrclchk: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrdschk: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrndchk: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcroschk: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrverchk: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcrinst: HP OpenView IT/Operations A.04.16 (08/16/99) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/install/opcnsl: HP OpenView IT/Operations A.04.16 (08/16/99) ntoa.c 4.2 Lachman System V STREAMS TCP source hostent.c 4.2 Lachman System V STREAMS TCP source bcmp.c 4.2 Lachman System V STREAMS TCP source res_query.c 4.3 Lachman System V STREAMS TCP source res_mkqry.c 4.3 Lachman System V STREAMS TCP source bcopy.c 5.1 Lachman System V STREAMS TCP source res_comp.c 4.2 Lachman System V STREAMS TCP source res_send.c 4.3 Lachman System V STREAMS TCP source ntohs.c 4.3 Lachman System V STREAMS TCP source recv.c 4.2 Lachman System V STREAMS TCP source res_init.c 4.3 Lachman System V STREAMS TCP source addr.c 4.3.1.1 Lachman System V STREAMS TCP source gethostnm.c 4.2.1.1 Lachman System V STREAMS TCP sou rce sendto.c 4.2 Lachman System V STREAMS TCP source ipdomain.c 4.2.1.1 Lachman System V STREAMS TCP sour ce strcasecmp.c 4.3 Lachman System V STREAMS TCP source connect.c 4.2 Lachman System V STREAMS TCP source htonl.c 4.3 Lachman System V STREAMS TCP source index.c 4.2 Lachman System V STREAMS TCP source send.c 4.2 Lachman System V STREAMS TCP source htons.c 4.3 Lachman System V STREAMS TCP source socket.c 4.2 Lachman System V STREAMS TCP source bzero.c 4.2 Lachman System V STREAMS TCP source crt1.s 1.8 89/05/30 sys.i386 5.1 91/01/31 stdio.h 10.4 92/08/19 strictname.h 10.4 92/03/25 limits.h 10.3 92/07/24 errno.h 10.2 92/03/26 errno.h 25.2 92/09/09 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 ntoa.c 6.1 :/source/lib/libsocket/port/inet/s.ntoa.c 5/20/86 01:26:15 types.h 23.14 91/11/23 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 types.h 23.14 91/11/23 param.h 25.2 92/08/03 s5param.h 23.4 91/03/16 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 limits.h 2.3 90/01/17 errno.h 1.9 89/07/12 errno.h 25.2 92/09/09 bcmp.c 1.1 :/source/lib/libsocket/port/4.2BSD/s.bcmp .c 9/22/86 18:24:05 types.h 23.14 91/11/23 param.h 25.2 92/08/03 s5param.h 23.4 91/03/16 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 limits.h 2.3 90/01/17 errno.h 1.9 89/07/12 errno.h 25.2 92/09/09 memory.h 1.10 89/07/12 limits.h 2.3 90/01/17 types.h 23.14 91/11/23 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 types.h 23.14 91/11/23 limits.h 2.3 90/01/17 types.h 23.14 91/11/23 param.h 25.2 92/08/03 s5param.h 23.4 91/03/16 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 limits.h 2.3 90/01/17 errno.h 1.9 89/07/12 errno.h 25.2 92/09/09 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 limits.h 2.3 90/01/17 addr.c 6.1 :/source/lib/libsocket/port/inet/s.addr.c 5/20/86 01:27:29 types.h 23.14 91/11/23 in.h 6.8 :/source/uts/common/sys/s.in.h 5/14/87 13:0 0:24 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 errno.h 1.9 89/07/12 errno.h 25.2 92/09/09 utsname.h 25.2 92/12/07 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 types.h 23.14 91/11/23 fcntl.h 1.7 89/07/12 fcntl.h 25.2 92/09/09 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 utsname.h 25.2 92/12/07 errno.h 1.9 89/07/12 errno.h 25.2 92/09/09 types.h 23.14 91/11/23 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 index.c 1.1 :/source/lib/libsocket/port/4.2BSD/s.ind ex.c 9/22/86 18:23:20 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 types.h 23.14 91/11/23 socket.h 6.20 :/source/uts/common/sys/s.socket.h 6/1 6/87 16:19:27 fcntl.h 25.2 92/09/09 bzero.c 1.1 :/source/lib/libsocket/port/4.2BSD/s.bze ro.c 9/22/86 18:23:51 remove.c 5.2 90/09/14 unistd.h 10.3 92/09/17 unistd.h 10.9 92/07/07 strictname.h 10.4 92/03/25 types.h 1.2 94/05/04 Bullseye unistd.h 23.6 91/10/01 stat.h 25.1 92/07/07 crtn.s 1.5 88/11/14 sys.i386 5.1 91/01/31 /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/ana_disk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/disk_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/proc_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/sh_procs.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/swap_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/vp_chk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/sco_tchk.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/monitor/opcfwtmp.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/st_inetd.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/sco_tclr.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/actions/itogpm.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opcdf.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opclpst.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/A.04.16/RPC_NCS/cmds/opcps.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sco/intel/ unix/AgentPlatform: None /opt/OV/OpC/examples/progs/Makef.sco: None cksum(1) Output: 1029586792 5968225 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/opc_pkg.Z 2473953009 26829 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcrclchk 2864703934 28071 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcrdschk 2245457035 6245 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcrndchk 135467540 6102 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcroschk 809434103 27635 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcrverchk 1775154127 80901 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/ opcrinst 3860475828 68290 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/install/opcnsl 2417542684 2542 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ ana_disk.sh.Z 2441777221 5866 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ cpu_mon.sh.Z 1398461308 5855 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ disk_mon.sh.Z 3828937246 6027 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ proc_mon.sh.Z 2876082020 5321 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ sh_procs.sh.Z 3649284198 5647 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ swap_mon.sh.Z 685486935 5590 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ vp_chk.sh.Z 2610882839 444 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ sco_tchk.sh.Z 3364058165 30727 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/monitor/ opcfwtmp.Z 1349764245 2545 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/actions/ st_inetd.sh.Z 2127314957 499 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/actions/ sco_tclr.sh.Z 4116386596 1373 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/actions/ itogpm.sh.Z 3877158378 315 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/cmds/opcdf.Z 2310412942 328 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/cmds/opclpst.Z 559757856 354 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/A.04.16/RPC_NCS/cmds/opcps.Z 2835071575 3479 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sco/intel/unix/AgentPlatform 3328503146 1127 /opt/OV/OpC/examples/progs/Makef.sco Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_14159 Equivalent Patches: None Patch Package Size: 6250 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_17913 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_17913.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_17913. 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_17913.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_17913.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_17913 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_17913.depot It is recommended that you move the PHSS_17913.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_17913.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_17913 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_17913