Spectrum One Click Upgrade from 10.3.2 to 10.4.2 (20.2) Fails with Error during moving old apache instance. Permission denied.

book

Article ID: 198799

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

Spectrum 10.4.2 OneClick upgrade fails with 
 
Removing old Apache instance
mv:  cannot move 'Spectrum/apache' to 'Spectrum/apache.old'.  Permission denied.
** Error during moving old apache instance.
 

Environment

Release : 10.4.x

Component : Spectrum Core / SpectroSERVER

Resolution

1. Rename $SPECROOT/apache to $SPECROOT/apache.old

2. If you have an apache.new folder present after the initial upgrade failure rename this to apache.bkp before re-running the upgrade.

After making the above changes re-run the upgrade and it should complete successfully.

Additional Information

Note that the same problem can occur with the $SPECROOT/Java folder.

Removing old Java instance
mv: cannot move 'D:/CA/win32app/Spectrum/Java' to 'D:/CA/win32app/Spectrum/Java.old': Permission denied

The resolution is the same in this case:

1. Rename $SPECROOT/Java to $SPECROOT/Java.old

2. If you have a Java.new folder present after the initial upgrade failure rename this to Java.bkp before re-running the upgrade.