Skip Headers
Oracle® Audit Vault Collection Agent Installation Guide
Release 10.2.3

Part Number E11057-02
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

5 Removing Oracle Audit Vault Agent Software

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

5.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 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.

  4. 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.

  5. 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 5.2 for details.

5.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:

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.

5.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:

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.

5.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 5.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.

5.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 5.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.

5.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.

5.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.

5.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.