Search This Blog

Tuesday, March 21, 2017

How to deinstall or deregister application oracle home in EBS R12.2.4?

** Please double check whether the fix applied to your environment before applying it**

Hello Everyone,

Below procedure can be followed if you want to deregister application oracle home from your global inventory.

Error snap:

/d02/DEV/appltest/fs2/inst/apps/dev_ahqtest/appl/admin/dev_ahqtest.xml -stage /d02/DEV/appltest/fs2/EBSapps/comn/clone    -showProgress -nopromptmsg
Log file located at /d02/DEV/appltest/fs2/inst/apps/dev_ahqtest/admin/log/clone/ApplyAppsTier_03201502.log
  |      0% completed
ERROR while running Apply...
Mon Mar 20 15:02:31 2017

 ERROR: Failed to execute /d02/DEV/appltest/fs2/EBSapps/comn/clone/bin/adclone.pl


Error logged as below :

#############################################################
Started ApplyAppsTier at Mon Mar 20 15:02:31 AST 2017
Version:
        ApplyAppsTier.java      :       120.11.12020000.6
#############################################################

Below Oracle Homes are already registered in the global inventory:
/d02/DEV/appltest/fs2/FMW_Home/Oracle_EBS-app1
/d02/DEV/appltest/fs2/FMW_Home/webtier
/d02/DEV/appltest/fs2/FMW_Home/oracle_common

Exiting Cloning...

Ensure that the above Oracle Homes are unregistered from the global inventory "/var/opt/oracle/oraInventory/ContentsXML/inventory.xml" and re-run adcfgclone.pl script

You can view the registered oracle home from the following file. Dont attemp to update the file by hand.
/var/opt/oracle/oraInventory/ContentsXML/inventory.xml

I had to apply the below fix since i have multiple instances attached to this inventory. If you have single instance in your server and if you get the same error while do clone, simply rename the file and try adcfgclone once before applying this fix.

Fix :

Go to 10.1.2 oracle home where you can find runinstaller.

bash-3.2$ cd /d02/DEV/appltest/fs2/EBSapps/10.1.2/oui/bin/

1.
bash-3.2$ ./runInstaller -silent -deinstall -invPtrLoc /var/opt/oracle/oraInst.loc REMOVE_HOMES={"/d02/DEV/appltest/fs2/FMW_Home/Oracle_EBS-app1"}
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-03-20_03-56-58PM. Please wait ...bash-3.2$ Oracle Universal Installer, Version 10.1.0.6.0 Production
Copyright (C) 1999, 2009, Oracle. All rights reserved.

Starting deinstall

Deinstall in progress (Monday, March 20, 2017 3:57:02 PM AST)
...............................................................100% Done.

End of install phases.(Monday, March 20, 2017 3:57:02 PM AST)
End of deinstallations
Please check /var/opt/oracle/oraInventory/logs/silentInstall2017-03-20_03-56-58PM.log for more details.

2.
bash-3.2$ ./runInstaller -silent -deinstall -invPtrLoc /var/opt/oracle/oraInst.loc REMOVE_HOMES={"/d02/DEV/appltest/fs2/FMW_Home/webtier"}
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-03-20_03-59-30PM. Please wait ...bash-3.2$ Oracle Universal Installer, Version 10.1.0.6.0 Production
Copyright (C) 1999, 2009, Oracle. All rights reserved.

Starting deinstall

Deinstall in progress (Monday, March 20, 2017 3:59:34 PM AST)
...............................................................100% Done.

End of install phases.(Monday, March 20, 2017 3:59:34 PM AST)
End of deinstallations
Please check /var/opt/oracle/oraInventory/logs/silentInstall2017-03-20_03-59-30PM.log for more details.

3.
bash-3.2$ ./runInstaller -silent -deinstall -invPtrLoc /var/opt/oracle/oraInst.loc REMOVE_HOMES={"/d02/DEV/appltest/fs2/FMW_Home/oracle_common"}
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-03-20_04-00-00PM. Please wait ...bash-3.2$ Oracle Universal Installer, Version 10.1.0.6.0 Production
Copyright (C) 1999, 2009, Oracle. All rights reserved.

Starting deinstall

Deinstall in progress (Monday, March 20, 2017 4:00:04 PM AST)
...............................................................100% Done.


End of install phases.(Monday, March 20, 2017 4:00:04 PM AST)
End of deinstallations
Please check /var/opt/oracle/oraInventory/logs/silentInstall2017-03-20_04-00-00PM.log for more details.

Thats it. You can verify the fix by opening contents.xml to see whether oracle homes have been deinstalled.

1 comment:

  1. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goalsaccounting firm in dubai uae

    ReplyDelete

You cannot complete this task because one of the following events caused a loss of page data: A system failure has occurred "Front end is locked after 12.2 upgrade"

  If you have upgraded to Oracle E-Business Suite 12.2.10 Release Update Pack from Oracle E-Business Suite 12.2.6 Release Update Pack (or ea...