Patch Name: PHNE_9558 Patch Description: s700_800 10.01 R4.1/R4.2 SNAPlusAPI cumulative patch Creation Date: 98/04/16 Post Date: 98/05/19 Hardware Platforms - OS Releases: s700: 10.01 s800: 10.01 Products: SNAplusAPI R4.1/R4.2 Filesets: SNAP-API.SNAP-API Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHNE_8347: HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9558 Symptoms: PHNE_9558: (1) 4701384339 Problem with Year 2000 issues in SNAPlus . This affects 1) console messages 2) csv library console messages 3) Transfer MS Data verb 4) RJE spooler PHNE_8347: (1) 1653184184 Appc application hangs due to an incoming attach being processed immedia rather than being queued. This meant that the control blocks for the current conversation were overwritten. (2) 1653186023 APPC code does not look for attaches after a retry situation has occurred. (3) 1653187310 TP hang while processing ATTACH from host. (4) 1653201764 If you issue CMINIC + CMACCI as the first verbs of your program then they will fail, and the error message 'CPI-C *10SNA3050: CPI-C program has forked' is logged (although no fork is actually done). (5) 1653204644 User application that has issued RCV_ALLOC does not get error back when SNA is stopped. (6) 5000714642 Customer's LUA application was receiving LUA_CANCELLED after issuing an RUI_TERM verb even though the RUI_TERM was finishing properly. (7) 5003318998 LUA application on R4.2/10.01 fails to run. (8) 5003374231 Unexpected transaction program termination. 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_9558: (1) 4701384339 Code changes made to address Year2000 issues with console messages, verb library routines and RJE spooler. PHNE_8347: (1) 1653184184 A fix has been written to close the window to ensure that any queued attaches can only be processed once the current conversation has ended and a fresh receive_allocate has been issued. (2) 1653186023 There is a retry timer in our code which sends attaches from the 2.1 node to the APPC library. This is present for a variety of reasons, but the two primary ones are: - when running client server attaches are sent to the client APPC library using UDP - and so may be lost - attaches for a queued TP are stored within the library of that TP. If the TP exits without processing all attaches, we want to ensure that another copy of the TP can be started and pick up the attaches which were not processed by the previous instance of the TP Customer's TP is running extremely slowly and they have multiple attaches queued up. The node thinks it is not getting a response, and there are multiple retries for each attach queued up within the library. There is a bug in the asynchronous APPC code which means that after we have identified and processed a retry we never look for further attaches for a given receive_allocate. (3) 1653187310 A build of the code in August 1995 failed to include a previous fix, and problems were found in the async timeer code. There was also an unhelpful error being logged, which has been removed. (4) 1653201764 Removed fork_protection code in cpic library which checks the APPC dmod_init_ok flag, and forked if this is not set to OK. Without this the APPC library will detect the dmod_init_ok state if it changes, and act appropriately. (5) 1653204644 Code change made to report general lost locality to allow queued RCV_ALLOCs to be rejected that are still waiting for DLOAD. Need to correct a timer fix for R4. (6) 5000714642 The RUI_TERM finished properly, but an incorrect return code being set. (7) 5003318998 Intermittently an incorrect -RSP to a Begin Bracket condition was sent under bracket race conditions. Code change made to correct this behaviour. (8) 5003374231 Signal handler incorrectly reset after cm_allocate. 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: 5003374231 5003318998 5000714642 5000714337 5000714329 4701384339 4701310037 4701306662 4701304725 1653204644 1653201764 1653187310 1653186023 1653184184 1653156760 Patch Files: /opt/sna/lib/libappc.o /opt/sna/lib/libcpic.o /opt/sna/lib/libcsv.o /opt/sna/lib/liblua.o /opt/sna/lib/libappc.1 /opt/sna/lib/libcpic.1 /opt/sna/lib/libcsv.1 /opt/sna/lib/liblua.1 what(1) Output: /opt/sna/lib/libappc.o: A.10.01.205 SNAplus R4.2 APPC Library (PHNE_8347 : 97/04/22 16:26:14) /opt/sna/lib/libappc.1: A.10.01.205 SNAplus R4.2 APPC Library (PHNE_8347 : 97/04/21 17:50:15) /opt/sna/lib/libcpic.o: A.10.01.202 SNAplus R4.2 CPI-C Library (PHNE_8347 : 97/04/17 15:58:25) /opt/sna/lib/libcpic.1: A.10.01.202 SNAplus R4.2 CPI-C Library (PHNE_8347 : 97/04/17 15:59:15) /opt/sna/lib/liblua.o: A.10.01.202 SNAplus R4.2 LUA Library (PHNE_8347 : 96/11/15 17:35:21) /opt/sna/lib/liblua.1: A.10.01.202 SNAplus R4.2 LUA Library (PHNE_8347 : 96/11/15 17:35:52) /opt/sna/lib/libcsv.o: A.10.01.301 SNAplus R4.2 CSV Library (PHNE_9558 : 98/03/02 17:30:42) /opt/sna/lib/libcsv.1: A.10.01.301 SNAplus R4.2 CSV Library (PHNE_9558 : 98/03/03 16:31:37) cksum(1) Output: 3670745004 148176 /opt/sna/lib/libappc.o 1821460260 638976 /opt/sna/lib/libappc.1 3347641451 152864 /opt/sna/lib/libcpic.o 3097640724 286720 /opt/sna/lib/libcpic.1 1130614451 68576 /opt/sna/lib/liblua.o 4040752232 139264 /opt/sna/lib/liblua.1 295881926 58248 /opt/sna/lib/libcsv.o 3398540873 114688 /opt/sna/lib/libcsv.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_6706 PHNE_8347 Equivalent Patches: None Patch Package Size: 1640 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_9558 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9558.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_9558.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/PHNE_9558. 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_9558.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_9558.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None