7 Uninstalling or Reinstalling Oracle HTTP Server
Follow the instructions in this section to uninstall or reinstall Oracle HTTP Server.
Note:
This task applies only to standalone Oracle HTTP Server. You cannot uninstall Oracle HTTP Server when it is collocated in a WebLogic Server domain, as partial deconfiguration of a configured domain is not supported.Oracle recommends that you always use the instructions in this section to remove the software. If you try to remove the software manually, you may encounter problems when you try to reinstall the software again at a later time. Following the procedures in this section ensures that the software is properly removed.
Stopping Oracle Fusion Middleware
Before running the Uninstall Wizard, Oracle recommends that you stop all servers and processes associated with the Oracle home you are going to remove.
See Stopping an Oracle Fusion Middleware Environment in Administering Oracle Fusion Middleware.
Uninstalling the Software
Follow the instructions in this section to start the Uninstall Wizard and remove the software.
Note:
This task applies only to standalone Oracle HTTP Server. You cannot uninstall Oracle HTTP Server when it is collocated in a WebLogic Server domain, as partial deconfiguration of a configured domain is not supported.If you want to uninstall the product in a silent (command-line) mode, see Running the Oracle Universal Installer for Silent Uninstallation in Installing Software with the Oracle Universal Installer.
Navigating the Uninstall Wizard Screens
The Uninstall Wizard shows a series of screens to confirm the removal of the software.
Table 7-1 describes the screens in the Uninstall Wizard. For information, click Help on the screen.
Table 7-1 Uninstall Wizard Screens and Descriptions
Screen | Description |
---|---|
Welcome |
Introduces you to the product Uninstall Wizard. |
Uninstall Summary |
Shows the Oracle home directory and its contents that are uninstalled. Verify that this is the correct directory. If you want to save these options to a response file, click Save Response File and enter the response file location and name. You can use the response file later to uninstall the product in silent (command-line) mode. See Running the Oracle Universal Installer for Silent Uninstall in Installing Software with the Oracle Universal Installer. Click Deinstall, to begin removing the software. |
Uninstall Progress |
Shows the uninstallation progress. |
Uninstall Complete |
Appears when the uninstallation is complete. Review the information on this screen, then click Finish to close the Uninstall Wizard. |
Verifying the Uninstallation of Oracle HTTP Server in a Standalone Domain
When Oracle HTTP Server is installed in a standalone domain, you may need to manually delete directories and files.
Removing the Oracle Home Directory Manually
After you uninstall the software, you must manually remove your Oracle home directory and any existing subdirectories that the Uninstall Wizard did not remove.
For example, if your Oracle home directory is
/home/Oracle/product/ORACLE_HOME
on Linux
operating systems, enter the following commands:
cd /home/Oracle/product rm -rf ORACLE_HOME
On Windows operating systems, if your Oracle home directory is
C:\Oracle\Product\ORACLE_HOME
, use a file manager window and navigate to the
C:\Oracle\Product
directory. Right-click on the ORACLE_HOME folder and select Delete.
Removing the Program Shortcuts on Windows Operating Systems
On Windows operating systems, you must also manually remove the program shortcuts; the Deinstallation Wizard does not remove them for you.
To remove the program shortcuts on Windows:
-
Change to the following directory:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle\ORACLE_HOME\Product
-
If you only have one product installed in your Oracle home, delete the ORACLE_HOME directory. If you have multiple products installed in your Oracle home, delete all products before you delete the ORACLE_HOME directory.
Removing the Domain and Application Data
After you uninstall the software, you must remove the domain and application data.
Reinstalling the Software
You can reinstall your software into the same Oracle home as a previous installation only if you uninstalled the software by following the instructions in this section, including manually removing the Oracle home directory.
When you reinstall, you can then specify the same Oracle home as your previous installation.
Consider the following cases where the Oracle home is not empty:
-
Installing in an existing Oracle home that contains the same feature sets.
The installer warns you that the Oracle home that you specified during installation already contains the same software you are trying to install.
-
Installing in an existing, non-empty Oracle home.
For example, suppose you chose to create your Domain home or Application home somewhere inside your existing Oracle home. This data is not removed when you uninstall a product, so if you try to reinstall into the same Oracle home, the installer does not allow it. Your options are:
-
Uninstall your software from the Oracle home (as this section describes) and then remove the Oracle home directory. After you uninstall the software and remove the Oracle home directory, you can reinstall and reuse the same Oracle home location. Any domain or application data that was in the Oracle home must be re-created.
-
Select a different Oracle home directory.
-