RW-50004: Error code received when running external process

RW-50004: Error code received when running external process

Issue

Got the following error in Rapidwiz, when it shows Step2 of 5 20% completed:

+ Error extracted from Rapidwiz log file:

Statusstring Executing Command: recreating context file

runProcess_5

Statusstring Executing Command: InstantiateFile -d addbtmpl.drv

Cannot execute configure of environment for database ORACLE_HOME

RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance

+ Error extracted from - /u01/oracle/visdb/9.2.0/appsutil/log/VIS_11iupgrade/dbInstancecfg.log

afmkinit.sh exiting with status 127

.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

Investigation Done

For Oracle Enterprise Linux 5 or Red Hat Enterprise Linux 5 the LD_ASSUME_KERNEL environment variable should be unset before starting the installation. The installation fails when the LD_ASSUME_KERNEL variable is set by the dgetlnxver.sh file during the course of the installation.

Resolution

Step 1. Find the adgetlnxver.sh file under /appsutil/bin/ directory, and replace all instances of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL

In my case the file location was - 

/u01/oracle/visdb/9.2.0/appsutil/bin/adgetlnxver.sh

Step 2. Also search for adgetlnxver.sh under the Stage Area. You will find two of its instances. Open each file and comment out all instances of LD_ASSUME_KERNEL.

In my case the two files were found under the following directory locations in the Stage Area:

/u01/Stage11i/oraApps/Disk5/appl/stage/bin/adgetlnxver.sh
/u01/Stage11i/oraDB/Disk3/db/stage/appsutil/bin/adgetlnxver.sh

Step 3 - Hit the retry button in Rapidwiz to resume installation

Environment

+ Oracle Linux 5.7 x86-64

+ Oracle E-Business Suite Release 11.5.10.2

Oracle EBS 11i Installation: AC-00401: Driver file...
Error: Unable to find PD KSH Version during instal...