溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

oracle dataguard 密碼文件錯誤排查

發布時間:2020-07-03 18:03:48 來源:網絡 閱讀:348 作者:春秋小記 欄目:關系型數據庫


環境主庫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會忽略密碼驗證時密碼的大小寫。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女