搞了一個Data Gurad,switchover以後,檢查配置狀況:oracle
SQL> select dest_name,status,error from v$archive_dest where rownum<3;spa
DEST_NAME STATUS ERROR .net
-------------------- --------- -------------------------------blog
LOG_ARCHIVE_DEST_1 VALIDip
LOG_ARCHIVE_DEST_2 ERROR ORA-16191: Primary log shipping client not logged on standbyrem
報了ORA-16191 的錯誤。get
alert log的信息以下:it
------------------------------------------------------------cli
PING[ARC2]: Heartbeat failed to connect tostandby 'dave'. Error is 16191.配置
Thu Jul 18 21:41:20 2013
Error 1017 received logging on to thestandby
------------------------------------------------------------
Check that the primaryand standby are using a password file
andremote_login_passwordfile is set to SHARED or EXCLUSIVE,
and that the SYS passwordis same in the password files.
returning error ORA-16191
錯誤講的很清楚,口令文件的問題。
檢查了一下,remote_login_passwordfile參數沒有問題,而後在全部節點都使用orapwd命令重建了口令文件,依舊報錯。
[oracle@davedbs]$ orapwd file=$ORACLE_HOME/dbs/orapwdave1 password=oracle
[oracle@davedbs]$ orapwd file=$ORACLE_HOME/dbs/orapwdave2 password=oracle
使用alter user 重建密碼也不行。
最後在主庫建立了一份口令文件,而後把口令文件傳送到其餘節點,並rename,過了幾分鐘,再次查詢,就ok了。
好奇葩吧,備註一下,以防下次在遇到。
--------------------------------------------------------------------------------------------
版權全部,文章容許轉載,但必須以連接方式註明源地址,不然追究法律責任!
QQ: 251097186
Skype: tianlesoftware
Email: tianlesoftware@gmail.com
Blog: http://blog.csdn.net/tianlesoftware
Weibo: http://weibo.com/tianlesoftware
Twitter: http://twitter.com/tianlesoftware
Facebook: http://www.facebook.com/tianlesoftware
Linkedin: http://cn.linkedin.com/in/tianlesoftware