ITCM Agent on Linux-Unix - caf: command not found


Article ID: 101502


Updated On:


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


On Linux/Unix command caf is not found. For example "caf status" command returns error like :

bash: caf: command not found..


ksh: caf: not found

Example :

<Please see attached file for image>

User-added image


This problem could occur if the path /opt/CA/SharedComponents/bin is not present in PATH variable and/or if variable CASHCOMP is not set or contains wrong value.

CASHCOMP should contain the path for Shared Components. Example : /opt/CA/SharedComponents

In the example below, CASHCOMP variable is empty and PATH variable does not contain path for /opt/CA/SharedComponents/bin

<Please see attached file for image>


The directory /opt/CA/SharedComponents/bin contains a lot of symbolic links and especially symbolic link for caf :

<Please see attached file for image>




CA Client Automation agent on Linux/Unix


1- Execute this command to load the CA profile :
. /etc/profile.CA
2 - Check with these echo commands :

echo $PATH

  • If CASHCOMP is set and contains correct value. The directory $CASHCOMP/bin should exist and contain the symbolic link caf
  • If PATH variable contains the path for $CASHCOMP/bin

3- If CASHCOMP does not contain the correct value it could be corrected by editing the file /etc/profile.CA
Example of good configuration

<Please see attached file for image>

User-added image


1558701064294000101502_sktwi1f5rjvs16ke0.jpeg get_app
1558701062467000101502_sktwi1f5rjvs16kdz.jpeg get_app
1558701060710000101502_sktwi1f5rjvs16kdy.jpeg get_app
1558701058711000101502_sktwi1f5rjvs16kdx.jpeg get_app