CA Access Gateway In-place Upgrade Not Working

Document ID : KB000102808
Last Modified Date : 20/06/2018
Show Technical Document Details
Introduction:
While upgrading CA Access Gateway (A.K.A. SPS) from 12.7 SP1 to R12.7SP2.

While upgrading CA Access Gateway from to 12.7.2 from 12.7.1 
you get... 

"Missing Instance Information! 
----------------------------- 

CA Access Gateway instance already exists on this machine but the instance is 
not detectable because the /opt/etc/CA/SiteMinder_Secure_Proxy location is 
empty. The upgrade cannot continue. To resolve the issue, see the 
documentation. " 
 
Background:
This is an in-place upgrade of SPS.

Issue only occurred in UAT, not in DEV. Upgrade worked in DEV. 
Environment:
R12.7Sp1 to R12.7.SP2 Upgrade
Linux OS
Instructions:
Run your Linux system where you're upgrading, the following:

===>>> strace -o strace.txt -f <command-to-upgrade> 

(The other way is using: 
export LAX_DEBUG=<output_filename> 
...and run the upgrade command. If you are able to do this after strace, send this file as well.)

Pinpointed access privilege problem seen in the strace.txt output file.

Access Gateway writes instance information to /opt/etc/CA. From the strace output, it appears the user running the installation process doesn't have sufficient permissions: 

41087 stat("/opt/etc/CA/SiteMinder_Secure_Proxy/InstanceCount.properties", 0x7fb17fde7a10) = -1 EACCES (Permission denied) 

Please make sure the user running the installer has read/write permission to the /opt/etc/CA folder and all its contents and try again.