oracledataguard密码文件错误排查


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

南雄ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:13518219792(备注:SSL证书合作)期待与您的合作!

文章名称:oracledataguard密码文件错误排查
文章起源:https://www.cdcxhl.com/article0/geccoo.html

成都网站建设公司_创新互联,为您提供虚拟主机做网站网站改版小程序开发面包屑导航微信小程序

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都定制网站网页设计