Patch Name: PHSS_13939

Patch Description: s700_800 10.X OV ITO4.0X Oracle Server patch

Creation Date: 98/03/18

Post Date:  98/03/19

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.0x

Filesets:
	OVOPC.OVOPC-UX-MGR78 OVOPC.OVOPC-LIB OVOPC-JPN.OVOPC-GUI-JPN
	OVOPC-ORA.OVOPC-GUI-ORA OVOPC-ORA.OVOPC-UX-ORAA
	OVOPC.OVOPC-MAN OVOPC.OVOPC-GUI-ENG OVOPC-DEV.OVOPC-DEV-MAN
	OVOPC-ORA.OVOPC-UX-ORAB OVOPC.OVOPC-GUI

Automatic Reboot?: No

Status: General Superseded

Critical: No

Path Name: /hp-ux_patches/s700_800/10.X/PHSS_13939

Symptoms:
	PHSS_13939:
	- Converting a date/time string with date 02/09/2000
	  to integer (sec. since 1900) fails. The range check
	  of valid days of a month calculates leap years
	  wrong.
	- If a scheduled action is defined for the last day
	  in each month (day of month = 31, month = blank),
	  the action will be executed on Feb. 28th 2000 instead
	  of Feb. 29th 2000.
	- Time template evaluation fails. Messages will be sent
	  to the wrong manager, in case of a DATE FROM/TO
	  definition with a 4 digit year.
	- The ovoareqsdr is growing to the maximum
	  (kernel parameter) then it coredumps.
	- When moving config info from one server to another
	  using cfgdwn/upld a directory is missing. This leads
	  to an error message when modifying this operator.
	- Sending a lot of messages with automatic actions
	  causes the action manager to stop handling the
	  actrespq after a while
	- In some Environments messages cannot be added to DB
	- User is configured for NOT being able to acknowledge
	  messages, but the user can display, own and THEN
	  acknowledge any message
	- Service Guard, the virtual node is assigned to a
	  template group holding the trap template then
	  distributing to the virtual node result in NO trap
	  interceptor running and the files in
	  /etc/opt/OV/share/conf/OpC/mgmt_sv/opcsgtemplates
	  are deleted.
	- Message events from messages from the message group
	  'misc' will not be forwarded to the Message Event
	  Interface
	- When downloading treshold monitor templates, if
	  the template has only one condition and the
	  condition and the condition has no intruction,
	  then the instruction for the template will not
	  be downloaded.
	- opccfgdwn downloads registration file xnmmibgraph
	  (for app. mibgraph) only for user netop, although
	  app. is registered with every user
	- opcack requires user and password information
	- Communication type for ITO A.04.00 updated with
	  /opt/OV/bin/utils/switch_commtype.sh - if the
	  parameter for this script was DCE_TCP the ITO GUI
	  shows DCE_UDP as the communication type.
	- ITO uses selection name for copy/paste instead of
	  hostname
	- In big Environments (a lot of node groups and
	  message groups) - closing the message browser
	  configuration screen causes a high CPU load.
	- When selecting nodes for broadcast command it is
	  possible to select all kinds of funny objects, e.g.
	  the IP internet symbol. These objects should never
	  make it into the list.
	- Several memory leaks in the server processes.
	- If the system is brought done via shutdown and any
	  ITO GUI are still running it is not possible to
	  shutdown the database properly as connection are
	  still in use.
	- if the distributed gui client is blocked
	  (stale NFS handles, SIGSTOP), the opc server
	  processes (opcactm, opcmsgm, opcdispm) are locked
	  also because RPC calls do not time out.

	PHSS_12543:
	- opctranm does not print errorlist when an error is
	  encountered.
	- opcuiopadm coredumps during startup.
	- Subagent installation says that ctla/acta not running
	  when the opcmsga is down.
	- opctranm sometimes hangs during subagent installation
	  due to a plugged up magmgrq.
	- ovoareqsdr can potentially have  multiple threads
	  communicating to the same agent in parallel.
	- View-only operators can start operator-initiated
	  actions.
	- opcupgrade claims that Oracle 7.3.3 is not supported.
	- Use instruction text I/F and deleting it from list
	  shows inconsistent state.
	- ovtrap2opc doesn't load CiscoWorks trapd.conf.
	- Insufficient error documentation
	- A critical error message appears in ITO message
	  browser during subagent installation (subagent not
	  registered).
	- Mass upgrade of 10.x nodes uncomfortable: each node
	  needs	manual modify.
	- Server processes have memory leaks.
	- Auditing writes multiple identical messages for
	  opc_adm.
	- opc_backup won't mount more than one logical volume
	  on MC/Service Guard if the shared volume group
	  contains several logical volumes.

Defect Description:
	PHSS_13939:
	- See the list of the symptoms.

	PHSS_12543:
	- See the list of the symptoms.

SR:
	1653224642 5003393629 1653232413 5003393256 5003388876

Patch Files:
	/opt/OV/man/man3.Z/opcmsg_select.3
	/opt/OV/lib/nls/C/opcsv.cat
	/opt/OV/lib/nls/C/opcinstr.cat
	/opt/OV/lib/nls/C/opcinst.cat
	/opt/OV/lib/nls/ja_JP.SJIS/opcsv.cat
	/opt/OV/lib/nls/ja_JP.SJIS/opcinst.cat
	/opt/OV/lib/nls/ja_JP.SJIS/opcinstr.cat
	/opt/OV/lib/libopcdb.sl
	/opt/OV/bin/OpC/opcuiop
	/opt/OV/bin/OpC/opcuiop.bin
	/opt/OV/lib/libopcsv_r.sl
	/opt/OV/man/man1m.Z/opc_backup.1m
	/opt/OV/man/man4.Z/msiconf.4
	/opt/OV/bin/OpC/opcuiadm.bin
	/opt/OV/bin/OpC/opcuitadm.bin
	/opt/OV/bin/OpC/opcuiopadm.bin
	/opt/OV/bin/OpC/install/opctranm
	/opt/OV/bin/OpC/install/opcupgrade
	/opt/OV/bin/OpC/agtinstall/opcsainst
	/opt/OV/bin/OpC/utils/ovtrap2opc
	/opt/OV/bin/OpC/opcackmsg
	/opt/OV/bin/OpC/opcactm
	/opt/OV/bin/OpC/opcctlm
	/opt/OV/bin/OpC/opcdispm
	/opt/OV/bin/OpC/opcmsgm
	/opt/OV/bin/OpC/ovoareqsdr
	/opt/OV/bin/OpC/utils/switch_commtype.sh
	/opt/OV/bin/OpC/opcuiadm
	/opt/OV/bin/OpC/opcuiopadm
	/opt/OV/bin/OpC/opcack
	/opt/OV/bin/OpC/opccfgdwn
	/opt/OV/bin/OpC/opccfgupld
	/opt/OV/bin/OpC/opc_backup
	/opt/OV/bin/OpC/opc_recover

what(1) Output:
	/opt/OV/man/man3.Z/opcmsg_select.3:
		None
	/opt/OV/lib/nls/C/opcsv.cat:
		None
	/opt/OV/lib/nls/C/opcinstr.cat:
		None
	/opt/OV/lib/nls/C/opcinst.cat:
		None
	/opt/OV/lib/nls/ja_JP.SJIS/opcsv.cat:
		None
	/opt/OV/lib/nls/ja_JP.SJIS/opcinst.cat:
		None
	/opt/OV/lib/nls/ja_JP.SJIS/opcinstr.cat:
		None
	/opt/OV/lib/libopcdb.sl:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcuiop:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcuiop.bin:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/lib/libopcsv_r.sl:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/18/
			98)
	/opt/OV/man/man1m.Z/opc_backup.1m:
		None
	/opt/OV/man/man4.Z/msiconf.4:
		None
	/opt/OV/bin/OpC/opcuiadm.bin:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcuitadm.bin:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcuiopadm.bin:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/install/opctranm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/install/opcupgrade:
		HP OpenView IT/Operations A.04.02  (02/17/98)
	/opt/OV/bin/OpC/agtinstall/opcsainst:
		HP OpenView IT/Operations A.04.02  (02/17/98)
	/opt/OV/bin/OpC/utils/ovtrap2opc:
		HP OpenView IT/Operations A.04.02  (02/17/98)
	/opt/OV/bin/OpC/opcackmsg:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcactm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcctlm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcdispm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcmsgm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/ovoareqsdr:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/utils/switch_commtype.sh:
		HP OpenView IT/Operations A.04.02  (02/17/98)
	/opt/OV/bin/OpC/opcuiadm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcuiopadm:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opcack:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opccfgdwn:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opccfgupld:
		HP OpenView IT/Operations A.04.02 PHSS_13939 (03/17/
			98)
	/opt/OV/bin/OpC/opc_backup:
		HP OpenView IT/Operations A.04.02  (02/17/98)
	/opt/OV/bin/OpC/opc_recover:
		HP OpenView IT/Operations A.04.02  (02/17/98)

cksum(1) Output:
	4000293616 2893 /opt/OV/man/man3.Z/opcmsg_select.3
	3048527569 264831 /opt/OV/lib/nls/C/opcsv.cat
	4278003364 283482 /opt/OV/lib/nls/C/opcinstr.cat
	1234127523 54163 /opt/OV/lib/nls/C/opcinst.cat
	3952449412 284993 /opt/OV/lib/nls/ja_JP.SJIS/opcsv.cat
	1360007797 58136 /opt/OV/lib/nls/ja_JP.SJIS/opcinst.cat
	1807301814 279293 /opt/OV/lib/nls/ja_JP.SJIS/opcinstr.cat
	1115928582 1111705 /opt/OV/lib/libopcdb.sl
	1447596670 2885824 /opt/OV/bin/OpC/opcuiop
	1541530516 459742 /opt/OV/bin/OpC/opcuiop.bin
	78437232 2720951 /opt/OV/lib/libopcsv_r.sl
	3478094978 8245 /opt/OV/man/man1m.Z/opc_backup.1m
	3674052760 1336 /opt/OV/man/man4.Z/msiconf.4
	2995978410 1290834 /opt/OV/bin/OpC/opcuiadm.bin
	2286456945 594968 /opt/OV/bin/OpC/opcuitadm.bin
	658465161 456258 /opt/OV/bin/OpC/opcuiopadm.bin
	1857047635 28761 /opt/OV/bin/OpC/install/opctranm
	3313028032 73323 /opt/OV/bin/OpC/install/opcupgrade
	3085993949 23218 /opt/OV/bin/OpC/agtinstall/opcsainst
	917157234 14905 /opt/OV/bin/OpC/utils/ovtrap2opc
	3053234017 1682192 /opt/OV/bin/OpC/opcackmsg
	1922527288 1727348 /opt/OV/bin/OpC/opcactm
	2278830001 1801424 /opt/OV/bin/OpC/opcctlm
	1903619491 1842532 /opt/OV/bin/OpC/opcdispm
	1811142478 1735548 /opt/OV/bin/OpC/opcmsgm
	381349735 1867148 /opt/OV/bin/OpC/ovoareqsdr
	1884498672 5653 /opt/OV/bin/OpC/utils/switch_commtype.sh
	1820580363 3238868 /opt/OV/bin/OpC/opcuiadm
	2978708959 2865352 /opt/OV/bin/OpC/opcuiopadm
	70120938 1690396 /opt/OV/bin/OpC/opcack
	538801177 1825760 /opt/OV/bin/OpC/opccfgdwn
	3363435324 2264148 /opt/OV/bin/OpC/opccfgupld
	3316477305 54971 /opt/OV/bin/OpC/opc_backup
	959535241 43761 /opt/OV/bin/OpC/opc_recover

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHSS_12543

Equivalent Patches: None

Patch Package Size: 32860 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_13939

	5a. For a standalone system, run swinstall to install the
	    patch:

		swinstall -x autoreboot=true -x match_target=true \
			-s /tmp/PHSS_13939.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_13939.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_13939.  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_13939.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_13939.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 It provides bug fixes and enhancements
	      for ITO 4.0x Management
	      Server system, Oracle, English and Japanese
	      version.

	(A) Patch Installation Instructions
	    -------------------------------
	(A1)  Stop all ITO processes on your Management Server;
	      this includes manager processes, communication
	      processes and user-interface processes on the
	      machine.

	       - Stop all the ITO GUIs that are running, by using
	         the "File:Exit"  menubar item
	       - Stop the ITO Manager processes:

	         # ovstop opc ovoacomm

	         If any ITO process is still running, kill it
		 manually:

		 # kill -9 <pid-of-orphaned-process>

	      If your are running ITO Distributed GUI shutdown
	      ITO on all Distributed GUI clients as well:

	       - If your are running the Mount Model DGUI apply
	         the patch only to the server
	       - If you are running the Full Model DGUI apply
	         the patch on ALL DGUI clients

	      If you are running ITO in an MC/ServiceGuard
	      installation:

	       - Apply this patch to all MC/SG cluster nodes
	       - The server processes need to be stopped with:

	         # cmhaltpkg OpC

	(A2)  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_13939

	      4. For a standalone system, run swinstall to install
	         the patch:

	         # swinstall -x match_target=true \
	                     -s /tmp/PHSS_13939.depot

	        By default swinstall will archive the original
	        software in /var/adm/sw/patch/PHSS_13939.
	        If you do not wish to retain a copy of the
	        original, 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_13939.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/${PATCH).depot of=/dev/rmt/0m bs=2k

	(A3)  After installing PHSS_13939, restart the ITO processes
	      on your Management Server system:

	      - Restart the ITO Manager processes, and check that
	        the processes are running:

	        # /usr/OV/bin/OpC/opcsv -start
	        # /usr/OV/bin/OpC/opcsv -status

	NOTE: If you previously didn't have PHSS_12543 installed you
	      should remove the following files before starting up
	      the IT/Operations server processes again (the magmgr
	      queue file might contain entries that are never read
	      and thus plug up the queue):

	      /var/opt/OV/share/tmp/OpC/mgmt_sv/magmgrq
	      /var/opt/OV/share/tmp/OpC/mgmt_sv/magmgrp

	NOTE: This is for MC/Service Guard users ONLY:

	      Please edit the '/sbin/init.d/ov500' as described
	      below:

	      Before these lines (near the end of the script):
	        $ECHO_CMD "Network management daemons stopped: \c"
	        if [ -x $OVHOME/bin/ovstop ]; then
	                $OVHOME/bin/ovstop  && echo "ovstop \c"
	        fi

	      add this:
	        if [ -x $OVHOME/bin/OpC/opcshutprocs ]; then
	            $ECHO_CMD "\nStop remaining ITO GUI processes."
	                $OVHOME/bin/OpC/opcshutprocs -gui
	        fi

	(B) Patch Deinstallation Instructions
	    ---------------------------------
	(B1)  To deinstall the patch PHSS_13939 run swremove:

	      NOTE: Before removing the patch, stop all
		    ITO server processes, as described in
		    the Patch Installation Instructions (A1).

	      # swremove PHSS_13939