10.7.0SP2 ACCS Install Failing Windows Server 2016

Document ID : KB000121498
Last Modified Date : 05/12/2018
Show Technical Document Details
Question:
When upgrading to ACC 10.7 SP2 using upgradetool.cmd,

Run the Command Center upgrade tool.
"C:\Program files\CA\APMCommandCenterServer\bin\upgradetool.cmd" "C:\TEMP2\acc-configserver-package.zip"

the following error occurred:

[ERROR] Upgrade "C:\Program files\CA\APMCommandCenterServer" installation directory with "C:\Users\Administrator\AppData\Local\Temp\2\CA-upgrade-5497416395903006504\APMCommandCenterServer" upgrade directory failed: Renaming directory "C:\Program files\CA\APMCommandCenterServer" to "C:\Program files\CA\APMCommandCenterServer.backup-20181115-1902" failed with error:Access is denied.
Environment:
APM 10.7 SP2 Command Center
Answer:
Two cases are conceivable.
1. Check access permission.
Please try again with command selected "Run as administrator" when starting command prompt.
or,
If the Windows OS is 2016 or 2012 R2, please check the status of user account control (UAC).
If UAC is valid, please disable UAC and try once.
Even if the user belongs to the Administrators group, it may operate with the Administrators privilege invalid.

Note: "Disable User Account Control (UAC) on Windows servers."
https://support.microsoft.com/en-us/help/2526083/disabling-user-account-control-uac-on-windows-server


2. Another case:
If the jar directory is included in the directory to be upgraded, if you upgrade ACC, [ERROR] Upgrade ... "failed with error: Access is denied." Appears in log.txt.

ACC If the directory to be upgraded contains a jar directory, upgrade will be completed successfully by changing the value of set.JAVA_HOME in apmccsrv.properties to another jre directory before upgrading.

Windows example:
C:\Program files\CA\APMCommandCenterServer\jre <= jre directory exists under ACC

Change the following properties of apmccsrv.properties.
# set.JAVA_HOME=C:\Program files\CA\APMCommandCenterServer\jre
set.JAVA_HOME=C:\Program Files\Introscope10.7.0.115\jre

Run the Command Center upgrade tool.
"C:\Program files\CA\APMCommandCenterServer\bin\upgradetool.cmd" "C:\TEMP2\acc-configserver-package.zip"