Notes for Oracle 8i – Including How to get a “Clean Machine”

 

Installation Requirements

·        Before installing an Oracle8i server, ensure that any existing Net8 or SQL*Net listeners on the same computer are stopped.  An existing listener may prevent the Net8 8.1 listener from starting during the Oracle8i install due to listener endpoint conflicts with an existing listener.

·        You must have Administrative privileges to install. Before beginning installation, ensure that you are logged on as a user with Administrative privileges.

·        If Net8 8.1 listener service is not created during Oracle 8i installation due to conflicts in listening endpoints, you should first resolve the conflicts by changing listener configurations and then start your Net8 8.1 listener by using the listener control program:

·        From a command prompt:

·        lsnrctl start <listener_name>

where <listener_name> is LISTENER for typical install or the listener name given during custom install.  This command also creates the NT service for the listener, if the service does not already exist. 

 

Notes for De-installing Oracle 8I

 

·        When de-installing the database and Net8 server for 8.1.5, the corresponding services are not automatically removed.  This will generate event viewer errors when rebooting your computer. To correct this, you must manually remove these entries in the registry.  Before you attempt these steps, make sure you know which Oracle home and SID to de-install.  Deleting the wrong home and/or SID service entry could cause major problems with your Oracle environment. Below is an example of removing services. Follow similar steps for each service you want to remove.

 

1.  Start regedit (you can start it at the command prompt by typing C:\regedit, or from the Start menu.)

2.  Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

3.  Delete Oracle<HOME_NAME>TNSListener.

4.  Delete OracleService<SID>.

 

<HOME_NAME> is the Oracle Home Name you just deinstalled from (such as: OraHome81)

<SID> is the SID you just deinstalled (such as: ORCL)

 

Notes for Installing other Oracle Products

 

·        When you begin to install products a second time after initially installing using Oracle Universal Installer, (if you choose to perform a Custom installation) you will see that the products you previously installed are selected. For example, if you previously installed Oracle Server and SQL*Plus, those items will be selected in the list of installable products.  To install additional products, select those products, but do not deselect the products you have already installed. If you deselect the products you previously installed, they will be deinstalled.  If you reinstall products using Oracle Universal Installer, reboot your machine after installation.

 

Oracle Enterprise Manager & Oracle 8i

 

1. Please refer to the Oracle Enterprise Manager README (part number A67819-01) before using Oracle Enterprise Manager release 2.0.4 Production.

2. If you install Oracle Enterprise Manager version 2.0.4 and an 8.1.5 database on the same computer, they must be installed into different Oracle homes.

 

Creating a Clean Machine (Removing All)!

 

In rare situations, some users may want to correct serious system problems by completely removing Oracle products from their system. This is not recommended as an easy way to fix problems, especially common ones. Only create a Clean Machine as a last resort, and only if you want to remove all Oracle products from your system. Complete the following steps to create a Clean Machine.

Note: The following Clean Machine instructions assume an OFA (Optimal Flexible Architecture) structure.

Warning: This will remove all Oracle products, Oracle services, and Oracle registry entries from your computer.

 

On Windows NT:

 

1. Ensure you are logged in as a user with Administrator privileges.

2. Using regedit (at the command prompt, type regedit), go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and delete the ORACLE key.

3. Delete HKEY_LOCAL_MACHINE\SOFTWARE\odbc.

4 Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services that begin with ORACLE.

5. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application that begin with ORACLE.

6. Close regedit.

7. From the Control Panel, open System.

8. If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. For example, you may see a path similar to this one: C: \ORACLE\ORA81\BIN;G: \Program Files\Oracle\jre\1.1.7\bin. Go to Start > Control Panel > System > Environment tab. Click on the system variable path and modify the path.

9. Delete Icons from <system_drive>: \Winnt\Profiles\All Users\Start Menu\Programs\Oracle - <HOME> and <system_drive>: \Winnt\Profiles\All Users\Start Menu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.

10. Delete <system_drive>: \Program Files\Oracle (from the Windows NT Explorer or from the command prompt).

11. Reboot your computer.

12. Delete all ORACLE_BASE directories (You can find the Oracle homes listed in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOMES).