oracle dataguard 密码文件错误排查

发布时间:2020-07-03 18:03:48 作者:春秋小记
来源:网络 阅读:333


环境主库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会忽略密码验证时密码的大小写。

推荐阅读:
  1. oracle 11g DataGuad如何修改sys密码
  2. ORACLE 10GR2 DATAGUARD ON RHEL 6

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

oracle 密码文件 dat

上一篇:Id class 变量 的赋值规范 大驼峰和小驼峰 代码的格式和注释的类型

下一篇:常量在C++中的应用

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》