Connection to Auxilary Instance failed with ORA-12528

Problem Description:
-----------------------

While duplicate database whenever I try to connect to auxiliary instance from the target database it returns me with error ORA-12528.

SQL> host rman target / AUXILIARY sys/test@saturn/dupbase

Recovery Manager: Release 10.2.0.1.0 - Production on Tue May 13 03:42:00 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

connected to target database: DBASE (DBID=1509380669)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections


Cause of the Problem:
-------------------------

The problem happens because of the auxiliary instance has just started. It is now in NOMOUNT stage. The instance registration with the listener is performed by PMON process and to start the PMON process database need to be in mount stage. So, before the instance registration by PMON with the listener there is actually noting to register and hence the instance is BLOCKED.

Solution of the Problem:
--------------------------------------


Option 1:Connect to the auxiliary instance using OS authentication (as /) and use password file authentication for target database and connect via Listener.For an example:

Here from auxiliary destination I issued the command and hence successfully connected.

bash-3.00$ rman target sys/a@neptune:1522/dbase AUXILIARY /

Recovery Manager: Release 10.2.0.1.0 - Production on Tue May 13 04:07:36 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

connected to target database: DBASE (DBID=1509380669)
connected to auxiliary database: DUPBASE (not mounted)


Option 2:Create a static entry for the auxiliary database in the listener.ora file and restart the listener. For example:

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dupbase)
(ORACLE_HOME = /oracle/product/db_1)
(SID_NAME = dupbase)
)
)

or,

Use the Oracle10G feature :

In the file tnsnames.ora add,
bash-3.00$ vi /oracle/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
DBASE_CONN=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =saturn)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =dupbase)(UR=A)
)
)

This fix is required for administrative connections where we specify (UR=A) in connect data.


Related Documents:
-------------------------

Duplicate Database to a New host


FROM: http://arjudba.blogspot.com/2008/05/connection-to-auxilary-instance-failed.html


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值