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

book

Article ID: 16306

calendar_today

Updated On:

Products

CA Spectrum

Issue/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 

 

 

 



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.

Resolution

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

Installing and Upgrading:

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