No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eSight V300R009C00 Single-Node System Software Installation Guide (SUSE Linux) 09

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Uninstalling the Oracle Database

Uninstalling the Oracle Database

This topic describes how to uninstall the Oracle database.

Prerequisites

If eSight has been installed, uninstall eSight first.

Procedure

  1. Log in to the Linux OS as the root user.
  2. Run the following commands to stop the listening service and Oracle database:

    NOTE:

    If other processes are using the Oracle database, stop the processes.

    # su - oracle

    > lsnrctl stop ESIGHTLISTENER

    > sqlplus / as sysdba

    SQL> shutdown immediate

    SQL> exit

  3. Run the following command to uninstall the Oracle database.

    > cd /opt/oracle/product/11.2/db_1/deinstall/

    > sh deinstall

    The uninstallation starts. During the uninstallation, the following message is displayed:

    Specify all Single Instance listeners that are to be de-configured [ESIGHTLISTENER]:

    Enter the Instance listeners(default: esight) and press Enter.

    Specify the list of database names that are configured in this Oracle home [esight]:

    Enter the database name (default: esight) and press Enter. The uninstallation continues until the following message is displayed:

    The details of database(s) esight have been discovered automatically. Do you still want to modify the details of esight database(s)? [n]:      

    Press Enter. The uninstallation continues until the following message is displayed:

    Do you want to continue (y - yes, n - no)? [n]: y

    Enter y and press Enter. If the uninstallation is complete, the following message is displayed:

    ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

  4. Switch to the root user, and run the following commands to delete the Oracle files:

    > exit

    # rm -rf /opt/oracle

    # rm -rf /opt/oraInventory

    # rm -rf /home/oracle

    # rm -rf /tmp/CVU_11.2.0.4.0_oracle

    # rm -rf /etc/oratab

    # rm -rf /etc/init.d/orcl

    # rm -rf /usr/local/bin/*oraenv

    # rm -rf /usr/local/bin/dbhome

  5. Run the following commands to delete the oracle user and dba user group:

    # userdel oracle

    NOTE:

    If a message is displayed showing that the oracle user is being used and cannot be deleted, restart the Linux OS and delete the oracle user again.

    # groupdel dba

  6. Restart the Linux OS.

    # sync;sync;sync;sync

    # shutdown -r now

Download
Updated: 2019-05-17

Document ID: EDOC1100011860

Views: 92713

Downloads: 138

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next