After Installing an ITCM Agent on Mac OS X, caf commands fail with "dyld: Library not loaded: libcfUtilities.dylib"

book

Article ID: 51072

calendar_today

Updated On:

Products

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 CA Server Automation

Issue/Introduction

Description:

When trying to run caf commands as root the commands fail with the error below.

dyld: Library not loaded: libcfUtilities.dylib
Referenced from: /opt/CA/SharedComponents/bin/caf
Reason: image not found
Trace/BPT trap
bash-3.2#

For example, when trying to run the command to rescan Software inventory;

bash-3.2# caf start amagent args /RESCAN_SOFTWARE /COLLECT
dyld: Library not loaded: libcfUtilities.dylib
Referenced from: /opt/CA/SharedComponents/bin/caf
Reason: image not found
Trace/BPT trap
bash-3.2#

Solution:

Please run the command below as 'root'

./etc/Profile.CA all

Then re-run the caf command as 'root' and it should succeed

E.X.:

  1. 'su root'

  2. Enter password at prompt

  3. Run '. /etc/Profile.CA all'

  4. Try your commands again.

NOTE: If this problem returns after a reboot, please open an issue with support.

Environment

Release: UASIT.99000-12.5-Asset Intelligence
Component: