Data Guard 奇葩的 ORA-16191: Primary log shipping client not logged on standby 问题


搞了一个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

相关文章
相关标签/搜索