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 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_MACHINE\Software\ORACLE\APPLICATIONS\12.0.0 key.
- Delete the entry corresponding to the instance to be deleted.
- Navigate to the HKEY_LOCAL_MACHINE\System\Current Control Set\Services.
- 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". - 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_MACHINE\Software key.
- Select the Apache Group subkey and delete it.
- Select the Oracle subkey and delete it.
- Navigate to the HKEY_LOCAL_MACHINE\System\Current Control Set\Services.
- Carefully select and delete each service beginning with Oracle. For example, delete "OraclePROD_
_ToolsASControl". - When you are finished, exit the Registry Editor.
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):
- 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.
- 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;".
- Save and exit System Properties.
Alternatively, to remove all Oracle environments from the system:
- Select the following system variable if created during the failed installation, and delete it: PERL5LIB.
- 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;".
- Save and exit System Properties.
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.
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).
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":
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
E:\> cd oracle
E:\> rename test oldtest
E:\> del /s /q oldtest
To delete the inventory associated with a specific instance:
- Start the Oracle Universal Installer using: Start >> All Programs >> Oracle-
_db102_RDBMS>>Oracle Installation Products>>Universal Installer - Select Installed Products
- Enable "Show empty homes"
- 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:
- RDBMS ORACLE HOME (e.g. "PROD_DB__oracle_PROD_db_tech_st_10_2_0")
- 10gAS ORACLE HOME (e.g."PROD_WEBOH__oracle_PROD_apps_tech_st_10_1_3")
- Developer 10g ORACLE HOME (for example, "PROD_TOOLS__oracle_PROD_apps_tech_st_10_1_2")
- Exit the Universal Installer
To delete the files associated with all Oracle environments on the system:
- Open a command window and navigate to the C:\Program Files\ directory.
- Delete the Oracle subdirectory.
- 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!!!
No comments:
Post a Comment