环境主库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会忽略密码验证时密码的大小写。
oracle dataguard 密码文件错误排查
原创
©著作权归作者所有:来自51CTO博客作者春秋小记的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:系统参数优化
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
再也不怕离职同事泄露配置文件的密码了
再也不怕离职同事泄露配置文件的密码了
System 配置文件 加密算法 -
oracle 密码文件文件
密码文件作用: 密码文件用于dba用户的登录认证。 dba用户:具备sysdba和sysoper权
SQL oracle Enterprise -
weblogic 密码文件位置
boot.properties 可以使管理服务器启动时不需要提供密码在所有生产环境中都被使用,随着bea被收购,及Weblogic的发展,其位置发生了改变。
weblogic 位置 boot.properties -
unzip 带密码文件
unzip -P <your-password> zipfile.zip ...
ubuntu linux 其他