iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >oracle dataguard 密码文件错误排查
  • 815
分享到

oracle dataguard 密码文件错误排查

2024-04-02 19:04:59 815人浏览 八月长安
摘要

环境主库rac 11.2 备库单机11.2:现象:主库双节点其中一个日志节点文件可以传到备库,另外一个节点报密码文件错误:  2019-03-22 10:25:30.445000 +08


环境主库rac 11.2 备库单机11.2:
现象:主库双节点其中一个日志节点文件可以传到备库,另外一个节点报密码文件错误:
 
 2019-03-22 10:25:30.445000 +08:00
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
------------------------------------------------------------
PING[ARC2]: Heartbeat failed to connect to standby 'app'. Error is 16191.
2019-03-22 10:25:32.519000 +08:00

查看主库密码是否区分大小写:
sql> show parameter sec_case_sensitive_loGon

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon         boolean     TRUE

因此手动重建密码文件,注意指定ignorecase=y 忽略密码验证时区分大小写:
orapwd file=orapsid password=password#123 entries=10 force=y ignorecase=y

重建后同步正常,密码文件错误消失,如果不指定ignorecase=y,任然报同样的错误。
oracle 11g默认情况下,密码文件如果不指定ignorecase的话,会区分大小写,如果指定ignorecase=y,则Oracle会忽略密码验证时密码的大小写。

您可能感兴趣的文档:

--结束END--

本文标题: oracle dataguard 密码文件错误排查

本文链接: https://www.lsjlt.com/news/39783.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作