Welcome 微信登录

首页 / 数据库 / MySQL / 配置DataGuard时报ORA-12528

说明:在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) http://www.linuxidc.com/Linux/2014-02/97374.htmOracle 11gR2 在VMWare虚拟机中安装步骤 http://www.linuxidc.com/Linux/2013-09/89579p2.htmDebian 下 安装 Oracle 11g XE R2 http://www.linuxidc.com/Linux/2014-03/98881.htmOracle Data Guard 重要配置参数 http://www.linuxidc.com/Linux/2013-08/88784.htm基于同一主机配置 Oracle 11g Data Guard http://www.linuxidc.com/Linux/2013-08/88848.htm探索Oracle之11g DataGuard http://www.linuxidc.com/Linux/2013-08/88692.htmOracle Data Guard (RAC+DG) 归档删除策略及脚本 http://www.linuxidc.com/Linux/2013-07/87782.htmOracle Data Guard 的角色转换 http://www.linuxidc.com/Linux/2013-06/86190.htmOracle Data Guard的日志FAL gap问题 http://www.linuxidc.com/Linux/2013-04/82561.htmOracle 11g Data Guard Error 16143 Heartbeat failed to connect to standby 处理方法 http://www.linuxidc.com/Linux/2013-03/82009.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12本文永久更新链接地址