oracle密码格式不对,Oracle DataGuard 报密码文件错误排查

环境主库rac 11.2 备库单机11.2:

现象:主库双节点其中一个日志节点文件可以传到备库,另外一个节点报密码文件错误:

2019-04-20 09:33:10.223000 +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-04-02 09:35:51.412000 +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会忽略密码验证时密码的大小写。

0b1331709591d260c1c78e86d0c51c18.png

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值