Skip Headers

Oracle9i Application Server Installation Guide
Release 2 (9.0.2) for Windows NT/2000

Part Number A97392-03
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

8
Deinstallation and Reinstallation

This chapter guides you through the deinstallation and reinstallation process for Oracle9i Application Server (Oracle9iAS). The topics include:

8.1 Deinstallation

This section guides you through the deinstallation process of Oracle9iAS. This section includes the following topics:

In order to successfully deinstall Oracle9iAS from your host, Oracle recommends deinstalling all secondary (or subsequent) Oracle9iAS installations before you deinstall the primary (or first) installation.

Your primary installation contains the active Oracle9iAS Administration Service. If you deinstall the primary installation and there are other installations of Oracle9iAS on your host, the Oracle Universal Installer requests that you designate one of the remaining Oracle9iAS installations to be the primary installation. The new primary installation will maintain the configuration information for the remaining Oracle9iAS installations on the host.

You must stop all Oracle services and applications before starting the deinstallation process. Refer to the Oracle9i Application Server Administrator's Guide for instructions on starting and stopping the Oracle Enterprise Manager Web site.


Note:

Oracle Universal Installer does not permit custom deinstallation of select components or Oracle9iAS instances. Confirm deinstall objectives before launching deinstallation.



Note:

Use the version of Oracle Universal Installer that comes with this release to deinstall any Oracle products installed on your system. For example, Oracle databases, version 8i and 9.0.1, and Oracle9iAS, versions 1.x.


8.1.1 Deinstalling the Oracle9iAS Metadata Repository

If you are deinstalling an instance of Oracle9iAS Infrastructure, then you must first deinstall the existing installation of Oracle9iAS Metadata Repository using the Oracle Database Configuration Assistant (DBCA).

Using the DBCA to delete a database removes a database's initialization parameter files, instances, optimal flexible architecture, and network configuration. However, the DBCA does not remove datafiles if you placed the files on raw partitions.

To delete a database with the DBCA:

  1. Select Start > Programs > Oracle-Oracle_Home_Name > Configuration and Migration Tools > Database Configuration Assistant.

    The DBCA Welcome page appears. Click Next.

  2. Select Delete a database and click Next.

    Figure 8-1 Operations Screen 1

    Text description of deletedb1.gif follows.

    Text description of the illustration deletedb1.gif

  3. Select the database instance you want to delete and click Finish.

    Figure 8-2 Operations Screen 2

    Text description of deletedb2.gif follows.

    Text description of the illustration deletedb2.gif

    Based on your system configuration you may see the following screens:

    • If you have more than one database installation in your Oracle home, then DBCA will display a list of all databases that are invoked from the Oracle home location. Verify the database you want to deinstall and click Next.

    • If your username and password are not authenticated to your operating system, the DBCA database list will contain username and password fields. You must enter a username and password that has system database privilege to delete a specific database.

  4. The DBCA displays an alert dialog showing the database name and associated instances that the DBCA is going to delete.

    Click OK to complete the deletion of the database and its associated files, or click Cancel to stop the operation.

    When you click OK, the DBCA continues the operation and deletes all the associated instances for this database.

8.1.2 Deinstallation Using Oracle Universal Installer

  1. Launch the Oracle Universal Installer from Start > Programs > Oracle Installation Products > Universal Installer.

    The Welcome screen appears. Click Deinstall Products.

    The Welcome screen provides information about Oracle Universal Installer.

    The installer provides you with two ways to deinstall products:

  2. Review the installations on the Inventory screen and check the one you wish to deinstall. Click Remove.


    Note:

    The "+" sign before a product name indicates that there are more components and files installed within that particular product. Click on it to view dependent components. If you choose to remove a product or component, then all of its dependent components and files are also deinstalled. Confirm deinstall objectives before launching deinstallation.


    Figure 8-3 Inventory Screen

    Text description of deinstallinventory.gif follows.

    Text description of the illustration deinstallinventory.gif

    The Inventory screen appears when you click Deinstall Products on the Welcome screen, or Installed Products on any screen.

    The Inventory screen displays all the components installed in Oracle home.

    The Inventory screen contains the following:

    • Product Information: View the full location path of the selected component.

    • Help: Access detailed information about the functionality of the Inventory screen.

    • Remove: Deinstall all checked components from Oracle home.

    • Save As: Save the inventory to a text file. A file browser dialog pops up when you click Save As. Enter a file name to save the complete inventory list.

    • Close: Quit the Inventory screen and return to Oracle Universal Installer.

  3. Verify the components selected for deinstallation, and click Yes.

    Figure 8-4 Confirmation Screen

    Text description of confirmation.gif follows.

    Text description of the illustration confirmation.gif

    The Confirmation screen lists all the components selected for deinstallation in the Inventory screen. Scroll down the screen to verify selected components.


    Note:

    Oracle Universal Installer does not delete all the files and directories during deinstallation. Remove remaining files manually.


    The following buttons appear on the Confirmation screen:

    • Help: Access detailed information about the functionality of the Confirmation screen.

    • Yes: Start deinstallation of listed components.

    • No: Return to the Inventory screen. Listed components are not removed from Oracle home.

  4. The following Oracle9iAS Administration Service screen appears prior to deinstallation. Click OK to continue.

    Figure 8-5 Oracle9iAS Administration Service Screen

    Text description of adminserv.gif follows.

    Text description of the illustration adminserv.gif

    This screen presents one of the following messages:

    • The active Oracle9iAS Administration Service is in Ora9ias_home. There are no other Administration Services available.

      This message appears when there is only one Oracle9iAS installation on the host and you are about to deinstall it.

    • The active Oracle9iAS Administration Service is in Ora9ias_home. You may select one of the Administration Services below to become the active one.

      This message appears when there are multiple Oracle9iAS installations on the host and you are about to deinstall the primary installation. You can select one of the remaining Oracle9iAS installations which will then become the primary installation and the new location for the Oracle9iAS Administration Service.

  5. Monitor the deinstallation process.

    The Remove Progress Bar screen appears when you click Remove. The installer detects all components chosen for deinstallation from the Inventory screen and removes them from Oracle home.

  6. Following deinstallation of Oracle9iAS using Oracle Universal Installer, restart your computer to stop any remaining processes associated with the deinstallation.

  7. After your computer has rebooted, delete any remaining Oracle home directories or services associated with the deinstallation.

8.1.3 Deinstalling by Manually Removing All Oracle Products

The following steps remove all Oracle products from your computer.


Warning:

These instructions remove all Oracle components, services, and registry entries from your computer. Exercise extreme care when removing registry entries. Removing incorrect entries can break your system. Oracle recommends verifying deinstallation objectives before using these steps


  1. Edit the Registry Key Values.

    1. Click Start > Run, type in regedit.exe and click OK.

      The Registry Editor is displayed.

    2. Select and click the "+" next to the HKEY_LOCAL_MACHINE listing.

    3. Select and click the "+" next to the SOFTWARE listing.

    4. Scroll down and highlight the ORACLE folder. Delete the folder.

    Delete the following folders from the Registry:

    • HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > ORACLE.

    • HKEY_LOCAL_MACHINE > SYSTEM > ControlSet X > Services > ORACLE.

      X is a number. For example, ControlSet001.

    • HKEY_CURRENT_USER > Software > ORACLE.

    • HKEY_CLASSES_ROOT > ORACLE.

    Delete the following additional folders for Windows NT:

    • HKEY_LOCAL_MACHINE > SOFTWARE > Apache Group > Apache 1.X.X. If the ServerRoot path points to an existing Oracle home, select and delete Apache Group.

    • HKEY_LOCAL_MACHINE > SOFTWARE > classes. Scroll down and delete any ORACLE folders.

  2. Exit the Registry Editor.

  3. Check environment variables.

    For Windows 2000:

    • Right click My Computer > Properties > Advanced > Environmental Variables.

    For Windows NT:

    • Right click My Computer > Properties > Environment.

    1. Delete the following System Variables if they exist:

      • DISCO_JRE

      • DISCO_VBROKER

      • VBROKER_JAVAVM

      • VBROKER_TAG -D

      • WV_GATEWAY_CFG

    2. Modify the Path System Variable to remove all path strings to any previous Oracle home paths.

      • For Windows 2000:

        Highlight the Path System Variable. Click the Edit button and modify the Path in the Variable Value field.

      • For Windows NT:

        Highlight the Path System Variable so that it appears in the Variable field. Modify the Path in the Value field.

        For example, the following shows an Oracle-modified Path system variable:

        C:\ias902a\iSuites\BIN;C:\ias902a\806\bin;C:\ias902a\iSuites\Apache\
        Perl\5.00503\bin\mswin32-x86;C:\ProgramFiles\Oracle\jre\1.1.7\bin;C:
        \WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\ias902a\806\vbrok
        er\bin;C:\ias902a\806\jdk\bin
        
        

        The following shows the Path system variable after removal of the Oracle home references:

        C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
        
        
  4. Click OK

  5. Remove Oracle program folders.

    For Windows 2000:

    • Click Start > Programs. Remove Oracle folders by right clicking on the folder and selecting Delete.

    For Window NT:

    1. Click Start > Programs > Windows NT Explorer.

    2. On the installation hard drive go to WINNT\Profiles\All Users\Start Menu\Programs.

    3. Right click and delete each Oracle directories.

    4. Go to WINNT\Profiles\All Users\Start Menu\Programs\Startup.

    5. Right click and delete each Oracle icon.

  6. Delete the Oracle user.

    For Windows 2000:

    1. Click Start > Settings > Control Panel > Administrative Tools > Computer Management > Local Users and Groups > Users. Open the Users folder and delete the user name for installation of Oracle applications.

    2. Exit Administrative Tools.

    3. Double click My Computer on your desktop. Inspect the Documents and Settings directories on your hard drive and delete any Oracle user entries.

    4. Exit My Computer.

    For Windows NT:

    1. Click Start > Programs > Administrative Tools > User Manager. Under the Username column, highlight the user name for installation of Oracle applications. Select Delete from the User menu.

    2. Exit the User Manager.

    3. Click Start > Programs > Windows NT Explorer. Go to WINNT\Profiles on the installation hard drive and remove the user for installation of Oracle applications.

    4. Exit Windows NT Explorer.

  7. For Windows NT, delete Oracle folders in the TEMP directory.

    1. Click Start > Programs > Windows NT Explorer

    2. Open the TEMP directory on your installation hard drive and delete the Install Guide and OraInstall directories.

    3. Exit Windows NT Explorer.

  8. Reboot your computer.

  9. After your computer reboots, remove existing Oracle home directories from your hard drive.

    Click Start > Programs > Windows NT Explorer. Delete any Oracle home directories that are displayed on your installation hard drive.

    For example:

    C:\Oracle\*, C:\Program Files\Oracle\*

  10. Exit Windows NT Explorer.

  11. Reboot your computer.

8.2 Reinstallation

Oracle Universal Installer does not allow reinstallation of Oracle9iAS over an installed version. To reinstall Oracle9iAS over the same version, deinstall and then install the product.

If you deinstall an Oracle9iAS instance that uses an Oracle9iAS Infrastructure, you cannot reuse the same Oracle9iAS instance name of that deinstalled instance when installing subsequent Oracle9iAS instances. In order to reuse the Oracle9iAS instance name, you must manually delete the entry for the deinstalled Oracle9iAS instance in Oracle Internet Directory.

See Also:


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index