Duplicate database, Rman connection auxiliary database after the state is not correct

Source: Internet
Author: User
Tags sqlplus

Auxiliary database has been started by startup Nomount, but the display status is not started after Rman is connected

$ export oracle_sid=dupdb$ sqlplus '/as sysdba ' sql> startup Nomount $ rmanrecovery manager:release 11.2.0.1.0-produc tion on Fri June 14:16:14 2015Copyright (c) 1982, for Oracle and/or its affiliates.  All rights reserved. Rman> Connect  target sys/[email protected]connected to target database:ora11 (dbid=785451981) rman>  Connect auxiliary sys/[email protected]connected to auxiliary database:dupdb (not started)

#not started, which means that we are connected to an idle routine, which is usually caused by an incorrect oracle_home configuration in the static service name or incorrect SID configuration.
Check the listening file, found that the oracle_home path last one more '/'

SID_LIST_ORA11 =        (sid_list = (                Sid_desc =                        (global_dbname = ora11)                        (oracle_home =/u11/app/oracle/ Product/11.2.0/dbhome_1) (                sid_name =ora11)                )                (Sid_desc =                        (global_dbname = dupdb)                        (Oracle_home = /u11/app/oracle/product/11.2.0/dbhome_1/)                        (sid_name =dupdb)                )        )

Remove the '/' from the above code.

In addition, we can also test if we are connected to an instance of the boot instance, or to an idle instance, by Sqlplus Xxx/[email protected] as SYSDBA.

Duplicate database, Rman connection auxiliary database after the state is not correct

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.