環境主庫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會忽略密碼驗證時密碼的大小寫。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。