Commands unifstat, unisrvcntr and unicntrl fail with: "error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory"
search cancel

Commands unifstat, unisrvcntr and unicntrl fail with: "error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory"

book

Article ID: 45950

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Symptoms:

Commands unifstat, unisrvcntr fail with the following error:

$ unifstat
/opt/CA/SharedComponents/bin/unisrvcntr: error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory

$ unisrvcntr status
unisrvcntr: error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory

The Linux native `ldd` command however resolves the shared library dependencies correctly, and the library libcaconfigutils.so does exist:

 

 

$ ldd /opt/CA/SharedComponents/bin/unisrvcntr
linux-gate.so.1 => (0x00976000)
libcaconfigutils.so => /opt/CA/SharedComponents/lib/libcaconfigutils.so (0x0035a000)
libc.so.6 => /lib/libc.so.6 (0x00b09000)
/lib/ld-linux.so.2 (0x00ae7000)

$ ls -l /opt/CA/SharedComponents/lib/libcaconfigutils.so
lrwxrwxrwx 1 root root 56 Jul 25 16:14 /opt/CA/SharedComponents/lib/libcaconfigutils.so -> /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so

$ ls -l /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
-r-xr-xr-x 1 root root 81416 Apr 1 2015 /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so

$ rpm -q --whatprovides /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
ca-cs-utils-11.2.15090-0000.i386

 

 

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component:

Cause

The symbolic link /opt/CA/CAlib to the /opt/CA/SharedComponents/lib directory is missing. The unisrvcntr and casrvc commands looks for dependent libraries in the following paths: /opt/CA/CAlib/compat:/opt/CA/CAlib:/usr/lib

Resolution

 

Create the symbolic link /opt/CA/CAlib to /opt/CA/SharedComponents/lib directory, like so:

 

# ln -s /opt/CA/SharedComponents/lib /opt/CA/CAlib
# ls -ld /opt/CA/CAlib
lrwxrwxrwx. 1 root root 28 Jul 21 2015 /opt/CA/CAlib -> /opt/CA/SharedComponents/lib

 

Additional Information

How-to: Manage UNIX/Linux WA Agent 11.3 SPx installed from CA Workload Automation Agents DVD, via unisrvcntr/unicntrl commands.

How to grant access to start and stop the CA services to a non-root user?