Option gray when dbca deletes a database

Source: Internet
Author: User

In this case, you have previously copied and restored all files under/u01/app/Oracle. to delete an existing database, it is found that the delete database option in dbca is gray. But there is actually a database, so I suspect that the configuration file does not match. After reading some information on the Internet, you can directly modify/etc/oratab. After the actual operation, you can:

The original content in/etc/oratab is as follows:


$ Cat/etc/oratab
#
# This file is used by ORACLE utilities. It is created by root. sh
# And updated by the Database Configuration Assistant when creating
# A database.
# A colon, ':', is used as the field terminator. A new line terminates
# The entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ ORACLE_SID: $ ORACLE_HOME: <N | Y>:
#
# The first and second fields are the system identifier and home
# Directory of the database respectively. The third filed indicates
# To the dbstart utility that the database shocould, "Y", or shocould not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ ORACLE_SID are not allowed.
#
#
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
# *:/U01/app/oracle/product/9.2: N
*:/U01/app/oracle/product/9.2: N

You only need to change the * in front of the last line to the ORACLE_SID you want to delete.

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.