When upgrading an ITCM agent on Redhat 7.x, software delivery returns "Exit code 7 indicates possible error".
A review of the installation log on the agent shows the following error:
You are performing a new CA ITCM installation, but the configuration file /opt/CA/DSM/scripts/comstore_config already exists. This may result in incorrect data configuration of the installation. If you are certain that this is a new installation, please remove the file /opt/CA/DSM/scripts/comstore_config and try again.
/tmp/LSMEXMLlstr/ca-dsm.d//opt/CA/DSM/scripts/install/postinterview failed with return code = 126
When upgrading ITCM via the interactive installer, rather than being prompted for "Upgrade/Repair", the interactive installer will display an "Install ITCM" option, indicating the installer is running the wrong mode, and was unable to detect the existing ITCM. The same error as above will be encountered and displayed in the log files.
Client Automation (ITCM) -- any version
glibc-2.17-222.el7.i686 or newer installed
In order to successfully upgrade ITCM, LSM (ca-sm-installer) must be upgraded on the system first, in order to be compatible with the latest glibc changes. Attached to this KB article is the same updated ca-sm-installer as KB000093558.
Using Software Delivery or via command line, copy the new ca-sm-installer to the affected system and execute ./ca-sm-installer. Afterwards, you will be able to invoke the ./installdsm script or push the agent upgrade via Software Delivery, and the installer will run in the correct mode.