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

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


 

Modified 15-FEB-2011     Type PROBLEM     Status PUBLISHED

 

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.

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)

 

 

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.

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

SAIRAM =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = apadhi-idc)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = SAIRAM)(UR=A)
    )
  )


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

 

 

 

 

---------------------------------------------------------------------------------------------------

QQ: 492913789

Email:ahdba@qq.com

Blog: http://www.cndba.cn/dave




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

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

聊天 群:40132017

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

### Auxiliary Sweep Algorithm Implementation and Explanation The auxiliary sweep algorithm is a technique used to enhance the performance of certain data processing tasks, particularly those involving hierarchical indexed sequential access methods (HISAM)[^1]. HISAM structures allow efficient storage and retrieval of large datasets by organizing them into multiple levels. In an auxiliary sweep operation: - The primary goal is to optimize read/write operations on secondary storage devices. - This involves scanning through records sequentially while maintaining additional metadata or indexes that facilitate faster lookups during subsequent passes. - An important characteristic of this approach lies in its ability to minimize disk I/O overheads when dealing with massive volumes of information. #### Python Code Example Demonstrating Basic Concept Below demonstrates how one might implement such functionality using Python code snippets. Note that actual implementations may vary depending upon specific requirements and environments. ```python def auxiliary_sweep(data_blocks): """ Perform an auxiliary sweep over given blocks of data Args: data_blocks (list): List containing chunks of raw binary data Returns: dict: Dictionary mapping keys extracted from each block alongside their positions within original sequence """ index_map = {} for position, block in enumerate(data_blocks): key_value_pair = extract_key_from_block(block) if not isinstance(key_value_pair, tuple) or len(key_value_pair) != 2: continue key, value = key_value_pair # Store reference back to location where we found it index_map[key] = { 'position': position, 'value' : value } return index_map def extract_key_from_block(block): """Extract unique identifier/key along with associated payload""" try: # Simplified example; real-world applications would have more complex logic here parsed_data = parse_binary_format(block) return (parsed_data['id'], parsed_data['content']) except Exception as e: print(f"Failed parsing at offset {hex(id)} due to error:", str(e)) return None # Dummy function simulating extraction process def parse_binary_format(binary_chunk): pass ``` This simplified version illustrates core principles behind implementing an auxiliary sweep mechanism without delving too deeply into specifics about file formats or hardware considerations which could influence final design choices significantly.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值