当前位置:Gxlcms > mysql > 配置DataGuard时报ORA-12528

配置DataGuard时报ORA-12528

时间:2021-07-01 10:21:17 帮助过:48人阅读

说明:在DataGuard的搭建中,运行rman恢复的时候报错ORA-12528的错误; 配置数据库的监听为静态参数步骤:在ORACLE_HOME/network

说明:在DataGuard的搭建中,运行rman恢复的时候报错ORA-12528的错误;

脚本如下:RMAN> connect auxiliary sys/Oracle@SCMPRD02

解决步骤:

1、检查监听是否启动,脚本:tnsping SCMPRD02

方法一:配置数据库的监听为静态参数步骤:在ORACLE_HOME/network/admin 下面检查是否有listener.ora参数文件,,如果没有的话运行netca创建数据库的监听,配置完成的监听文件如下:

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = SCMPRDDB02)(PORT = 1521))

(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

)

)

ADR_BASE_LISTENER = /u01/app/oracle

方法二:修改tnsnames.ora文件

SCMPRD02 =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)(HOST = WELL)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED) (
SERVICE_NAME = SCMPRD02)
(UR = A) //增加该备注//
)
)

总结:ORA-12528: TNS:listener: all appropriate instances are blocking new connections

Cause:All instances supporting the service requested by the client reported that they were blocking the new connections. This condition may be temporary, such as at instance startup.Action:Attempt the connection again. If error persists, then contact the administrator to check the status of the instances.

因为我们复制数据库只是在nomount下打开,而数据库并没有mount,在11g下所有的监听都是动态监听,而只有在数据库mount以后,PMON进程起来以后,才能动态注册。所以对辅助数据库没有办法注册,只能被锁住。

所以修改数据库的监听为静态监听,或者增加(UR=A)即可解决问题;

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

Oracle Data Guard 重要配置参数

基于同一主机配置 Oracle 11g Data Guard

探索Oracle之11g DataGuard

Oracle Data Guard (RAC+DG) 归档删除策略及脚本

Oracle Data Guard 的角色转换

Oracle Data Guard的日志FAL gap问题

Oracle 11g Data Guard Error 16143 Heartbeat failed to connect to standby 处理方法

本文永久更新链接地址:

linux

人气教程排行