Skip Headers

Oracle® Audit Vault Agent Installation Guide 10g Release 2 (10.2.2) Part Number E10087-03 |
Home | Book List | Contents | Index | Contact Us

Previous | Next
| View PDF

# 4 Removing Oracle Audit Vault Agent Software

This chapter describes the process of removing Audit Vault Agent software. It contains the following sections:

- Removing Audit Vault Agent Software

  This section describes general instructions for all Linux and UNIX-based systems and Windows systems.

- For Windows Systems: Manually Remove the Remaining Oracle Audit Vault Agent Components

  This section describes specific instructions for Windows systems about manually removing the remaining registry keys, environment variables, Start menu options, and directories.

## 4.1 Removing Audit Vault Agent Software

Use the following procedure to uninstall the Oracle Audit Vault Agent software:

1. Use the Audit Vault Control (AVCTL) commands documented in Oracle Audit Vault Administrator's Guide to stop all collectors (`stop_collector`) running on the agent, and then to stop the agent itself (`stop_agent`).

2. Use the AVCTL `stop_oc4j` command to stop the OC4J agent. For example:

       avctl stop_oc4j

3. For Windows systems, you must first stop the Oracle Windows services before removing Oracle components or removing any registry entries.

   See Also:

   Your Microsoft online Help for more information about stopping services

   To stop Windows services:

   1. Open the Windows Services utility: From the Start menu, choose Programs, then Administrative Tools, then Services.

   2. If the Oracle service named `Oracle Audit Vault Agent -` `agent name` exists and has the status Started, then select this service, and click Stop.

   3. Exit Services.

4. For Linux and UNIX-based systems, and Windows systems, uninstall the Oracle Audit Vault Agent software by running the following command in the home directory of the Agent. For example:

   For Linux and UNIX-based systems:

       $ $ORACLE_HOME/oui/bin/runInstaller

   For Windows systems:

       <ORACLE_HOME>\oui\bin\setup.exe

   As an alternative for Windows systems, start Oracle Universal Installer: From the Start menu, select Programs, then Oracle Agent - HOME_NAME, then Oracle Installation Products, and then Universal Installer.

   For Linux and UNIX-based systems, and Windows systems, the Welcome window for Oracle Universal Installer appears.

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

   Select the Oracle home directory and the products that you want to remove by selecting the desired check boxes, then click Remove. The Confirmation window appears. Click Yes to remove the selected components.

   After the Audit Vault Agent components are removed from your system, the Oracle Inventory page appears without the removed components. Click Close to close the Oracle Inventory page. Click Cancel to exit Oracle Universal Installer. Click Yes to confirm that you want to exit.

6. Clean up the old Oracle directories.

   On systems where Oracle Audit Vault Agent is the only Oracle software installed, navigate to the directory for `oracle`, and remove the directory.

   For Linux and UNIX-based systems, use the `rm -r` command.

   Otherwise, delete the Oracle Audit Vault Agent home.

   For Linux and UNIX-based systems, issue the following command to confirm there is no other Oracle home installed.

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

   For Windows systems, you must manually remove remaining registry keys, environment variables, Start menu options, and directories. See Section 4.2 for details.

## 4.2 For Windows Systems: Manually Remove the Remaining Oracle Audit Vault Agent Components

Oracle Universal Installer does not remove all Oracle Audit Vault Agent components. After using Oracle Universal Installer to remove Oracle Audit Vault Agent components, you must manually remove the remaining registry keys, environment variables, Start menu options, and directories.

This section contains these topics:

- Removing Oracle Audit Vault Agent Keys from the Registry Editor on Windows

- Updating the PATH Environment Variable Path

- Removing Oracle Audit Vault Agent from the Start Menu

- Removing Oracle Audit Vault Agent Directories

Note:

In rare situations, you might want to correct serious system problems by completely removing Oracle Audit Vault Agent components manually from the computer without first deinstalling Oracle Audit Vault Agent with Oracle Universal Installer. Do this only as a last resort, and only if you want to remove all Oracle Audit Vault Agent components from your system.

### 4.2.1 Removing Oracle Audit Vault Agent Keys from the Registry Editor on Windows

Oracle Universal Installer does not delete all services created by Oracle Net Configuration Assistant. In addition, it does not delete several other registry keys. You must remove any existing registry keys manually by following the instructions in one of the following sections:

- Removing Only the Oracle Audit Vault Agent Service Registry Key

- Removing Only the Oracle Audit Vault Agent Registry Keys

Caution:

Use Microsoft Registry Editor at your own risk. Incorrectly using the Registry Editor can cause serious problems and might require you to reinstall your operating system.

#### 4.2.1.1 Removing Only the Oracle Audit Vault Agent Service Registry Key

To remove only the Oracle Audit Vault Agent Service registry entry (if it exists):

1. Log in as a member of the Administrators group.

2. Ensure that you first follow the instructions in Step 3 in Section 4.1 about stopping Oracle Windows services before removing Oracle Audit Vault Agent components.

3. From the Start menu, choose Run, and then enter the following command:

       regedit

4. Go to `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services` and delete the `Oracle Audit Vault Agent -` `agent name` registry entry.

   When you ran Oracle Universal Installer to deinstall Oracle Audit Vault Agent, it deleted all other Oracle Net services.

5. Exit the Registry Editor.

6. Restart your computer.

#### 4.2.1.2 Removing Only the Oracle Audit Vault Agent Registry Keys

To remove the Oracle Audit Vault Agent registry keys from a computer (if any exist):

Caution:

These instructions remove only the Oracle Audit Vault Agent components, services, and registry entries from your computer. Exercise extreme care when removing registry entries. Removing incorrect entries can break your system. Any database files under `ORACLE_BASE`\`ORACLE_HOME`\`Oracle Audit Vault Agent Name` should be deleted only after completing these instructions.

1. Log in as a member of the Administrators group.

2. Ensure that you first follow the instructions in Step 3 in Section 4.1 about stopping Oracle Audit Vault Agent Windows service before removing the Oracle Audit Vault Agent components.

3. From the Start menu, choose Run, and enter the following command:

       regedit

4. Go to `HKEY_LOCAL_MACHINE\SOFTWARE`.

5. Delete the `ORACLE` key named `KEY_``AgentHOME_NAME`, similar to KEY_OraAV10g_home1.

6. Exit the Registry Editor.

7. Restart your computer.

### 4.2.2 Updating the PATH Environment Variable Path

Check the `PATH` environment variable and remove any Oracle entries.

1. Display System in the Control Panel.

2. Select the Advanced tab and then click Environment Variables.

3. Select the system variable `PATH` and edit it to remove any Oracle entries.

   For example, remove Oracle entries that contain `ORACLE_BASE``\``ORACLE_HOME` in the `Path` variable. You may see a `Path` variable that contains entries similar to the following:

       ORACLE_BASE\ORACLE_HOME\product\10.2.2\av_agent_1\bin

4. Save any changes and exit System.

### 4.2.3 Removing Oracle Audit Vault Agent from the Start Menu

Check the Start menu for any Oracle Audit Vault Agent entries and remove them.

Follow these steps:

1. Select Start, then Programs, then Oracle - Agent HOME_NAME.

2. Right-click Oracle - Agent HOME_NAME, and from the menu, select Delete.

You can also remove Oracle Audit Vault Agent menu entries by using the following method:

1. Right-click the Start button to display the shortcut menu.

2. Select the Explore All Users option.

3. Under Documents and Settings, expand the `\Start` `Menu\Programs` folder.

4. Right-click and delete the Oracle - Agent HOME_NAME folder.

### 4.2.4 Removing Oracle Audit Vault Agent Directories

After removing all Oracle Audit Vault Agent registry keys and restarting the computer, delete any existing Oracle Audit Vault Agent directories and files.

1. Using My Computer or Windows Explorer, delete the `SYSTEM``_``DRIVE``:\program files\oracle` directory.

2. Using My Computer or Windows Explorer, delete the Oracle Audit Vault `ORACLE``_``BASE` directory on your hard drive.