Oracle eMail Server Installation Guide
Release 5.2 for Sun SPARC Solaris 2.6

Part Number A88649-01

Library

Go to previous page Go to next page

4
Deinstallation

Before deinstalling eMail Server you must deinstall database objects. You must deinstall both software and database objects before you can re-install eMail Server.

This chapter contains these topics:

Deinstalling Database Objects

Use the following procedure to remove database objects.

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

    % oomgr
    IOFCMGR> shutdown all;
    IOFCMGR> exit
    
    
  2. Stop the Guardian process as follows:

    % ofcguard stop
    
    
  3. Shut down and restart the database as follows:

    % 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 as follows:

    % cd $ORACLE_HOME/office/admin/pckg
    % sqlplus SYS/password
    SQL> @ofcdrp.sql;
    
    


    Note:

    This script drops all eMail Server schema from the database. This includes all eMail Server users, roles, tables, views, and tablespaces. 


  5. Provide the database account names for eMail Server mail, scheduler, and directory components. Press Return to accept the defaults, shown in square brackets.

    Please enter the name of the Mail database account: [oo_mail]
    Please enter the name of the Directory database account: [oo_ds]
    Please enter the name of the Scheduler database account: [oo_sched]
    
    
  6. Provide tablespace names for eMail Server components. Press Return to accept the defaults, shown in square brackets, or to indicate that no such component was installed.

    Please enter the name of the OFC_MAIN tablespace:[ofc_main]
    Please enter the name of the OFC_MESG tablespace:[ofc_mesg]
    Please enter the name of the OFC_INDB tablespace:[ofc_indb]
    Please enter the name of the OFC_INDS tablespace:[ofc_inds]
    Please enter the name of the OFC_CTX tablespace:[ofc_ctx]
    
    

The results of the ofcdrp.sql script are logged to the
$ORACLE_HOME/office/admin/pckg/ofcdrp.log file. This process takes several minutes to complete.

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

    % cd $ORACLE_HOME
    % 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 - omn$ORACLE_SID.dbf 
    OFC_MESG - omsg$ORACLE_SID.dbf
    OFC_INDB - oidb$ORACLE_SID.dbf
    OFC_INDS - oids$ORACLE_SID.dbf 
    OFC_INDS - oids$ORACLE_SID.dbf
    OFC_     - octx$ORACLE_SID.dbf
    
    
  3. After removing both software and database objects, you can re-install eMail Server.

Deinstalling Software

To remove eMail Server software, perform the following steps:

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

    % oomgr
    IOFCMGR> shutdown all;
    IOFCMGR> exit
    
    
  2. Stop the Guardian process:

    % ofcguard stop
    
    
  3. Start the Oracle Universal Installer, as described in Chapter 2.

  4. In the Welcome screen, click on Deinstall Products. The Inventory screen displays.

  5. Select the software products you want to deinstall and click Remove. The Installer deinstalls the selected software.

  6. Remove any installed database objects to complete the eMail Server deinstallation.

    See Also:

    "Deinstalling Database Objects" 


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

All Rights Reserved.

Library