Skip Headers
Oracle® Audit Vault Server Installation Guide
Release 10.2.3.2 for Microsoft Windows (32-Bit)

Part Number E14467-04
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
PDF · Mobi · ePub

4 Removing Audit Vault Server Software

This chapter describes the process of removing the Oracle Audit Vault Server (Audit Vault Server) software. It contains the following sections:

4.1 Removing the Audit Vault Server Software

Before you can remove the Audit Vault Server software, you must stop all Oracle Audit Vault collection agents 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.

Use Oracle Universal Installer to remove Oracle Audit Vault Server software components from the inventory on the computer. Afterward, you need to manually remove the remaining components (see Section 4.2).

Do not delete Audit Vault Server home files or directories (for example, using Windows Explorer or the command prompt) without first using Oracle Universal Installer unless you exit Oracle Universal Installer during an installation. Otherwise, the components in the Audit Vault Sever home remain registered in the Oracle Universal Installer inventory. If you manually delete Audit Vault Server home files and you attempt an installation in the same Oracle home, then some or all of the selected components may not be installed or properly configured.

Oracle Universal Installer does not register the installation in its inventory if the installation is unexpectedly interrupted. However, files may have been copied to your Oracle Audit Vault Server home. Remove these files manually and restart the installation.

Note:

You can use Oracle Database Configuration Assistant to remove an Oracle Audit Vault instance and related services. For information about Oracle Database Configuration Assistant, see Oracle Database 2 Day DBA and see Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Microsoft Windows.

Use the following procedure to uninstall the Audit Vault Server software.

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

    For example:

    $ avctl stop_av
    

    In an Oracle RAC environment, run this command on all nodes where the Audit Vault Server is installed if you are removing 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 Oracle 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 this command on all nodes where Oracle Audit Vault is installed if you are removing the Audit Vault Server from all nodes.

  3. 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 services named OracleDBConsoleav, OracleJobSchedulerAV, OracleOraAV10g_home1TNSListener, and OracleServiceAV exist and have the status Started, then select each service, and click Stop.

    3. Exit Services.

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

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

    ORACLE_HOME\oui\bin\setup.exe
    

    As an alternative, start Oracle Universal Installer. From the Start menu, select Programs, then Oracle Server - HOME_NAME, then Oracle Installation Products, and then Universal Installer. 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 Oracle Audit Vault collection agent components are removed from your system, the Inventory window appears without the removed components. Click Close to close the Inventory window. Click Cancel to exit Oracle Universal Installer. Click Yes to confirm that you want to exit.

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

  6. Restart your computer.

  7. Clean up the old Oracle directories.

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

    Otherwise, delete the Oracle Audit Vault Server home.

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

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

4.2 Manually Remove the Remaining Oracle Audit Vault Server Components

Oracle Universal Installer creates Windows services for Oracle Audit Vault Server components during installation but it does not delete all the services created by Oracle Net Configuration Assistant and Oracle Database Configuration Assistant during deinstallation. In addition, Oracle Universal Installer does not delete several other registry editor 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 may require reinstallation of your operating system.

If you only had Oracle Audit Vault Server installed on the system and have no other Oracle databases installed on the same system, follow these steps as described in Section 4.2.1 and Section 4.2.2; otherwise, do not proceed with removing these registry entries.

4.2.1 Removing the Oracle Net Service Registry Key

To remove only the Oracle Net Service registry entry (if it exists):

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

  2. Ensure that you have stopped Oracle services by following the instructions in step 2 in Section 4.1.

  3. From a command prompt, enter the following command:

    SYSTEM_DRIVE:\> regedit
    
  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the OracleAudit_Vault_HOME_NAMETNSListener registry entry. Oracle Universal Installer automatically deletes all other Oracle Net services.

  5. Exit the Registry Editor.

  6. Restart your computer.

4.2.2 Removing All Oracle Audit Vault Server Registry Keys

Caution:

These instructions remove all Oracle Audit Vault Server components, services, and registry entries from your computer. Use extreme care when removing registry entries. Removing incorrect entries can break your system. Do not delete any database files under ORACLE_BASE\ORACLE_HOME\DB_NAME until you have completed these instructions.

To remove all Oracle Audit Vault Server registry keys from a computer:

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

  2. Make sure that you have stopped Oracle Audit Vault Server services by following the instructions in step 2 in Section 4.1.

  3. Start the Registry Editor at the command prompt:

    SYSTEM_DRIVE:\> regedit
    
  4. Go to HKEY_CLASSES_ROOT.

  5. Delete keys that begin with Ora, Oracle, Orcl, or EnumOra.

    This collection of keys includes those that begin with the following:

    • EnumOraHomes

    • OracleConfig

    • OracleDatabase

    • OracleHome

    • OracleInProcServer

    • OracleProcess

    • ORADC

    • ORAMMCCFG10

    • ORAMMCPMON10

    • OraOLEDB

    • OraPerfMon

    • ORCLMMC

    • ORCLSSO

    • ORG10SVR

  6. Go to HKEY_CURRENT_USER.

  7. Delete the ORACLE key.

  8. Go to HKEY_CURRENT_USER\Software.

  9. Delete all Oracle keys, including Oracle-Audit_Vault_Server_HOME_NAME entries under: Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs.

  10. Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.

    Select ORACLE and note the value of the inst_loc key. This is the location of Oracle Universal Installer. The default location is c:\Program Files\Oracle\Inventory. If this value is different, make a note of it so that you can delete it later.

  11. Delete the ORACLE Group key.

  12. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.

  13. Expand all the subkeys under ODBC and remove any Oracle-related ODBC driver keys, except for the Microsoft ODBC for Oracle key.

    For example, the ODBC\ODBCINST.INI directory lists keys for each Oracle home. For example, delete Oracle in Audit_Vault_Server_Home_Name, such as Oracle in OraAV10g_home1.

  14. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

  15. Delete all keys under this branch that begin with Oracle or OraWeb. For example, delete the OracleDBConsoleav, OracleJobSchedulerAV, and OracleServiceAV registry entries.

  16. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Eventlog\Application.

  17. Delete all keys under this branch that begin with Oracle. For example, delete Oracle.av and OracleDBConsoleav registry entries.

  18. Exit the Registry Editor.

  19. Restart your computer.

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

Note:

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

4.2.3 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_1\bin
    
  4. Save any changes and exit System.

4.2.4 Removing Oracle Audit Vault Server from the Start Menu

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

Follow these steps:

  1. Select Start, then Programs, then Oracle - Server HOME_NAME. For example, Oracle - OraAV10g_home1.

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

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

  1. Right click the Start button to display the pop-up 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 - Server HOME_NAME folder. For example, delete the Oracle - OraAV10g_home1 folder.

4.2.5 Removing Oracle Audit Vault Server Directories

After removing all Audit Vault Server registry keys and restarting the computer, delete any existing Audit Vault Server 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.