前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Oracle DataGuard 报密码文件错误排查

Oracle DataGuard 报密码文件错误排查

作者头像
星哥玩云
发布2022-08-17 20:52:26
5940
发布2022-08-17 20:52:26
举报
文章被收录于专栏:开源部署开源部署

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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档