Installation error (lsm/glibc error) when installing the ITCM Agent on Redhat Enterprise Linux 7.x

book

Article ID: 93558

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

When installing or uninstalling the ITCM agent on RedHat Enterprise Linux 7.x, with glibc-2.17-222.el7.i686 or newer installed, you receive the following error:

Preparing interactive install, please wait...
Fatal error: glibc detected an invalid stdio handle
Fatal error: glibc detected an invalid stdio handle
/tmp/extract17757/lsm: line 281: 17957 Aborted                 (core dumped) $LSMEXE -v 2> /dev/null 1>&2
Error: binary file lsm.exe cannot be executed
Please check that the correct system libraries are used (libc, libstdc++).
 
CA ITCM interactive install: 'sh PifInst' failed with code 1
 
The log file is /tmp/ca-dsm.14526.log


--or--

When upgrading the ITCM agent on RedHat Enterprise Linux 7.x, with glibc-2.17-222.el7.i686 or newer installed, you receive 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

Cause

After upgrading the glibc package to version glibc-2.17-222.el7.i686, a known compatibility issue is encountered between LSM and glibc is encountered. 

Environment

Client Automation (ITCM) -- any version.
RedHat Enterprise Linux 7.x with glibc-2.17-222.el7.i686 or newer.

Resolution

For new ITCM agent Install or agent uninstall:
Download the attached ca-sm-installer file, and replace this file in your Linux installation source files.
Once replaced, rerun the ./installdsm script and the installation will proceed.

It is recommended to update all instances of ca-sm-installer on your ITCM DVD media, and then re-import all your Linux packages using dsmpush.dms:
dmscript dsmpush.dms copy -Linux -am -sd -rc -regdm -regsd

For ITCM agent upgrades:
For ITCM agents already installed on a Linux system that has glibc-2.17-222 or newer already installed, you will need to upgrade LSM (ca-sm-installer) first, before pushing the agent upgrade.

Refer to this KB for full details:
https://comm.support.ca.com/kb/exit-code-7-when-upgrading-itcm-agent-on-redhat-7-x-server/kb000106812

Additional Information

For information about required packages/prerequisites for installing the ITCM agent, check the following document:

kb000011067: Required Libraries for ITCM Agent Installation on Linux
https://comm.support.ca.com/kb/required-libraries-for-itcm-agent-installation-on-linux/kb000011067

Attachments

1558536331150ca-sm-installer.zip get_app