Why does my upgrade exit with errors "file too short " and "** Error: Unable to interpret installation command?

Document ID : KB000016306
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

 I have upgraded all my SpectroSERVERs in my distributed environment, from 10.1.1 to 10.2.1 without problems.

On the final server the upgrade exits and I find the following in the pre-install log at:

<$SPECROOT>/Install-Tools/LOGS/10.2.1.0.98_xxxx/preinst.xx.xx

 

sed: error while loading shared libraries: /opt/CA/Spectrum/lib/libpcre.so.1: file too short 

sed: error while loading shared libraries: /opt/CA/Spectrum/lib/libpcre.so.1: file too short 

sed: error while loading shared libraries: /opt/CA/Spectrum/lib/libpcre.so.1: file too short 

sed: error while loading shared libraries: /opt/CA/Spectrum/lib/libpcre.so.1: file too short 

** Error: Unable to interpret installation command 

Install-Tools/preinst_engine: line 273: cd: HOME not set 

Installation Exiting:Wed Oct 25 13:04:58 BST 2017 

 

cat: .timing: No such file or directory 

 

 

 

Question:

Why does my upgrade exit with errors  "file too short " and "** Error: Unable to interpret installation command on this one server? 

 

Environment:
These errors are relevant for all versions of Spectrum on Linux.This example was seen upgrading from 10.1.1 to 10.2.1.
Answer:

This error was seen as the upgrade was attempted with the wrong Operating System user.

All Spectrum upgrades must be made by the same user, as was used for the original installation.

This can be verified from 

<$SPECROOT>/SS/.vnmrc

as "initial_user_model_name=<xxxxxx>"

Also all SpectroSERVERs and OneClick servers in the same distributed or fault tolerant system, must use the same install user.

 

Additional Information:

Install CA Spectrum:

https://docops.ca.com/ca-spectrum/10-2-1/en/installing-and-upgrading/install-ca-spectrum

 

This section provides information about the prerequisites, system requirements and the relevant procedures which you need to follow to install CA Spectrum and all it's components.

The following topics are covered in this section:

•System Requirements for Installing CA Spectrum

•Prerequisites for Installing CA Spectrum 

•Installing CA Spectrum

•Installing CA Spectrum Remotely

•Preserve Customized Support Files

•How To Perform In-Place Updates

•OneClick Web Server Updates and New OneClick Privileges