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

Document ID : KB000101502
Last Modified Date : 14/06/2018
Show Technical Document Details
Issue:

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

bash: caf: command not found..

or

ksh: caf: not found

Example :
 
User-added image
Environment:

CA Client Automation agent on Linux/Unix
Cause:

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
 
CASHCOMP empty


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

 
Resolution:

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

echo $CASHCOMP
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
 
User-added image