Patch Name: PHNE_6706 Patch Description: s700_800 10.0X patch for SNAplusAPI R4.1/R4.2 APPC Creation Date: 96/04/29 Post Date: 96/06/19 Hardware Platforms - OS Releases: s700: 10.00 10.01 s800: 10.00 10.01 Products: SNAplusAPI R4.1/R4.2 Filesets: SNAP-API.SNAP-API Automatic Reboot?: No Status: General Superseded Critical: Yes PHNE_6706: HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_6706 Symptoms: PHNE_6706: (1) 1653156760 CPIC cmaccp call hangs after "Timeout for servicing TP" expires. (2) 4701304725 CPI-C SET_CONV_SECRITY_PASSWORD sets wrong len for passwd (3) 4701306662 CPIC program hangs on 2nd call to CMINIT with CM_HARD set. (4) 4701310037 Wrong userid is used with AP_SAME option in the attach. (5) 5000714329 Enabling API tracing caused an application to core dump. (6) 5000714337 After starting multiple conversations, an APPC TP hanged. (7) 5000714642 Customer's LUA application was receiving LUA_CANCELLED after issuing an RUI_TERM verb even though the RUI_TERM was finishing properly. Defect Description: PHNE_6706: (1) 1653156760 When the configured "Timeout for servicing TP" for invocable TP expires, a cmaccp CPIC call never returns. (2) 4701304725 The customer was using CPI-C with SNAPlus API. When calling SET_CONV_SECRITY_PASSWORD, using an 8 char password with length set to 8, remote APP rejects it with error indicating the password length is too long. The trace data indicates that the length is 11 and null filled password. (3) 4701306662 Customer CPIC program hangs on second CMINIT with CM_HARD, and core dumps with CM_SOFT. Using xdb it is possible to step up to the second call to cminit and then the program hangs. (4) 4701310037 The customer was using AP_SAME feature and that was working correctly, except for the userid. It was discovered that the userid that owned the application and not the client userid was being used in the attach. (5) 5000714329 Enabling SNAPlus API tracing using the SNATRC environment variable causes the APPC transaction program to core dump inside the trace library routines. (6) 5000714337 SNAPlus APPC TP hangs with sna.err file indicating a timeout invoking the TP. The errors are: P12SNA0557: Dynamic load of an APPC TP has timed out P12SNA0060: Failed to invoke APPC TP C4E2D4C3C7 (DSMCG), sense data = 084B6031 This customer was using special APPC version that allowed asynchronous callback functionality. The callback was not functioning properly. (7) 5000714642 The return code for the RUI_TERM verb was not set correctly. SR: 5000714642 5000714337 5000714329 4701310037 4701306662 4701304725 1653156760 Patch Files: /opt/sna/lib/libsna.a(libappc.o) /opt/sna/lib/libsna.a(libcpic.o) /opt/sna/lib/libsna.a(liblua.o) /opt/sna/lib/libappc.1 /opt/sna/lib/libcpic.1 /opt/sna/lib/liblua.1 what(1) Output: /opt/sna/lib/libappc.o: A.10.01.101 SNAplus R4.2 APPC Library (PHNE_6706: 96/04/29 14:50:04) /opt/sna/lib/libappc.1: A.10.01.101 SNAplus R4.2 APPC Library (PHNE_6706: 96/04/29 14:52:09) /opt/sna/lib/libcpic.o: A.10.01.101 SNAplus R4.2 CPI-C Library (PHNE_6706: 96/04/29 15:05:40) /opt/sna/lib/libcpic.1: A.10.01.101 SNAplus R4.2 CPI-C Library (PHNE_6706: 96/04/29 15:05:55) /opt/sna/lib/liblua.o: A.10.01.101 SNAplus R4.2 LUA Library (PHNE_6706: 96/04/24 21:52:19) /opt/sna/lib/liblua.1: A.10.01.101 SNAplus R4.2 LUA Library (PHNE_6706: 96/04/24 21:53:38) cksum(1) Output: 1806498880 148244 /opt/sna/lib/libsna.a(libappc.o) 1836800331 634880 /opt/sna/lib/libappc.1 3428255822 152932 /opt/sna/lib/libsna.a(libcpic.o) 4062749284 286720 /opt/sna/lib/libcpic.1 3898047934 68284 /opt/sna/lib/libsna.a(liblua.o) 1627387454 139264 /opt/sna/lib/liblua.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 1460 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 PHNE_6706 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_6706.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/PHNE_6706.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. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_6706. 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 PHNE_6706.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/PHNE_6706.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None