Oracle solves the ConnecttoIdleInstance Problem

Source: Internet
Author: User
Oracle solves the ConnecttoIdleInstance Problem

Oracle solves the problem of Connect to Idle Instance

Connect to Idle Instance

Step 1

View Oracle_SID.

[Oracle @ linuxserver ~] $ Echo $ ORACLE_SID

Cjdl

The SID here must be the same as that in the initialization file spfilecjdl. ora.

[Oracle @ linuxserver ~] $ Cd $ ORACLE_HOME

[Oracle @ linuxserver 11.2.0] $ cd dbs

[Oracle @ linuxserver dbs] $ ls

Hc_cjdl.dat hc_DBUA0.dat init. ora lkCJDL orapwcjdl spfilecjdl. ora

In most cases, this is because of a problem.

Step 2

[Oracle @ linuxserver dbs] $ export ORACLE_SID = cjdl

In general, the export can be connected normally.

Step 3

[Oracle @ linuxserver dbs] $ sqlplus/as sysdba

OK! Normal connection.

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.