Skip Headers
Oracle® Application Server Installation Guide
10g Release 3 (10.1.3.2.0) for HP-UX Itanium

Part Number B32404-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

D Deinstallation and Reinstallation

This appendix guides you through the deinstallation and reinstallation process for Oracle Application Server.

D.1 Deinstallation Procedure: Overview

Follow these high-level steps to deinstall Oracle Application Server (the details are provided in later sections):

  1. Run the installer and click the Deinstall Products button.

  2. Clean up any remaining files.

Items to Remove or Clean Up

To deinstall Oracle Application Server instances, you have to clean up the items listed in Table D-1. The procedures are described later in this appendix.

Table D-1 Items to Deinstall

Item to Clean Up Tool to Use

Entries for the deleted instance in the Inventory directory

Installer

Instance name from Farm page

Installer

Entries for the deleted instance in the /var/opt/oracle/oratab directory

You have to remove the entries manually. See Step 6.


The installer does not permit custom deinstallation of individual components.

D.2 Deinstalling Procedure

The steps to deinstall Oracle Application Server are as follows:

  1. Log in as the operating system user who installed the instance you want to deinstall.

  2. Stop all processes associated with the instance you want to deinstall.

    See the Oracle Application Server Administrator's Guide for details on how to stop the processes.

  3. Start the installer.

    prompt> $ORACLE_HOME/oui/bin/runInstaller
    
    
  4. Follow these steps in the installer.

    1. Welcome screen: Click Deinstall Products.

    2. Inventory screen: Select the instance you want to deinstall, and click Remove.

    3. Confirmation screen: Verify the components selected for deinstallation. Click Yes to continue.

    4. Deinstallation Progress screen: Monitor the progress of the deinstallation.

    5. Exit the installer when the deinstallation is complete.

  5. Delete any remaining files in the deleted instance's Oracle home directory.

    prompt> rm -rf $ORACLE_HOME
    
    
  6. Remove the line for the deinstalled instance from the /var/opt/oracle/oratab file.

    Towards the end of the file, you should see lines that specify the Oracle home directory. Remove the line for the Oracle home that you deinstalled. For example, if your Oracle home is /private1/j2ee, the line would look like the following:

    *:/private1/j2ee:N
    
    
  7. If you deinstalled Oracle Content DB, perform the steps in Section D.3, "Additional Deinstallation Tasks for Oracle Content DB".

D.3 Additional Deinstallation Tasks for Oracle Content DB

This section describes additional tasks to deinstall Oracle Content DB. If you have more than one middle tier, perform these steps after you deinstall the last Oracle Content DB middle tier.

  1. On the database computer, go to the Oracle home of the database.

  2. Connect to SQL*Plus as the database user SYS, with the SYSDBA option.

  3. Drop the Oracle Content DB schemas (CONTENT and CONTENT$CM), the Oracle Workflow schema (OWF_MGR), and the Oracle Content DB tablespaces by executing the following commands. The first command may take a few minutes to run.

    drop user CONTENT cascade;
    drop user CONTENT$CM cascade;
    drop user OWF_MGR cascade;
    drop tablespace CONTENT_IFS_MAIN including contents;
    drop tablespace CONTENT_IFS_LOB_N including contents;
    drop tablespace CONTENT_IFS_LOB_I including contents;
    drop tablespace CONTENT_IFS_LOB_M including contents;
    drop tablespace CONTENT_IFS_CTX_K including contents;
    drop tablespace CONTENT_IFS_CTX_I including contents;
    drop tablespace CONTENT_IFS_CTX_X including contents;
    drop tablespace WORKFLOW_IFS_MAIN including contents;
    

D.4 Cleaning Up Oracle Application Server Processes

If you forgot to shut down Oracle Application Server processes before starting the installation, you have to kill the processes because the files for these processes are deleted. To check for processes that are still running, run the ps command:

prompt> ps -ef

To kill a process, use the kill command:

prompt> kill -9 process_id

You can determine the process_id from the ps command.

D.5 Reinstallation

The installer does not allow reinstallation of an Oracle Application Server instance in a directory that already contains an Oracle Application Server instance. To reinstall Oracle Application Server in the same directory, you have to deinstall and then install it.