签到成功

知道了

CNDBA社区CNDBA社区

Connection to Auxilary using connect string failed with ORA-12528 [ID 419440.1]

2016-11-25 15:44 1933 0 原创 Oracle 故障处理
作者: dave

Connection to Auxilary using connect string failed with ORA-12528 [ID 419440.1]


 

Modified 15-FEB-2011     Type PROBLEM     Status PUBLISHEDhttp://www.cndba.cn/Dave/article/533

 

In this Document
  Symptoms
  Cause
  Solution
  References


Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.1.0.6 - Release: 9.2 to 11.1
Information in this document applies to any platform.
***Checked for relevance on 15-Feb-2011***

Symptoms

 During duplicate database creation, connection to the auxiliary database from target database server  fails with  ORA-12528: TNS:listener: all appropriate instances are blocking new connections.

E:/oracle/product/10.2.0/db_1/BIN>rman target / auxiliary sys/sys@duplicate

Recovery Manager: Release 10.2.0.1.0 - Production on Fri Mar 16 00:11:05 2007

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

connected to target database: ORIGINAL (DBID=1451288337)
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 appropri
ate instances are blocking new connections


When it fails , add manual entry for sid in listener.ora as per Note 301099.1

However, still you receive the same error on connect in some cases.

http://www.cndba.cn/Dave/article/533
http://www.cndba.cn/Dave/article/533

Cause

Its because only the Auxiliary Instance is running .The instance registers with the listener by the PMON process. TO start the PMON process the database need to be in MOUNT status. Before there is nothing to register the database to the listerner so the instance is BLOCKED.

Solution

There are 2 options to solve this 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 example make below connection in RMAN from auxiliary database server

 

E:>rman target sys/sys@original auxiliary /

Recovery Manager: Release 10.2.0.1.0 - Production on Thu Mar 15 23:57:08 2007

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

connected to target database: ORIGINAL (DBID=1451288337)
connected to auxiliary database: DUPLICATE (not mounted)http://www.cndba.cn/Dave/article/533

http://www.cndba.cn/Dave/article/533

 

 

Option 2

Create a static entry for the auxiliary database in the listener.ora file of the auxiliary database Oracle home and restart the listener. For example

Listener.ora
-------------

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = SAIRAM)
      (ORACLE_HOME = G:/oracle/product/10.2.0/db_1)
      (SID_NAME = SAIRAM)
    )
  )



Or

Use the Oracle10G feature. Make below entry in the tnsnames.ora file of the Oracle home from when RMAN is being executed.http://www.cndba.cn/Dave/article/533

tnsnames.ora
------------

SAIRAM =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = apadhi-idc)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = SAIRAM)(UR=A)
    )
  )http://www.cndba.cn/Dave/article/533


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

References

NOTE:301099.1 - ORA-12528: TNS:listener: all appropriate instances are blocking new connections

 

 

 

 

--------------------------------------------------------------------------------------------------- http://www.cndba.cn/Dave/article/533

Blog http://blog.csdn.net/tianlesoftware

网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()  

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017http://www.cndba.cn/Dave/article/533

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

http://www.cndba.cn/Dave/article/533

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2296
    原创
  • 3
    翻译
  • 582
    转载
  • 198
    评论
  • 访问:8443105次
  • 积分:4477
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ