Error
Oracle E-Business Suite Installation of Release 12.2.0 failed with error "RW-50004: Error code received when running external process".
Investigation done
Step 1. First have a look at the Installation log to see further details at the following location:
RDBMS $ORACLE_HOME/temp/$CONTEXT_NAME/logs
In my case the above log file was located at the following location:
/u01/oracle/VIS/12.1.0/appsutil/log/VIS_ebs1227oel75/08280649.log
Running Database Install Driver for VIS instance
Step 2. Now have a look at Oracle Database installation log files in your oraInventory directory. In my case it was located at /u01/oraInventory/logs/installActions2018-08-28_06-55-50AM.log.
Scanning through this file I could manage to get the root cause of the error, which was clearly printed under the above log file as:
INFO: size estimation for EEinstall is 6553.60000038147
INFO: PATH has :==>/tmp/OraInstall2018-08-28_06-55-50AM/jdk/jre/lib/amd64/server:/tmp/OraInstall2018-08-28_06-55-50AM/jdk/jre/lib/amd64:/tmp/OraInstall2018-08-28_06-55-50AM/jdk/jre/../lib/amd64:/tmp/OraInstall2018-08-28_06-55-50AM/ext/bin:/tmp/OraInstall2018-08-28_06-55-50AM/ext/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
SEVERE: [FATAL] [INS-32025] The chosen installation conflicts with software already installed in the given Oracle home.
ACTION: Install into a different Oracle home.
INFO: Advice is ABORT
INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
INFO: Completed validating state
INFO: Terminating all background operations
INFO: Terminated all background operations
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -2
INFO: Shutdown Oracle Database 12c Release 1 Installer
INFO: Unloading Setup Driver
Solution
Step 1. Get rid of all files from your previous unsuccessful Oracle EBS 12.2.0 failed installation. In my case I have done the following:
A. Delete /u01/oracle folder and all files in it. This was my installation folder.:
rm -rf /u01/oracle
B. Delete all files under /tmp folder
C. Delete following directories from /u01/oraInventory folder:
oui
logs
locks
Step 2. Now restart rapidwiz wizard and hopefully you will not face the error reported before:
cd /u01/Stage122/startCD/Disk1/rapidwiz
./rapidwiz
Environment
+ Oracle Linux 7.5 (x86-64)
+ Oracle E-Business Suite Release 12.2.0 with startCD 51