[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem reinstalling IAS?

Posted on 2004-11-09
5
Medium Priority
?
579 Views
Last Modified: 2013-12-01

Hi there,

I installed IAS 9i but had to uninstall it.

I am now trying to reinstall IAS 9i but I am getting an error message half way through the install.

The error message is:

All Oracle9iAS installations on host must be installed by the same operating system user. The initial Oracle9iAS installation located at D:\oracleAS2 was installed by a different operating system user. Plesase exit this install, log in as the user who installed the initial Oracle9iAS installation, and reinstall the install.

I used administrator rights using vnc.

I am doing the reinstall the same way. I have deleted all the old 9iAS folders.

How to I find my way around this?

Ed
0
Comment
Question by:teched1000
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:bochgoch
ID: 12533220
Deleting 9ias folders is not enough. Best to go with a clean build (i.e. re-install the OS prior to the 9ias install)...the Oracle install will have riddled your OS (installed on the C:\ drive?) with config files, registry settings etc. I wouldn't even attempt to remove these manually....

Sorry, get the disks out!
0
 

Author Comment

by:teched1000
ID: 12542846
Problem being I have an 8i managed standby database on the same server + a test 8i & 9i database.

I installed the IAS on the d:\, having the the OS on the c:\.

But I suppose it does not really matter where you install it, it still plagues the registry with entry's.  
0
 
LVL 13

Accepted Solution

by:
bochgoch earned 2000 total points
ID: 12553035
You could try removing those registry settings -- HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE

Might be worth a go but don't waste too much time on it...
0
 

Author Comment

by:teched1000
ID: 12554783
Right found that there were two solutions to this problem:

The short version

Delete the following registry entries

\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\em_loc

\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\vobhome2.o

OBVIOUS HEALTH WARNING ATTACHED.
 
The long version found on metalink after about an hour of searching.
Note:229066.1
Subject:  De-Installing 9iAS Release 2 (9.0.2) From Windows Platforms
Type:  BULLETIN
Status:  PUBLISHED
 Content Type:  TEXT/PLAIN
Creation Date:  11-FEB-2003
Last Revision Date:  01-DEC-2003
 

PURPOSE -------  The purpose of this document is to list all steps required to completely  de-install Oracle9i Application Server (9iAS) Release 2 (9.0.2+) from Windows  platforms.   SCOPE & APPLICATION -------------------  This article is intended for System Administrators and Support Engineers who  need to completely de-install 9iAS Release 2 (9.0.2) from Windows.  If multiple 9iAS installations need to be de-installed from the same machine,  then the steps listed in this article can be applied on each 9iAS installation  to be de-installed, starting with 9iAS installations (Mid Tiers), followed  by 9iAS Infrastructure installations.  To de-install 9iAS Release 2 (9.0.2+) from Unix platforms, refer to:   [NOTE:218277.1] De-Installing 9iAS Release 2 (9.0.2) From Unix Platforms  To de-install ALL Oracle products installed on this machine, refer to:    [NOTE:190096.1] Manually Deinstalling Oracle from Windows   CAUTION -------  Because the de-install process will include steps that require manual removal  and/or update of files that may be shared by other existing Oracle products, it  is highly recommended to take a full backup of the system before starting the  de-install process.  The steps listed in this article have been tested on an NT machine which has  the following installed products:  1- Oracle Server 8.1.7 2- Oracle Developer 6i 3- Oracle9i Developer Suite Release 2 (9.0.2) 4- Oracle Application Server (4.0.8) 5- Oracle9i Application Server Release 1 (1.0.2.2) 6- Oracle9i Application Server Release 2 (9.0.2) - Infrastructure installation 7- Oracle9i Application Server Release 2 (9.0.2) - J2EE & Webcache Mid Tier install type 8- Oracle9i Application Server Release 2 (9.0.2) - BI & Forms Mid Tier install type  The J2EE & Webcache Mid Tier install type (#7 above) has been de-installed  using this article and a new Business Intelligence & Forms Mid Tier install type  (without Portal configuration) has been installed successfully using the same  Oracle Home Name, Oracle Home Path and instance name.   Steps to De-install a 9iAS Release 2 (9.0.2) Installation on Windows --------------------------------------------------------------------  The following steps need to be taken for each 9iAS installation to be  de-installed:      1- Verify dependencies     2- Identify the Oracle Home     3- Stop the instance     4- De-install using OUI     5- Remove configuration information from OID     6- Remove Oracle Home     7- Remove Registry entries     8- Clean up the environment     9- Delete the Software and Start Menu icons    10- Reboot the machine   1- Verify Dependencies ---------------------- Because de-installing a 9iAS installation may affect other associated 9iAS installations, dependencies need to be verified. Based on the 9iAS  installation classification, a different set of action may need to be taken to  other related 9iAS installation prior to de-install.   A 9iAS installation can be classified as one of the following:       a) A standalone installation       b) An installation that is acting as the Primary 9iAS Instance      c) An installation that is associated with an Infrastructure      d) A standalone Infrastructure installation      e) An Infrastructure installation that is used by other installations          (Mid-Tiers)    a. A standalone installation       ============================      A standalone installation can only be a J2EE and Web Cache install type.       In this case, no dependency on/from other installations and no additional       actions to be taken at this step.    b. An installation that is acting as the Primary 9iAS Instance      ==============================================================      When multiple 9iAS installs are performed on a host, there is only one       Oracle Home which will contain the active Oracle Enterprise Manager to       enable the Oracle Enterprise Manager Website. All 9iAS instances on a single       host are administered by this Enterprise Manager. The instance which       contains the active Oracle Enterprise Manager is referred to as the Primary       9iAS Instance.        To identify whether the 9iAS installation to be de-installed is acting as       the Primary 9iAS instance or not, use regedit.exe to start the Registry       Editor. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Check the       EM_LOC key. If the value of the EM_LOC key is matching the Oracle Home Path       being de-installed, then this 9iAS instance is acting as a Primary 9iAS       instance. Depending on this 9iAS instance version 9.0.2 or 9.0.3 different      different actions may need to be taken:       i. 9iAS 9.0.2:         OUI will prompt the user to designate an alternate Primary instance from          the remaining instances on the host while de-installation.          Refer to the Oracle9i Application Server Installation Guide, Release 2          (9.0.2) for Windows NT/2000, Chapter 8 - Deinstallation and          Reinstallation, Deinstallation topic for more details.      ii. 9iAS 9.0.3:         You need to switch the active Oracle Enterprise Manager to one of the          remaining instance. If you have a remaining 9iAS 9.0.3 instance, you          must switch your active Oracle Enterprise Manager to that instance.          Otherwise, you can switch to any 9iAS 9.0.2 instance. Use the following         commands to switch the active Oracle Enterprise Manager:              DOS> cd <ORACLE_HOME>\bin             DOS> emctl switch home          This displays a dialog where you can select another 9iAS instance         to contain the active Oracle Enterprise Manager          Refer to the Oracle9i Application Server Installation Guide, Release 2          (9.0.3) for Microsoft Windows, Chapter 5 - Deinstallation and          Reinstallation, Deinstallation topic for more details.         c. An installation that is associated with an Infrastructure      ============================================================      After de-installing the installation, for example, Portal and Wireless       install type, OUI will remove all configuration information related to this       installation from the DCM repository of the Infrastructure. However, in       some cases OUI may not properly de-install the installation, therefore the       following steps are recommended to be followed:         i. Before de-installing the installation:           Get the name of the instance, by running the following command in a            DOS window. Replace <ORACLE_HOME> with the complete path of the           9iAS installation home to be de-installed:            DOS><ORACLE_HOME>\dcm\bin\dcmctl whichInstance        ii. After de-installing the installation:           Remove the instance information from the DCM repository of the            Infrastructure, by running the following command in a DOS window.           Replace <ORACLE_HOME> with the complete path of the Infrastructure            installation home:            DOS><ORACLE_HOME>\dcm\bin\dcmctl destroyInstance -i <instance_name>    d. A standalone Infrastructure installation      ===========================================      There is no dependency and no further actions need to be taken at this step.    e. An Infrastructure installation used by other installations (Mid-Tiers)      =========================================================================      In this case, all installations associated with this Infrastructure       installation need to be de-installed prior to de-installing the       infrastructure.   2- Identify the Oracle Home --------------------------- Many steps explained later in this article require that the Oracle Home Name,  Path and Number of the 9iAS installation being de-installed to be identified. The Oracle Home Path is the file system location where this 9iAS installation resides. The Oracle Home Name is the logical name provided during the  installation and is associated with the Oracle Home Path. From the Oracle Home Path, for example, D:\ias902_infra, we will need to  identify the Oracle Home Name and Number. This information can be retrieved from the Windows Registry. Use regedit.exe to start the Registry Editor. The registry folders will be displayed as a hierarchical tree one the left hand side panel, while the keys of the folder will be displayed in the right hand  panel when a folder is highlighted.  follow the below steps to get the Oracle Home Name and Number:    a. Expand the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder.   b. Search each IDx folder underneath, where x is an integer number 0, 1, 2,       etc. representing the Oracle Home Number   c. Identify the IDx folder which has the PATH key value matching your Oracle      Home Path of the 9iAS installation being de-installed, for example      D:\Ias902\BI_F. The NAME key value in this IDx folder will be the Oracle      Home Name. The branch name IDx will indicate the Oracle Home Number.  The Oracle Home Number, Name and Path of the 9iAS installation to be  de-installed identified above will be used later in this article. For simplicity we will refer to their values with <ORACLE_HOME_NUMBER>,  <ORACLE_HOME_NAME> and <ORACLE_HOME_PATH> respectively.    3- Stop the Instance -------------------- Stop all Oracle services related to the 9iAS installation to be de-installed.  On NT, choose Start > Settings > Control Panel > Services. On 2000/XP, Right  click on My Computer > Manage > Services and Applications > Services.  Services related to a specific 9iAS installation can be identified from the  Oracle Home Name included in the Service name.   In a typical 9iAS Release 2 installation the following Services will exist:     a. J2EE & Webcache Mid Tier installation:      ======================================      Oracle<ORACLE_HOME_NAME>Agent      Oracle<ORACLE_HOME_NAME>EMWebsite      Oracle<ORACLE_HOME_NAME>ProcessManager      Oracle<ORACLE_HOME_NAME>WebCache      Oracle<ORACLE_HOME_NAME>WebCacheAdmin      Oracle<ORACLE_HOME_NAME>WebCacheMon    b. Portal & Wireless Mid Tier installation:      ========================================      Same Services as (a) above    c. Business Intelligence & Forms Mid Tier installation:      ====================================================      Same Services as (a) above plus:      Oracle<ORACLE_HOME_NAME>ClientCache      Oracle<ORACLE_HOME_NAME>Discoverer         d. Infrastructure installation:      ============================      Same Services as (a) above plus:      Oracle<ORACLE_HOME_NAME>ClientCache      Oracle<ORACLE_HOME_NAME>InternetDirectory_iasdb      Oracle<ORACLE_HOME_NAME>PagingServer      Oracle<ORACLE_HOME_NAME>TNSListener      OracleServiceIASDB   4- De-install using OUI ----------------------- Use the Oracle Universal Installer (OUI) to de-install the installation.  Select the Oracle Home to be de-installed in the OUI Inventory Screen and  click Remove.   5- Remove configuration information from OID -------------------------------------------- When you de-install a 9iAS installation (Mid-Tier) that is associated with an  Infrastructure using Oracle Universal Installer, the configuration information  stored in Oracle Internet Directory for this installation is not automatically  removed. This is necessary if you need to install/re-install a new 9iAS  installation (Mid-Tier) with the same name as the previously de-installed one. Refer to the steps listed in "Oracle9i Application Server Administrator's  Guide Release 2", Chapter 12 "Managing Oracle Internet Directory", "Removing  an Application Server Instance From Oracle Internet Directory" topic, to  manually remove the configuration information of the installation from OID.  6- Remove Oracle Home --------------------- Manually remove the Oracle Home of the de-installed installation. Assuming  that <ORACLE_HOME_PATH> is D:\Ias902\BI_F, use the Windows Explorer to delete  the D:\Ias902\BI_F directory.   7- Remove Registry Entries -------------------------- Because the following steps include manual delete of Windows Registry entries and since deleting incorrect entries can severely compromise your computer, take  extreme care while editing the Registry. Note that some of the below mentioned  registry folders and keys may have already been removed by OUI in step 4 above.  Using the <ORACLE_HOME_NUMBER>, <ORACLE_HOME_NAME> and <ORACLE_HOME_PATH>  values identified in step 2 above follow the below steps:    a. Click on the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder. Check       the DEFAULT_HOME, HOME_COUNTER and LAST_HOME keys value and:          i.   Decrease the HOME_COUNTER key value by 1         ii.  If the LAST_HOME key value is the same as <ORACLE_HOME_NUMBER>,              change it to any other existing Oracle Home Number         iii. If the DEFAULT_HOME key value is the same as <ORACLE_HOME_NAME>,              change its value to any other existing Oracle Home Name    b. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES\IDx folder,      where x is the <ORACLE_HOME_NUMBER>    c. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEx folder, where x is       the <ORACLE_HOME_NUMBER>    d. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Delete all keys that       has a reference to the <ORACLE_HOME_PATH>.     e. If you are de-installing an Infrastructure installation, remove the       \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLAP folder if it exists.    f. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder.       If the ServerRoot key value is referencing the <ORACLE_HOME_PATH>, change      it to the Apache\Apache directory of any existing 9iAS Release 2       installation on the same machine. For example, D:\Ias902\BI_F\Apache\Apache.      If not remaining 9iAS Release 2 installations exist on the machine, then      remove the \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder.     g. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services folder.       Delete all underneath folders that starts with Oracle<ORACLE_HOME_NAME>.        Refer to step 2 above for a typical list of Services to delete for each       install type.       Note:      -----      If you are de-installing an Infrastructure, you need to delete the       \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceIASDB        folder as well.    h. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application      folder. Delete all underneath folders that starts with Oracle and has a       EventMessageFile key value which references the <ORACLE_HOME_PATH>.        In a typical 9iAS Release 2 installation the following folders will exist:          i.   J2EE & Webcache Mid Tier installation:             ======================================             Oracle9iAS<ORACLE_HOME_NAME>Agent             Oracle9iAS<ORACLE_HOME_NAME>EMD         ii.  Portal & Wireless Mid Tier installation:             ========================================             Same folders as (i) above         iii. Business Intelligence & Forms Mid Tier installation:             ====================================================             Same folders as (i) above plus:             OracleDiscoverer902              iv. Infrastructure installation:            ============================            Same folders as (i) above plus:            Oracle.iasdb   8- Clean up the Environment --------------------------- Edit the Environment Variables. On NT, choose Start > Settings > Control Panel >  System > Environment tab. On 2000 and XP, choose Start > Settings > Control Panel >  System > Advanced tab > Environment variables. Click on the PATH Environment  Variable. Remove any directory from the PATH Environment Variable value that  reference the <ORACLE_HOME_PATH>.  Check each and every Environment Variable and remove any reference to the  <ORACLE_HOME_PATH>. If the Environment Variable contains references to ONLY the <ORACLE_HOME_PATH>, remove the Environment Variable.   Make sure to Click on APPLY and OK after finishing.   9- Delete the Software and Start Menu icons ------------------------------------------- Using Windows Explorer, explore the Programs folder. On NT, this folder should  be located under %SystemDrive%\Winnt\Profiles\All Users\Start Menu. On 2000/XP, it is located under %SystemDrive%\Documents and Settings\All Users\Start Menu.  Remove the following folder if it exists:     Oracle9i Application Server - <ORACLE_HOME_NAME>   10- Reboot the machine ---------------------- To complete the de-installation process, it is recommended to reboot the  machine.  
0
 

Author Comment

by:teched1000
ID: 12554796
This may be more helpful

Note:229066.1            Content Type:       TEXT/PLAIN      
Subject:       De-Installing 9iAS Release 2 (9.0.2) From Windows Platforms      Creation Date:       11-FEB-2003      
Type:       BULLETIN      Last Revision Date:       01-DEC-2003      
Status:       PUBLISHED            
PURPOSE
-------
 
The purpose of this document is to list all steps required to completely  
de-install Oracle9i Application Server (9iAS) Release 2 (9.0.2+) from Windows  
platforms.
 
 
SCOPE & APPLICATION
-------------------
 
This article is intended for System Administrators and Support Engineers who  
need to completely de-install 9iAS Release 2 (9.0.2) from Windows.  
If multiple 9iAS installations need to be de-installed from the same machine,  
then the steps listed in this article can be applied on each 9iAS installation  
to be de-installed, starting with 9iAS installations (Mid Tiers), followed  
by 9iAS Infrastructure installations.
 
To de-install 9iAS Release 2 (9.0.2+) from Unix platforms, refer to:
  [NOTE:218277.1] <ml2_documents.showDocument?p_id=218277.1&p_database_id=NOT> De-Installing 9iAS Release 2 (9.0.2) From Unix Platforms
 
To de-install ALL Oracle products installed on this machine, refer to:  
  [NOTE:190096.1] <ml2_documents.showDocument?p_id=190096.1&p_database_id=NOT> Manually Deinstalling Oracle from Windows
 
 
CAUTION
-------
 
Because the de-install process will include steps that require manual removal  
and/or update of files that may be shared by other existing Oracle products, it  
is highly recommended to take a full backup of the system before starting the  
de-install process.
 
The steps listed in this article have been tested on an NT machine which has  
the following installed products:
 
1- Oracle Server 8.1.7
2- Oracle Developer 6i
3- Oracle9i Developer Suite Release 2 (9.0.2)
4- Oracle Application Server (4.0.8)
5- Oracle9i Application Server Release 1 (1.0.2.2)
6- Oracle9i Application Server Release 2 (9.0.2) - Infrastructure installation
7- Oracle9i Application Server Release 2 (9.0.2) - J2EE & Webcache Mid Tier install type
8- Oracle9i Application Server Release 2 (9.0.2) - BI & Forms Mid Tier install type
 
The J2EE & Webcache Mid Tier install type (#7 above) has been de-installed  
using this article and a new Business Intelligence & Forms Mid Tier install type  
(without Portal configuration) has been installed successfully using the same  
Oracle Home Name, Oracle Home Path and instance name.
 
 
Steps to De-install a 9iAS Release 2 (9.0.2) Installation on Windows
--------------------------------------------------------------------
 
The following steps need to be taken for each 9iAS installation to be  
de-installed:
 
    1- Verify dependencies
    2- Identify the Oracle Home
    3- Stop the instance
    4- De-install using OUI
    5- Remove configuration information from OID
    6- Remove Oracle Home
    7- Remove Registry entries
    8- Clean up the environment
    9- Delete the Software and Start Menu icons
   10- Reboot the machine
 
 
1- Verify Dependencies
----------------------
Because de-installing a 9iAS installation may affect other associated 9iAS
installations, dependencies need to be verified. Based on the 9iAS  
installation classification, a different set of action may need to be taken to  
other related 9iAS installation prior to de-install.  
 
A 9iAS installation can be classified as one of the following:
 
     a) A standalone installation  
     b) An installation that is acting as the Primary 9iAS Instance
     c) An installation that is associated with an Infrastructure
     d) A standalone Infrastructure installation
     e) An Infrastructure installation that is used by other installations  
        (Mid-Tiers)
 
  a. A standalone installation  
     ============================
     A standalone installation can only be a J2EE and Web Cache install type.  
     In this case, no dependency on/from other installations and no additional  
     actions to be taken at this step.
 
  b. An installation that is acting as the Primary 9iAS Instance
     ==============================================================
     When multiple 9iAS installs are performed on a host, there is only one  
     Oracle Home which will contain the active Oracle Enterprise Manager to  
     enable the Oracle Enterprise Manager Website. All 9iAS instances on a single  
     host are administered by this Enterprise Manager. The instance which  
     contains the active Oracle Enterprise Manager is referred to as the Primary  
     9iAS Instance.  
 
     To identify whether the 9iAS installation to be de-installed is acting as  
     the Primary 9iAS instance or not, use regedit.exe to start the Registry  
     Editor. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Check the  
     EM_LOC key. If the value of the EM_LOC key is matching the Oracle Home Path  
     being de-installed, then this 9iAS instance is acting as a Primary 9iAS  
     instance. Depending on this 9iAS instance version 9.0.2 or 9.0.3 different
     different actions may need to be taken:
 
     i. 9iAS 9.0.2:
        OUI will prompt the user to designate an alternate Primary instance from  
        the remaining instances on the host while de-installation.
 
        Refer to the Oracle9i Application Server Installation Guide, Release 2  
        (9.0.2) for Windows NT/2000, Chapter 8 - Deinstallation and  
        Reinstallation, Deinstallation topic for more details.
 
    ii. 9iAS 9.0.3:
        You need to switch the active Oracle Enterprise Manager to one of the  
        remaining instance. If you have a remaining 9iAS 9.0.3 instance, you  
        must switch your active Oracle Enterprise Manager to that instance.  
        Otherwise, you can switch to any 9iAS 9.0.2 instance. Use the following
        commands to switch the active Oracle Enterprise Manager:
 
            DOS> cd <ORACLE_HOME>\bin
            DOS> emctl switch home
 
        This displays a dialog where you can select another 9iAS instance
        to contain the active Oracle Enterprise Manager
 
        Refer to the Oracle9i Application Server Installation Guide, Release 2  
        (9.0.3) for Microsoft Windows, Chapter 5 - Deinstallation and  
        Reinstallation, Deinstallation topic for more details.
     
  c. An installation that is associated with an Infrastructure
     ============================================================
     After de-installing the installation, for example, Portal and Wireless  
     install type, OUI will remove all configuration information related to this  
     installation from the DCM repository of the Infrastructure. However, in  
     some cases OUI may not properly de-install the installation, therefore the  
     following steps are recommended to be followed:
 
       i. Before de-installing the installation:
          Get the name of the instance, by running the following command in a  
          DOS window. Replace <ORACLE_HOME> with the complete path of the
          9iAS installation home to be de-installed:
 
          DOS><ORACLE_HOME>\dcm\bin\dcmctl whichInstance
 
      ii. After de-installing the installation:
          Remove the instance information from the DCM repository of the  
          Infrastructure, by running the following command in a DOS window.
          Replace <ORACLE_HOME> with the complete path of the Infrastructure  
          installation home:
 
          DOS><ORACLE_HOME>\dcm\bin\dcmctl destroyInstance -i <instance_name>
 
  d. A standalone Infrastructure installation
     ===========================================
     There is no dependency and no further actions need to be taken at this step.
 
  e. An Infrastructure installation used by other installations (Mid-Tiers)
     =========================================================================
     In this case, all installations associated with this Infrastructure  
     installation need to be de-installed prior to de-installing the  
     infrastructure.
 
 
2- Identify the Oracle Home
---------------------------
Many steps explained later in this article require that the Oracle Home Name,  
Path and Number of the 9iAS installation being de-installed to be identified.
The Oracle Home Path is the file system location where this 9iAS installation
resides. The Oracle Home Name is the logical name provided during the  
installation and is associated with the Oracle Home Path.
From the Oracle Home Path, for example, D:\ias902_infra, we will need to  
identify the Oracle Home Name and Number. This information can be retrieved
from the Windows Registry. Use regedit.exe to start the Registry Editor. The
registry folders will be displayed as a hierarchical tree one the left hand
side panel, while the keys of the folder will be displayed in the right hand  
panel when a folder is highlighted.
 
follow the below steps to get the Oracle Home Name and Number:
 
  a. Expand the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder.
  b. Search each IDx folder underneath, where x is an integer number 0, 1, 2,  
     etc. representing the Oracle Home Number
  c. Identify the IDx folder which has the PATH key value matching your Oracle
     Home Path of the 9iAS installation being de-installed, for example
     D:\Ias902\BI_F. The NAME key value in this IDx folder will be the Oracle
     Home Name. The branch name IDx will indicate the Oracle Home Number.
 
The Oracle Home Number, Name and Path of the 9iAS installation to be  
de-installed identified above will be used later in this article.
For simplicity we will refer to their values with <ORACLE_HOME_NUMBER>,  
<ORACLE_HOME_NAME> and <ORACLE_HOME_PATH> respectively.  
 
 
3- Stop the Instance
--------------------
Stop all Oracle services related to the 9iAS installation to be de-installed.
 
On NT, choose Start > Settings > Control Panel > Services. On 2000/XP, Right  
click on My Computer > Manage > Services and Applications > Services.
 
Services related to a specific 9iAS installation can be identified from the  
Oracle Home Name included in the Service name.  
 
In a typical 9iAS Release 2 installation the following Services will exist:  
 
  a. J2EE & Webcache Mid Tier installation:
     ======================================
     Oracle<ORACLE_HOME_NAME>Agent
     Oracle<ORACLE_HOME_NAME>EMWebsite
     Oracle<ORACLE_HOME_NAME>ProcessManager
     Oracle<ORACLE_HOME_NAME>WebCache
     Oracle<ORACLE_HOME_NAME>WebCacheAdmin
     Oracle<ORACLE_HOME_NAME>WebCacheMon
 
  b. Portal & Wireless Mid Tier installation:
     ========================================
     Same Services as (a) above
 
  c. Business Intelligence & Forms Mid Tier installation:
     ====================================================
     Same Services as (a) above plus:
     Oracle<ORACLE_HOME_NAME>ClientCache
     Oracle<ORACLE_HOME_NAME>Discoverer      
 
  d. Infrastructure installation:
     ============================
     Same Services as (a) above plus:
     Oracle<ORACLE_HOME_NAME>ClientCache
     Oracle<ORACLE_HOME_NAME>InternetDirectory_iasdb
     Oracle<ORACLE_HOME_NAME>PagingServer
     Oracle<ORACLE_HOME_NAME>TNSListener
     OracleServiceIASDB
 
 
4- De-install using OUI
-----------------------
Use the Oracle Universal Installer (OUI) to de-install the installation.  
Select the Oracle Home to be de-installed in the OUI Inventory Screen and  
click Remove.
 
 
5- Remove configuration information from OID
--------------------------------------------
When you de-install a 9iAS installation (Mid-Tier) that is associated with an  
Infrastructure using Oracle Universal Installer, the configuration information  
stored in Oracle Internet Directory for this installation is not automatically  
removed. This is necessary if you need to install/re-install a new 9iAS  
installation (Mid-Tier) with the same name as the previously de-installed
one. Refer to the steps listed in "Oracle9i Application Server Administrator's  
Guide Release 2", Chapter 12 "Managing Oracle Internet Directory", "Removing  
an Application Server Instance From Oracle Internet Directory" topic, to  
manually remove the configuration information of the installation from OID.
 
6- Remove Oracle Home
---------------------
Manually remove the Oracle Home of the de-installed installation. Assuming  
that <ORACLE_HOME_PATH> is D:\Ias902\BI_F, use the Windows Explorer to delete  
the D:\Ias902\BI_F directory.
 
 
7- Remove Registry Entries
--------------------------
Because the following steps include manual delete of Windows Registry entries and
since deleting incorrect entries can severely compromise your computer, take  
extreme care while editing the Registry. Note that some of the below mentioned  
registry folders and keys may have already been removed by OUI in step 4 above.
 
Using the <ORACLE_HOME_NUMBER>, <ORACLE_HOME_NAME> and <ORACLE_HOME_PATH>  
values identified in step 2 above follow the below steps:
 
  a. Click on the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES folder. Check  
     the DEFAULT_HOME, HOME_COUNTER and LAST_HOME keys value and:
 
        i.   Decrease the HOME_COUNTER key value by 1
        ii.  If the LAST_HOME key value is the same as <ORACLE_HOME_NUMBER>,
             change it to any other existing Oracle Home Number
        iii. If the DEFAULT_HOME key value is the same as <ORACLE_HOME_NAME>,
             change its value to any other existing Oracle Home Name
 
  b. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES\IDx folder,
     where x is the <ORACLE_HOME_NUMBER>
 
  c. Remove the \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEx folder, where x is  
     the <ORACLE_HOME_NUMBER>
 
  d. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE folder. Delete all keys that  
     has a reference to the <ORACLE_HOME_PATH>.  
 
  e. If you are de-installing an Infrastructure installation, remove the  
     \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLAP folder if it exists.
 
  f. Click on \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder.  
     If the ServerRoot key value is referencing the <ORACLE_HOME_PATH>, change
     it to the Apache\Apache directory of any existing 9iAS Release 2  
     installation on the same machine. For example, D:\Ias902\BI_F\Apache\Apache.
     If not remaining 9iAS Release 2 installations exist on the machine, then
     remove the \HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.22 folder.  
 
  g. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services folder.  
     Delete all underneath folders that starts with Oracle<ORACLE_HOME_NAME>.  
 
     Refer to step 2 above for a typical list of Services to delete for each  
     install type.
 
     Note:
     -----
     If you are de-installing an Infrastructure, you need to delete the  
     \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceIASDB  
     folder as well.
 
  h. Expand the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
     folder. Delete all underneath folders that starts with Oracle and has a  
     EventMessageFile key value which references the <ORACLE_HOME_PATH>.  
 
     In a typical 9iAS Release 2 installation the following folders will exist:  
 
       i.   J2EE & Webcache Mid Tier installation:
            ======================================
            Oracle9iAS<ORACLE_HOME_NAME>Agent
            Oracle9iAS<ORACLE_HOME_NAME>EMD
 
       ii.  Portal & Wireless Mid Tier installation:
            ========================================
            Same folders as (i) above
 
       iii. Business Intelligence & Forms Mid Tier installation:
            ====================================================
            Same folders as (i) above plus:
            OracleDiscoverer902      
 
       iv. Infrastructure installation:
           ============================
           Same folders as (i) above plus:
           Oracle.iasdb
 
 
8- Clean up the Environment
---------------------------
Edit the Environment Variables. On NT, choose Start > Settings > Control Panel > 
System > Environment tab. On 2000 and XP, choose Start > Settings > Control Panel > 
System > Advanced tab > Environment variables. Click on the PATH Environment  
Variable. Remove any directory from the PATH Environment Variable value that  
reference the <ORACLE_HOME_PATH>.
 
Check each and every Environment Variable and remove any reference to the  
<ORACLE_HOME_PATH>. If the Environment Variable contains references to ONLY the
<ORACLE_HOME_PATH>, remove the Environment Variable.  
 
Make sure to Click on APPLY and OK after finishing.
 
 
9- Delete the Software and Start Menu icons
-------------------------------------------
Using Windows Explorer, explore the Programs folder. On NT, this folder should  
be located under %SystemDrive%\Winnt\Profiles\All Users\Start Menu. On 2000/XP,
it is located under %SystemDrive%\Documents and Settings\All Users\Start Menu.  
Remove the following folder if it exists:  
 
  Oracle9i Application Server - <ORACLE_HOME_NAME>
 
 
10- Reboot the machine
----------------------
To complete the de-installation process, it is recommended to reboot the  
machine.
 
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question