Thursday 5 December 2013

librt.so.1 , libc.so.6 error while executing afmkinit.sh

[AutoConfig Error Report]

Executing script in InstantiateFile:
<RDBMS_ORACLE_HOME>appsutil/install/<CONTEXT_NAME>/afmkinit.sh
:
:
.end std out.
cp: error while loading shared libraries: libc.so.6: cannot open shared object file:
No such file or directory
touch: error while loading shared libraries: librt.so.1: cannot open shared object file:
No such file or directory

<Same error returned for:
afdbprf.sh
adcrobj.sh



The following report lists errors AutoConfig encountered during each
phase of its execution.  Errors are grouped by directory and phase.
The report format is:
      <filename>  <phase>  <return code where appropriate>

  [SETUP PHASE]
  AutoConfig could not successfully execute the following scripts:
    Directory: /u02/oradev/devdb/9.2.0/appsutil/install/DEV_oracletrng5
      afmkinit.sh             INSTE8_SETUP       127


AutoConfig is exiting with status 1

RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabase


StackTrace:
java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
        at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:2322)
        at oracle.apps.ad.clone.ApplyDatabase.runAutoConfig(ApplyDatabase.java:2117)
        at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:415)
        at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
        at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
        at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
        at java.lang.reflect.Constructor.newInstance(Native Method)
        at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
        at java.lang.Thread.run(Thread.java:479)



Solution:


1. Edit the <9i RDBMS_ORACLE_HOME>/appsutil/bin/adgetlnxver.sh file as below

2. Alter by replacing all occurances of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL

---------------

if same error may occur in Application Tier:  then

cd $AD_TOP/bin/adgetlnxver.sh

uncheck or replace all occurances of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL

No comments:

Post a Comment