Client Automation - Linux Agent 14.0 SP2 fails with install of package ca-cs-utils-11.2.12235-1001

book

Article ID: 192620

calendar_today

Updated On:

Products

CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Software Delivery CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

Installation of ITCM Agent 14.0 SP2 fails with following error :


Reason: The script or command encountered a problem.
Action: Find further details in the installation log file
        /ca/sysedge/SharedComponents/installer/log/ca-dsm.log.
error: package ca-cs-utils-11.2.12235-1001 is not installed 
 

 

In ca-dsm*.log :

15:19:19 Update product "ca-cs-utils" from version "11.2.12235.1000" to version "11.2.12235.1001"
=================================================================================================
-------------------------------------------------------------
Please replace /opt/CA/SharedComponents in /etc/profile.CA with /ca/sysedge/SharedComponents
-------------------------------------------------------------
error: %pre(ca-cs-utils-11.2.12235-1001.i386) scriptlet failed, exit status 12
error: ca-cs-utils-11.2.12235-1001.i386: install failed
error: ca-cs-utils-11.2.12235-1000.i386: erase skipped
Script or command "rpm -U "/apps/Deploy/ITCM-AGENT_14.0_3.0_LINUX_GEN_BE-FR-IT/binaries/ca-cs-utils-11.2.12235-1001.i386.rpm"" failed with exit code 1.
Reason:  The script or command encountered a problem.
Action:  Find further details in the installation log file
            /ca/sysedge/SharedComponents/installer/log/ca-dsm.log.

error: package ca-cs-utils-11.2.12235-1001 is not installed
15:19:21 
Terminating install.
Reverting changes.

15:19:21 Job executed with error: 7

 

Cause

There is a conflict path of SharedComponents used by SysEdge and Client Automation.

In this example SysEdge was using CASHCOMP equal /ca/sysedge/SharedComponent
Client Automation is using CASHCOMP equal /opt/CA/SharedComponents

The problem occurs when Client Automation Agent tries to upgrade ca-cs-utils

Environment

Client Automation 14.0 SP2

 

Resolution

Execute following command to set the path /opt/CA/SharedComponents for CASHCOMP in sysedge (example with  CASHCOMP equal /ca/sysedge/SharedComponent) :

 

cp -R /ca/sysedge/SharedComponents/ca-setup-perl /opt/CA/SharedComponents
cp -R /ca/sysedge/SharedComponents/installer /opt/CA/SharedComponents
rm -f /opt/CA/installer
ln -s /opt/CA/SharedComponents/installer installer
mv /ca/sysedge/SharedComponents /ca/sysedge/SharedComponents_todelete
ln -s /opt/CA/SharedComponents SharedComponents
sed -i 's/\/ca\/sysedge\/SharedComponents/\/opt\/CA\/SharedComponents/g' /opt/CA/SharedComponents/installer/administration/admi/ca-setup-perl/5.12.2.11256/[email protected]
sed -i 's/\/ca\/sysedge\/SharedComponents/\/opt\/CA\/SharedComponents/g' /opt/CA/SharedComponents/installer/administration/admi/ca-systemedge-core/5.9.0.15036/[email protected]
sed -i 's/\/ca\/sysedge\/SharedComponents/\/opt\/CA\/SharedComponents/g' /opt/CA/SharedComponents/installer/administration/admi/CA_SystemEDGE_Core/5.9.0.15036/[email protected]