Sunday, January 2, 2011

R12 (12.1.1) On Windows - Rapid Install restart and Some debugging

If due to some reasons your rapid install fails or Pre-Install checks are failed, it may require that you start the rapid install with restart option after removing all problems.
Problem 1 - System Utilities Issue

I encountered the following

Click on System Utilities to see what happened.

The error above is telling that 'which' command is not available which is included in Cygwin. Here there are two possibilities either Cygwin installation is not accurate or either the path variable has not been set. I confirmed this and found that nothing wrong with the Path or installation as pic below.


 So I started investigation whats wrong? and found that a script "adchkutl.cmd" is setting the path itself and that's why my path is overridden by it.


I changed the script like below and started the rapidwiz again with restart option


Restart the Wizard
RapidWiz -restart
With restart option browse for the config file and you will start from the same point where you left last time

Problem 2 - On about 16% Installation got some issue
After making the above mentioned change, installation ran successfully after but at 16% it returned the following error.
This was the 2nd error after making correction to oracle script
 


I searched the issue on metalink and found the following note pertaining to my problem. With the help this note I was able to make the correction for the problem and then installation went smoothly.
Metalink Note ID: 790298.1
Symptoms: Installation logs showed the following at line 616 for my installation
Path for me was: C:\oracle\PROD\db\tech_st\11.1.0\appsutil\log\PROD_p-hq-sv-or-01.
File was: 01011356.log

C:\TEMP>if "C:\oracle\PROD\db\tech_st\11.1.0\temp\PROD_p-hq-sv-or-01\adrundb.cmd" == "C:\oracle\PROD\db\tech_st\11.1.0\temp\PROD_p-hq-sv-or-01\adrundb.cmd" (if not ""runProcess_3"" == "FALSE" (goto :"runProcess_3" )  else (goto :runProcess_1 ) )

Cause:
Issue occurs due to the extra quotes ie ""runProcess_1"" seen in the error (from install log) and related only if restarting the installation as it reads restart.xml. Issue can be confirmed by looking at value for variable s_rerunprocess in restart.xml which will have quotes.  eg:

DB Node: <Base install>/inst/apps/$CONTEXT_NAME/temp/restart.xml
APPS Node: $INST_TOP/temp/restart.xml

I just used the windows search utility and found the required restart.xml and found that really there was ""runProcess_3"" with quotes, I just removed the quotes , save the file and restarted the rapidwiz again.
and then now issue occured and instllation was smooth.


Problem 3- Installation looked like hang
This is not the problem , but if  you feel there is some problem/hang because of the issues like mentioned above. You can search for the online logs generated by the installer to know what exactly going on. You can find the logs as below.



No comments:

Post a Comment