Installation of ITCM Agent 14.0 SP2 fails with following error :
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
Client Automation 14.0 SP2
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
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/ca-setup-perl.@prm
sed -i 's/\/ca\/sysedge\/SharedComponents/\/opt\/CA\/SharedComponents/g' /opt/CA/SharedComponents/installer/administration/admi/ca-systemedge-core/5.9.0.15036/ca-systemedge-core.@prm
sed -i 's/\/ca\/sysedge\/SharedComponents/\/opt\/CA\/SharedComponents/g' /opt/CA/SharedComponents/installer/administration/admi/CA_SystemEDGE_Core/5.9.0.15036/CA_SystemEDGE_Core.@prm