Oracle eMail Server Installation Guide
Release 5.2

Part Number A86742-01

Library

Contents

Go to previous page Go to next page

4
Deinstallation

Before deinstalling Oracle eMail Server you must deinstall database objects. You must deinstall both software and database objects before you can reinstall Oracle eMail Server.

This chapter contains these topics:

Deinstalling Database Objects

To remove database objects, complete the following steps from the command prompt. Choose Start > Programs > Command Prompt and proceed through the following steps:

  1. Use IOFCMGR to shut down the eMail Server processes:

    C:\>oomgr admin/password
    IOFCMGR> shutdown all;
    IOFCMGR> exit;
    
    
  2. Stop the guardian process:

    C:\>ofcguard stop
    
    
  3. Shut down and restart the database:

    C:\>svrmgrl
    SVRMGR> connect internal
    SVRMGR> shutdown
    SVRMGR> startup
    SVRMGR> exit
    
    
  4. With the database running, use SQL*Plus as the SYS or SYSTEM user and use the ofcdrp.sql script to drop all eMail Server views, tables, users, and their data:

    C:\>cd ORACLE_HOME\office\admin\pckg
    C:\>sqlplus SYS/password
    SQL> @ofcdrp.sql;
    
    

The script displays default values for the user accounts and tablespace names.

  1. Press Enter after each of the prompts to accept the default value:

    Please enter the name of the OFC_MAIN tablespace:
    Please enter the name of the OFC_MESG tablespace:
    Please enter the name of the OFC_INDB tablespace:
    Please enter the name of the OFC_INDS tablespace:
    
    

The results of ofcdrp.sql are logged to
ORACLE_HOME\office\admin\pckg\ofcdrp.log. This process takes several minutes to complete.

  1. Change directories to ORACLE_HOME and shut down the database:

    C:\>cd ORACLE_HOME\bin
    C:\>svrmgrl
    SVRMGR> connect internal
    SVRMGR> shutdown
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SVRMGR> exit
    
    
  2. Remove the files used for eMail Server tablespaces. The following datafiles are located in the default datafile directory and are created by the default installation:

    OFC_MAIN - omnSID.dbf 
    OFC_MESG - omsgSID.dbf 
    OFC_INDB - oidbSID.dbf
    OFC_INDS - oidsSID.dbf 
    
    
  3. Remove the OracleEmailServerSID service using the following command:

    C:\>ORACLE_HOME\bin\ofcsvdel SID
    
    
  4. After removing both software and database objects, you can reinstall Oracle eMail Server.

Deinstalling Software

To remove Oracle eMail Server software, complete the following steps.

  1. Log on to the Microsoft Windows NT server or workstation as an adminsitrator.

  2. Insert the Oracle eMail Server for Windows NT CD-ROM into the CD-ROM drive.

  3. Choose Start > Run. The Open dialog box displays.

    Select the CD-ROM drive and double click on setup.exe. The Oracle Universal Installer launches and the Welcome screen appears.

  4. Click the Deinstall Products button. The Inventory screen appears.

  5. Check the box in front of the products to deinstall and click Remove. The Confirmation screen displays.

  6. Click Yes to remove the selected products.

  7. Remove any installed database objects to complete Oracle eMail Server deinstallation. See "Deinstalling Database Objects" for instructions.


Go to previous page Go to next page
Oracle
Copyright © 1996-2001 Oracle Corporation.

All Rights Reserved.

Library

Contents