RW-50004: Error code received when running external process, Running Database Install Driver

Problem:

When running Rapid Install, the following error appears:

RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for TEST1 instance

In the ‘Rapid Install base window – do not close’ window, the following appears:

Configuration file written to: C:oracleTEST1instappsTEST1_ittl-hrmstestconf_TEST1.txt
Configuration file written to: C:oracleTEST1dbtech_st11.1.0appsutilconf_TEST1.txt
Database logfile - C:oracleTEST1dbtech_st11.1.0appsutillogTEST1_ittl-hrmstest1260950.log
uploadConfig() : Exception : TDU

Rapid Wizard completes with the following error:

RW-10001: Rapidinstall wizard has detected that your configuration has errors. You must resolve these issues before continuing.

The log file C:oracleTEST1dbtech_st11.1.0appsutillogTEST1_ittl-hrmstest1260950.log showed the following:

    RW-50010: Error: - script has returned an error:   1
RW-50004: Error code received when running external process

Solution:

Change the NUMBER_OF_PROCESSORS environment variable from 16 to 12 and restart installation.

Solutions tried:
1. Created oracle user, logged on as oracle user, moved C:oracle directory and restarted installation using a ‘Run as administrator’ Command Prompt. [error received]
2. Unzipped startCD patch (p11072566_R12_GENERIC.zip). Moved C:oracle directory to C:TEMP and restarted installation using a ‘Run as administrator’ Command Prompt. [error received]
3. Removed C:Perlbin from PATH environment variable. Moved C:oracle directory to C:TEMP and restarted installation using a ‘Run as administrator’ Command Prompt. [error received]
4. Added C:cygwinbin and C:MSVSVCbin to PATH. Moved C:oracle directory to C:TEMP and restarted installation using a ‘Run as administrator’ Command Prompt. [error received]
5. Changed TEMP and TMP environment variable to point to C:TEMP. Moved C:oracle directory to C:TEMP and restarted installation using a ‘Run as administrator’ Command Prompt. [error received]
6. Go through MOS document on cleaning up R12 installtion. Cleaned up C:TEMP. Moved C:oracle directory to C:TEMP and restarted installation using a ‘Run as administrator’ Command Prompt.


Referred to How to Remove an Oracle E-Business Suite Release 12.x Windows Environment [ID 567507.1]

Step 2. Alter the Windows Registry

Delete the relevant Oracle components from the Windows registry, as follows.

To delete a specific instance (in the case that there are multiple EBS instances or other Oracle software on the system):

Launch the Registry Editor.
Navigate to the HKEY_LOCAL_MACHINESoftwareORACLEAPPLICATIONS12.0.0 key.
Delete the entry corresponding to the instance to be deleted.
Navigate to the HKEY_LOCAL_MACHINESystemCurrent Control SetServices.
Carefully select and delete each Oracle service corresponding to the instance you wish to delete.  For example, if you wish to delete “PROD”, delete “OraclePROD_<nodename>_ToolsASControl”.
When you are finished, exit the Registry Editor.

To delete all Oracle environments on the system:

Launch the Registry Editor.
Navigate to the HKEY_LOCAL_MACHINESoftware key.
Select the Apache Group subkey and delete it.
Select the Oracle subkey and delete it.
Navigate to the HKEY_LOCAL_MACHINESystemCurrent Control SetServices.
Carefully select and delete each service beginning with Oracle.  For example, delete “OraclePROD_<nodename>_ToolsASControl”.
When you are finished, exit the Registry Editor.

Checked C:TEMPoracle_20120126aTEST1dbtech_st11.1.0appsutillogTEST1_ittl-hrmstest1260950.log:

C:UsersADMINI~1AppDataLocalTemp2>C:StageR12startCDDisk1rapidwizjreNT
1.6.0binjava -mx512M -classpath .;C:StageR12startCDDisk1rapidwizjlibjava;
C:StageR12startCDDisk1rapidwizjlibxmlparserv2.jar;C:StageR12startCDDisk1
rapidwizjlibojdbc14.jar;C:StageR12startCDDisk1rapidwizjlibouiOraInstaller.jar;
C:StageR12startCDDisk1rapidwizjlibouiewt3.jar;C:StageR12startCDDisk1
rapidwizjlibouishare.jar;C:StageR12startCDDisk1rapidwizjlibouisrvm.jar
oracle.apps.ad.rapidwiz.util.InstantiateFile -e C:oracleTEST1dbtech_st11.1.0
appsutilTEST1_ittl-hrmstest.xml -d C:StageR12startCDDisk1rapidwizdriverdbts
drivergdb111.drv -pwd no_password_here -log C:oracleTEST1dbtech_st11.1.0
appsutillogTEST1_ittl-hrmstestdbInstall.log -nthreads 16 -verbose 

Please specify valid number of threads. [1-12]

usage:

  java oracle.apps.ad.autoconfig.InstantiateFile

      -e ENV_FILE [[-d INST_DRV [-log LOGDIR -bacdir BACKDIR] [-debug]] || 

      [-d INST_DRV -tmpl TEMPLATE [-log LOGDIR -bacdir BACKDIR] [-debug]] || 

      [-tmpl TEMPLATE [-out OUTFILE]]] [-pwd PASSWORD] [-test] [-nthreads NUMBER] [-run RUNPROCESS] 

  java oracle.apps.ad.autoconfig.InstantiateFile

      -name VAR_NAME -value VAR_VALUE [-tmpl TEMPLATE] -out OUTFILE [-pwd PASSWORD]

  java oracle.apps.ad.autoconfig.InstantiateFile ENV_FILE INST_DRV

  where:

      ENV_FILE = Applications Context file to provide replacement vars

      INST_DRV = Instantion File Driver to define templates to be instantiated

      TEMPLATE = Template to be instantiated

      LOGDIR   = The log file directory (default=<APPL_TOP>/admin/<CONTEXTNAME>/log/timestamp)

      BACKDIR  = The directory for backing up previous templates 

            (default=<APPL_TOP>/admin/<CONTEXTNAME>/out/timestamp)

      OUTFILE  = Output file

      PASSWORD = APPS password

      VAR_NAME = A variable name to be replaced

      VAR_VALUE = The value pair to VAR_NAME

      NUMBER  = Number of threads to be used in the zip action. Range [1-20]

      RUNPROCESS = Phase upto which the scripts should be executed.

                   Values allowed: { INSTE8, INSTE8_SETUP, INSTE8_PRF, INSTE8_APPLY }

——————————————————————————–

Change NUMBER_OF_PROCESSORS environment variable from 16 to 12.
Under System Properties > Advanced system settings > Environment Variables, under System Variables, changed NUMBER_OF_PROCESSORS from 16 to 12.

Clean failed installation, rebooted computer and restarted installation.

When computer rebooted, NUMBER_OF_PROCESSORS reset to 16.
Reset NUMBER_OF_PROCESSORS to 12, opened new Command Prompt (Run as Administrator) and then restarted Rapid Wizard.

Reference:
Oracle Applications 11i Install Fails on Windows when Number of Processors is Greater than 12 [ID 433203.1]

[amazon asin=0070077290&template=iframe image&chan=default]     [amazon asin=1453742735&template=iframe image&chan=default]     [amazon asin=0615238440&template=iframe image&chan=default]

 

  1. I had the same problem at the same point as mentioned in this post, and I really worked for me like a charm on first go. Excellent help, Thank you Dear for sharing this.

    Again Thanks
    Abbas

  2. Thanks for sharing this….After having an SR open for 5 days, the install is finally running.

    My issue was the number_of_processors was set to 24…set to 8 and off and running
    Thanks Again.
    Lee

  3. Hi Vasudev

    I faced this Error While Installing EBS R12.2.5 in Linux Box. Received Same Error. My Installation was Stuck at Step 2 of 8 During run of adrundb.sh script.

    Could You Please Tell me how to reduce the no of processors to less than 12 in VMWARE ON OEL5.6

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.