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

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

book

Article ID: 101502

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

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 :
 

Environment

CA Client Automation agent on Linux/Unix - All versions

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

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

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