Error while running utility: U0029120 UCUDB: Function LoadLibrary failed.
search cancel

Error while running utility: U0029120 UCUDB: Function LoadLibrary failed.

book

Article ID: 90231

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error while running utility: U0029120 UCUDB: Function LoadLibrary failed.

Environment

Release: 12.n, 21.n
Component: DB Load Utility 

Resolution

Symptoms:

Getting error during database operation, such as running a utility: U0029120 UCUDB: Function LoadLibrary failed. Library 'ucuoci.so' error 'ld.so.1: ucybdbun: fatal: libclntsh.so.11.1: open failed: No such file or directory'.


Unload log excerpt:

20140915/151315.084 - U0029120 UCUDB: Function LoadLibrary failed. Library 'ucuoci.so' error 'ld.so.1: ucybdbun: fatal: libclntsh.so.11.1: open failed: No such file or directory'.

20140915/151315.084 - U0003531 UCUDB: Error while checking data source (e.g. code conversion or driver problem, see log file).

20140915/151315.084 - U0003531 UCUDB: Error while checking data source (e.g. code conversion or driver problem, see log file).

Application return code = 1

ERROR: automic/db/automic/Utilities/db/uc_data.txt was not created

 

 

 

Cause

Possible cause: LD_LIBRARY_PATH has not been set correctly or is somehow otherwise not being read.  This can be verified by running the command:

env | grep LD_LIBRARY_PATH

and confirming if the utility/bin directory is in the resulting line

 


 

Resolution

A short term resolution is to from the utility/bin directory run the command:

export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH

As a longer term resolution, an admin will need to be sure that the user's .profile includes the utility/bin directory in the LD_LIBRARY_PATH.

 


 

Troubleshooting steps

If this error continues to occur after the steps above, open an Incident with Support with the following:

1) The results of an env command

2) The latest utility log showing the error message