search cancel

Parameter libname in Unix Agent not working correctly

book

Article ID: 189421

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

On Linux/Unix it is possible to use PAM for authentication, therefore parameter libname has to be set:

libname=/usr/lib/libpam.so.0

However the agent does not consider the path to the library set, but checks for the default setting:

U02000087 Error 'libpam.so: cannot open shared object file: No such file or directory' while loading the file 'libpam.so'. Please check, if there are dependencies to other files.

U02003074 Error during binding of functions of the PAM library 'libpam.so'.  As login check is activated and authentication via PAM is required the agent is stopped.  Please check the PAM library configured.\

U02000041 Shutdown Agent '<Agent Name>'.

Environment

Release : 12.x

Component : AUTOMATION ENGINE

Resolution

Automic Agent was installed on the following:

U02000020 Environment: Hardware = 'x86_64/8'

U02000021 Environment: Software = 'Linux'.
U02000022 Environment: SW version = '3.10.0-1062.9.1.el7.x86_64'.

Since they were running on X86_64 their LD_LIBRARY_PATH was incorrect:

LD_LIBRARY_PATH=/usr/lib:/usr/lib:/usr/lib:/u901_UDBA/app/oracle/product/19300/lib

Updated to:

LD_LIBRARY_PATH=/usr/lib:/usr/lib64:/u901_UDBA/app/oracle/product/19300/lib

because the library libpam.so is found in the /usr/lib64 directory.