9/10

# 5 Removing the Oracle Audit Vault Server Software

This chapter describes the process of removing the Oracle Audit Vault Server (Audit Vault Server) software.

To remove Audit Vault Server software, all Oracle Audit Vault collection agents must be stopped if the Oracle Audit Vault collection agent software is installed on the same system as the Audit Vault Server software. See Oracle Audit Vault Collection Agent Installation Guide for more information.

Then, use the following procedure to uninstall the Audit Vault Server software.

1. Stop the Oracle Audit Vault Console using the `avctl stop_av` command.

   This command performs an emctl stop dbconsole operation. For example:

       $ avctl stop_av

   In an Oracle RAC environment, run that command on all nodes where Oracle Audit Vault is installed if you are removing the Audit Vault Server from all nodes.

2. Start the Database Configuration Assistant to delete the Oracle Audit Vault database and then stop the listener.

   Perform the following steps:

   1. Start the Database Configuration Assistant from the command-line.

          $ dbca

      The Welcome window appears.

   2. Click Next.

      The Operations window appears.

   3. Select Delete a Database, then click Next.

   4. Select the Oracle Audit Vault database that you want to delete, then click Finish.

   5. In the window that appears, confirm that you want to delete the Oracle Audit Vault database.

   6. When the Database Configuration Assistant removes the Audit Vault database, you are prompted to choose whether you want to perform another operation. Click No to exit from the Database Configuration Assistant.

      In an Oracle RAC environment, run the Database Configuration Assistant on all nodes where Oracle Audit Vault is installed if you are removing the Audit Vault Server from all nodes.

   7. Stop the listener.

      Look in the `listener.ora` file to check the name of the listener. It might be `LISTENER1` or some other name, but usually it is `LISTENER`. For example:

          $ lsnrctl stop listener-name

      In an Oracle RAC environment, run that stop listener command on all nodes where Oracle Audit Vault is installed if you are removing the Audit Vault Server from all nodes.

3. Uninstall the Audit Vault Server by running the following command in the Audit Vault Server home directory. For example:

       $ $ORACLE_HOME/oui/bin/runInstaller

   Note:

   Before removing the Audit Vault Server software, first use the DBCA "Delete a database" option to select and delete the database. See Oracle Database 2 Day DBA and Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for more information about using DBCA to delete a database.

4. Click Deinstall Products to bring up the Oracle Inventory screen.

   Select the Oracle homes and the products that you want to remove by selecting the desired check boxes, then click Remove.

5. Clean up the old Oracle directories.

   On systems where Oracle Audit Vault is the only Oracle software installed, go to the directory for `oracle`, and remove the directory using the `rm -r` command. Otherwise, delete the Audit Vault Server home.

   Issue the following command to confirm there is no other Oracle home installed.

       $ grep 'HOME NAME' OraInventory/ContentsXML/inventory.xml

   In an Oracle RAC environment, perform these operations on all nodes where Oracle Audit Vault is installed if you are removing the Audit Vault Server from all nodes.