Wednesday 10 November 2010

How to remove an Oracle E-Business Suite Release 12.x Windows Environment

There are many potential reasons for wishing to remove an environment, including an installation failure. Such a failure may result from improper install user privileges, missing prerequisite software, inadequate system resources, or other causes, if your installation does fail, you must clean your system before you attempt to re-install Oracle Applications.

For a multi-node installation, repeat the procedure for each node on your system. The procedure requires you to use the Registry Editor to alter the Windows registry, and to delete the faulty instances from your system. You should read and understand all steps described here before you begin.

Step 1. Back up the System
Back up your system and the Windows registry before you begin. 

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):
  1. Launch the Registry Editor.
  2. Navigate to the HKEY_LOCAL_MACHINE\Software\ORACLE\APPLICATIONS\12.0.0 key.
  3. Delete the entry corresponding to the instance to be deleted.
  4. Navigate to the HKEY_LOCAL_MACHINE\System\Current Control Set\Services.
  5. 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__ToolsASControl".
  6. When you are finished, exit the Registry Editor. 
To delete all Oracle environments on the system:
  1. Launch the Registry Editor.
  2. Navigate to the HKEY_LOCAL_MACHINE\Software key.
  3. Select the Apache Group subkey and delete it.
  4. Select the Oracle subkey and delete it.
  5. Navigate to the HKEY_LOCAL_MACHINE\System\Current Control Set\Services.
  6. Carefully select and delete each service beginning with Oracle.  For example, delete "OraclePROD__ToolsASControl".
  7. When you are finished, exit the Registry Editor. 
Step 3. Alter Environment Settings
Complete these steps to delete Oracle parameters from the environment.
Navigate to the Environment Variables editing screen according to your system setup.  For example, right-click My Computer and select Properties. From the Advanced tab, click the Environment Variables button.
To delete a specific instance (in the case that there are multiple EBS instances, or there is other Oracle software on the system):
  1. Select the following system variable if created during the failed installation, and modify it to point to the environment(s) you would like to keep: PERL5LIB.
  2. Select the Path variable, but do not delete it.  Carefully edit it and remove any component that references the failed install. For example, delete "e:\oracle\PROD\db\tech_st\10.2.0\bin;".
  3. Save and exit System Properties.
Alternatively, to remove all Oracle environments from the system:
  1. Select the following system variable if created during the failed installation, and delete it: PERL5LIB.
  2. Select the Path variable, but do not delete it.  Carefully edit it and remove any component with "Oracle" in the name, or that otherwise references the failed install. For example, delete "e:\oracle\PROD\db\tech_st\10.2.0\bin;".
  3. Save and exit System Properties.
Step 4. Clean up the Program Menu
Launch the Program menu (Start->Programs). Carefully delete all Oracle programs associated with the instance or instances to be removed. Select each one, right-click it, and choose the Delete option.

Step 5. Restart your Machine
Restart your machine.  This removes all Windows services that you deleted from the registry and frees up the files accessed by the associated processes so that they may also be deleted (see next step).

Step 6. Delete the Oracle Filesystem
It is now safe to remove the Oracle filesystem that was partially installed during the failed installation. Go to the base install directory, or top-level directory under which you installed the Database Server (DB) or the Applications Tier Server (APPS) directories, or both.
Note that you may choose to rename a directory before you delete it. This allows you to use the same directory name and start a new installation even before you finish the delete filesystem operation. For example, if you placed your filesystem in a "test" directory under "E:\oracle":
C:\>  E:
E:\>  cd oracle
E:\>  rename test oldtest
E:\>  del /s /q oldtest

Step 7. Delete Programs and Oracle Inventory Entries
To delete the inventory associated with a specific instance:
  1. Start the Oracle Universal Installer using: Start >> All Programs >> Oracle-_db102_RDBMS>>Oracle Installation Products>>Universal Installer
  2. Select Installed Products
  3. Enable "Show empty homes"
  4. Deinstall the entries in the global inventory associated with the Oracle Applications R12 instance which you removed earlier. For example, for the PROD instance, you would delete:
    1. RDBMS ORACLE HOME (e.g. "PROD_DB__oracle_PROD_db_tech_st_10_2_0")
    2. 10gAS ORACLE HOME (e.g."PROD_WEBOH__oracle_PROD_apps_tech_st_10_1_3")
    3. Developer 10g ORACLE HOME (for example, "PROD_TOOLS__oracle_PROD_apps_tech_st_10_1_2")
  5. Exit the Universal Installer
To delete the files associated with all Oracle environments on the system:
  1. Open a command window and navigate to the C:\Program Files\ directory.
  2. Delete the Oracle subdirectory.
  3. If your Oracle Inventory directory was not C:\Program Files\Oracle\Inventory and was therefore not deleted in the previous step, locate it and delete it.

Cheers!!!

SocialTwist Tell-a-Friend

Related Posts by Categories



No comments: