Thursday, October 11, 2012

Error While Loading Shared Libraries: libclntsh.so.10.1


Cloning EBS from Linux 4 to Linux 5 Fails: "Error While Loading Shared Libraries: libclntsh.so.10.1" [ID 736410.1]

Applies to:
Oracle Applications Manager - Version: 12.0.0 to 12.0.4 - Release: 12 to 12
Information in this document applies to any platform.
***Checked for relevance on 19-JUN-2011***
Symptoms
During clone Oracle Applications R12 from Linux 4 to Linux 5, the following error occurs in the
apps tier:
...
perl adcfgclone.pl appsTier

/ 73% completed

RC-50004: Fatal: Error occurred in ApplyAppsTier:


StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError:

oracle.apps.ad.autoconfig.InstantiateFile.writeReport($AD_TOP/util/LogFile
;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 more


ERROR while running Apply...
Thu Sep 4 07:22:29 2008

ERROR: Failed to execute $COMMON_TOP/clone/bin/adclone.pl

Please check logfile.
...

The following error also appears in the log file (ApplyAppsTier.log):



...

#############################################################
Started ApplyAppsTier at Thu Sep 04 07:16:51 PDT 2008
Version:
ApplyAppsTier.java : 120.4
#############################################################

Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
adgentns.pl exiting with status 512

txkWfClone.sh started at Thu Sep 4 07:22:00 PDT 2008
Executable : $10.1.2 ORACLE_HOME/bin/sqlplus

ERRORCODE = 127 ERRORCODE_END
.end std out.
sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object
file:
No such file or directory

...
Cause
Differences between the packages requirements in Linux 4 and Linux 5.

Different packages are required in each OS, that causes the clone to fail since the target
environment doesn't have the same packages as in the source. Also, the package which deliveries
libclntsh.so.10.1 in the target is not installed.



.
Solution
To implement the solution, please execute the following steps:

1. Install 32-bit (ppc) and 64-bit (ppc64) glibc-devel packages in the target, Linux 5, environment.

2. Re-run the clone.


No comments:

Post a Comment