Oracle 12C RAC的单机Standby returning error ORA-16191

寒风凌厉大雪节气的周末冻得出不了门,坐在家中喝热茶,突然接到朋友从公司打来的电话:为Oracle 12C RAC主库安装好的单机standby DB日志无法和主库同步报错ORA-16191


DB版本:Oracle 12.1.0.2 RAC+ single DB (PS:这版本其实不稳定啦)


检查alert.log:

Error 1017 received logging on to the standby

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

Check that the primary and standby are using a password file

and remote_login_passwordfile is set to SHARED or EXCLUSIVE, 

and that the SYS password is same in the password files.

      returning error ORA-16191

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

FAL[client, USER]: Error 16191 connecting to CMMDB for fetching gap sequence

Sun Dec 09 11:42:34 2018

Errors in file /u01/app/oracle/diag/rdbms/cmmdbs/CMMDB/trace/CMMDB_pr00_18146.trc:

ORA-16191: Primary log shipping client not logged on standby

Sun Dec 09 11:42:44 2018

FAL[client]: Failed to request gap sequence

 GAP - thread 2 sequence 788218-788218

 DBID 3690862883 branch 928463524

FAL[client]: All defined FAL servers have been attempted.


分析:

此问题通常和remote_login_passwordfile参数,密码文件,sys账号是否有lock等相关


诊断:

1. 检查remote_login_passwordfile主备库中均设置为EXCLUSIVE,说明与此无关

2. 检查sys账号没有被lock,说明与此无关

3. 检查密码文件,朋友说:standby中是使用orapwd命令建立。这里问题就来了 ,12C联机文档及 文档 ID 1984091.1 中明确指出密码文件需求从主库RAC中pwcopy到备库。注,12.1以后版本中密码文件是所有节点共享的存放在ASM中

https://docs.oracle.com/database/121/SBYDB/log_transport.htm#SBYDB4751

If the SSL authentication requirements are not met, then each database must use a remote login password file. In an Oracle Data Guard configuration, all physical and snapshot standby databases must use a copy of the password file from the primary database, and that copy mu

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值