oracle dg ora-12154,主库到standby报错解决:Error 12154 received logging on to the standby ORA-12154...

背景:

笔者建库无数,但今天对Oracle 11.2.0.3库使用duplicate新建standby后,主库redo无法通过RFS传输至standby

主库alert.log报错:

Thu Jun 14 14:05:20 2018

Error 12154 received logging on to the standby

主库报错生成trc文件:

*** 2018-06-14 14:25:20.581

Redo shipping client performing standby login

OCIServerAttach failed -1

.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified

'

OCIServerAttach failed -1

.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified

'

OCIServerAttach failed -1

.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified

'

*** 2018-06-14 14:25:20.585 4320 krsh.c

Error 12154 received logging on to the standby

*** 2018-06-14 14:25:20.585 915 krsu.c

Error 12154 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'agile9dg'

Error 12154 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'agile9dg'

*** 2018-06-14 14:25:20.585 4320 krsh.c

PING[ARC2]: Heartbeat failed to connect to standby 'agile9dg'. Error is 12154.

*** 2018-06-14 14:25:20.585 2932 krsi.c

krsi_dst_fail: dest:2 err:12154 force:0 blast:1

主库 v$archive_dest

error依旧是 ORA-12154

分析:

ORA-12154此类问题通常为主库通过log_archive_dest_2使用tnsnames.ora中standby TNS文件无法访问到备库导致,但检查:tnsnames.ora,密码文件 ,各参数,防火墙,selinux等设置均正常

问题确实奇怪,查找官方真有相关问题说明: Adding an new Standby fails with error Ora-12154: TNS:could not resolve the connect identifier specified (ID 1240558.1)

具体内

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值