Patch-ID# 100582-02
Keywords: abnormally,licenses,cg,3270,sunnet_lic,cgtn3270, cg3270
Synopsis: CG3270 7.1: All available cg3270 licenses are in use when terminated abnormally
Date: 25/Aug/92 

SunOS release: 4.1.1, 4.1.2

Unbundled Product: SunLink CG3270, SNL 1.1

Unbundled Release: CG3270 7.1, SNL 1.1

Topic: SunLink CG3270 7.0, SNL 1.1

BugId's fixed with this patch: 1087039

Architectures for which this patch is available: sun4

Patches which may conflict with this patch:

Obsoleted by:

Problem Description:
	
When CG3270 is terminated abnormally and then try to restart, it results in
error "All available CG3270 licenses are in use". License token is not
returned. Rebooting the server doesn't help. Anything that is not a normal
CG3270 exit results in this problem. Abnormal terminations does include
quit the window, quit the open windows, L1 & A, etc.

INSTALL:
 
This patch consists of one file rpc.netlicd, it replaces the old 
rpc.netlicd that runs on the SNL 1.1 server.
 
stop any running cg3270 processes
stop the rpc.netlicd process

After extracting fix tape contents into /tmp:

assuming the SNL directory is /usr/snl
backup the following file

# mv /usr/snl/bin/rpc.netlicd /usr/snl/bin/rpc.netlicd.orig
# mv /usr/sunlink/cg3270/cg3270 /usr/sunlink/cg3270/cg3270.orig
# mv /usr/sunlink/cg3270/cgtn3270 /usr/sunlink/cg3270/cgtn3270.orig

Replace the rpc.netlicd file with this patch file.

# cp sun4/rpc.netlicd /usr/snl/bin/rpc.netlicd
# cp sun4/{cg3270,cgtn3270} /usr/sunlink/cg3270
	
Then restart rpc.netlicd and cg3270

