Uninstall the oracle11g R2 for Solaris method

Source: Internet
Author: User

Since 11.2, Oracle has provided specialized uninstall tools.

In previous releases, the uninstallation of the database environment was still done through Oracle's installation software, but since 11.2 Oracle has provided a specialized file for uninstalling the database software:

bash-3.00$ Unzip Solaris.sparc64_11gR2_deinstall.zip

The uninstall tool does not require graphical help and can be run directly in the shell:

bash-3.00$ CD deinstall/

bash-3.00$ deinstall-home $ORACLE _home

Oracle_home =/data/oracle/product/11.2

Location of logs/data/deinstall/logs/

############ ORACLE deinstall & deconfig TOOL START ############

######################## CHECK OPERATION START ########################

Install check configuration start

Check whether the Oracle home directory location exists/data/oracle/product/11.2

The Oracle home directory type selected for uninstall is: SIDB

The Oracle base directory selected for uninstall is:/data/oracle

Check whether the main product manifest location exists/data/orainventory

Installation Check configuration end

Network Configuration Check Configuration start

Network cancellation configuration trace file location:/data/deinstall/logs/netdc_check17186.log

Specify all single instance listeners that you want to cancel configuration [LISTENER]:

Network Configuration Check Configuration end

Database Check configuration start

Database Cancel configuration trace file location:/data/deinstall/logs/databasedc_check17187.log

Specify a list of values as input using commas as delimiters

Specifies the list of database names configured in this Oracle home directory [ora112]:

##### #对于数据库 ' ora112 ' ######

Single Instance Database

Diagnostic target location of the database:/data/oracle/diag/rdbms/ora112

Storage type used by the database: FS

Database file Location:/data/oracle/oradata/ora112

Quick Recovery Area Location: not present

Database SPFile Location:/data/oracle/product/11.2/dbs/spfileora112.ora

The detailed information for the database ora112 has been automatically searched. Do you still want to modify the details of the ora112 database? [n]: Y

##### #对于数据库 ' ora112 ' ######

Specify the type of this database (1. single-instance Database to enable Oracle restart databases) [1]:

Specify the diagnostic target location for the database [/data/oracle/diag/rdbms/ora112]:

Specify Database asm| Type of storage used by FS [FS]:

If any of the database files exist on the shared file system, specify a list of directories. If the ' ora112 ' subdirectory is found, the subdirectory is deleted. Otherwise, the specified directory will be deleted. In addition, you can specify a list of database files with full paths [/data/oracle/oradata/ora112]:

If the quick recovery area is configured on the file system, specify its location. If the ' ora112 ' subdirectory is found, the subdirectory is deleted. []:

Specify the database spfile location [/data/oracle/product/11.2/dbs/spfileora112.ora]:

Database Check configuration End

Enterprise Manager Configuration Assistant START

EMCA to remove configuration trace file location:/data/deinstall/logs/emcadc_check.log

Check the configuration of the database ora112

Enterprise Manager Configuration Assistant End

Oracle Configuration Manager Check START

OCM Check log file location:/data/deinstall/logs//ocm_check3002.log

Oracle Configuration Manager Check End

######################### CHECK OPERATION End #########################

####################### CHECK OPERATION SUMMARY #######################

The Oracle home directory selected for uninstall is:/data/oracle/product/11.2

The product manifest location for the Oracle home directory is:/data/orainventory

The following single instance listener will be deselected: LISTENER

The following databases have been selected to cancel the configuration: ora112

Database unique Name: ora112

Used Storage: FS

The Enterprise Manager configuration will be updated for the following databases: ora112

No enterprise Manager ASM target to update

There is no Enterprise Manager listener target to migrate

Checking the config status for CCR

Oracle Home exists with CCR directory, but CCR are not configured

CCR check is finished

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

The log for this session will be written to: '/data/deinstall/logs/deinstall_deconfig2010-12-08_04-05-12-pm.out '

Any error messages for this session will be written to: '/data/deinstall/logs/deinstall_deconfig2010-12-08_04-05-12-pm.err '

######################## Clean OPERATION START ########################

Enterprise Manager Configuration Assistant START

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.