Oracle Debugging‎ > ‎

Library Path issue during DB autoconfig

posted Aug 26, 2010, 9:04 AM by Saptharishi Suresh
On HP-UX Itanium server, while running autoconfig on the db tier it might fail with the below error:

  AutoConfig could not successfully execute the following scripts:
    Directory: /oracle/product/9.2.0.7/TS2QTC/appsutil/install/TS2QTC_tst-db54
      afdbprf.sh              INSTE8_PRF         137

  [APPLY PHASE]
  AutoConfig could not successfully execute the following scripts:
    Directory: /oracle/product/9.2.0.7/TS2QTC/appsutil/install/TS2QTC_tst-db54
      adcrobj.sh              INSTE8_APPLY       137

AutoConfig is exiting with status 2

Further investigation of the log file will reveal the below two errors:

  • ERRORCODE = 137 ERRORCODE_END
.end std out./usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.9.0'.
/oracle/product/9.2.0.7/<SID>/appsutil/install/<CONTEXT_NAME>/afdbprf.sh[82]: 14372 Killed

  • adcrobj.sh exiting with status 137
ERRORCODE = 137 ERRORCODE_END
.end std out.
/usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.9.0'.
/oracle/product/9.2.0.7/<SID>/appsutil/install/<CONTEXT_NAME>/adcrobj.sh[117]: 16041 Killed


Solution:

Edit xml file to include LD_LIBRARY_PATH=$ORACLE_HOME/lib
and re-run the autoconfig