oracle密码文件后缀名导致Data Guard不能传送日志
来源:互联网 发布:mac 三维软件 编辑:程序博客网 时间:2024/06/05 16:10
DG远程传送日志出现问题,primary手动切换日志,standby没有接收到远端送过来的日志。
手工归档结束后,没有出现任何错误提示,检查alert文件:
- Sun Aug 1 23:18:12 2010
- Errors in file /opt/app/oracle/admin/orcl/bdump/orcl_arc0_32525.trc:
- ORA-16191: Primary log shipping client not logged on standby
- Sun Aug 1 23:18:12 2010
- Starting background process QMNC
- Sun Aug 1 23:18:12 2010
- FAL[server, ARC0]: Error 16191 creating remote archivelog file 'ORCL_DG'
- FAL[server, ARC0]: FAL archive failed, see trace file.
- Sun Aug 1 23:18:12 2010
- Errors in file /opt/app/oracle/admin/orcl/bdump/orcl_arc0_32525.trc:
- ORA-16055: FAL request rejected
- ARCH: FAL archive failed. Archiver continuing
Sun Aug 1 23:18:12 2010Errors in file /opt/app/oracle/admin/orcl/bdump/orcl_arc0_32525.trc:ORA-16191: Primary log shipping client not logged on standbySun Aug 1 23:18:12 2010Starting background process QMNCSun Aug 1 23:18:12 2010FAL[server, ARC0]: Error 16191 creating remote archivelog file 'ORCL_DG'FAL[server, ARC0]: FAL archive failed, see trace file.Sun Aug 1 23:18:12 2010Errors in file /opt/app/oracle/admin/orcl/bdump/orcl_arc0_32525.trc:ORA-16055: FAL request rejectedARCH: FAL archive failed. Archiver continuing
检查后台进程跟踪文件orcl_arc0_32525.trc
- Error 16191 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'ORCL_DG'
- Error 16191 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'ORCL_DG'
- ORA-16191: Primary log shipping client not logged on standby
- *** 2010-08-01 23:31:56.277 58941 kcrr.c
- kcrrfail: dest:2 err:16191 force:0 blast:1
- kcrrwkx: unknown error:16191
- ORA-16055: FAL request rejected
- ARCH: Connecting to console port...
- ARCH: Connecting to console port...
- kcrrwkx: nothing to do (end)
- *** 2010-08-01 23:32:17.142
- kcrrwkx: nothing to do (end)
- *** 2010-08-01 23:33:17.169
- kcrrwkx: nothing to do (end)
- *** 2010-08-01 23:34:17.197
- Redo shipping client performing standby login
- ORA-01017: invalid username/password; logon denied
- OCI_DBVER attribute value retrieval failed error=1017
- *** 2010-08-01 23:34:17.213 60679 kcrr.c
- 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
- It may be necessary to define the DB_ALLOWED_LOGON_VERSION
- initialization parameter to the value "10". Check the
- manual for information on this initialization parameter.
Error 16191 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'ORCL_DG'Error 16191 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'ORCL_DG'ORA-16191: Primary log shipping client not logged on standby*** 2010-08-01 23:31:56.277 58941 kcrr.ckcrrfail: dest:2 err:16191 force:0 blast:1kcrrwkx: unknown error:16191ORA-16055: FAL request rejectedARCH: Connecting to console port...ARCH: Connecting to console port...kcrrwkx: nothing to do (end)*** 2010-08-01 23:32:17.142kcrrwkx: nothing to do (end)*** 2010-08-01 23:33:17.169kcrrwkx: nothing to do (end)*** 2010-08-01 23:34:17.197Redo shipping client performing standby loginORA-01017: invalid username/password; logon deniedOCI_DBVER attribute value retrieval failed error=1017*** 2010-08-01 23:34:17.213 60679 kcrr.cError 1017 received logging on to the standby------------------------------------------------------------Check that the primary and standby are using a password fileand remote_login_passwordfile is set to SHARED or EXCLUSIVE,and that the SYS password is same in the password files. returning error ORA-16191It may be necessary to define the DB_ALLOWED_LOGON_VERSIONinitialization parameter to the value "10". Check themanual for information on this initialization parameter.
按照提示依次(invalid username/password,ALLOWED_LOGON_VERSION
,remote_login_passwordfile)做了检查,都没有问题。
最后发现是密码文件有.ora后缀导致的。应该是orcle不人性的一个地方或者一个bug吧。
主备库上分别重建下密码文件,一切正常了:
- [oracle@master bdump]$ rm $ORACLE_HOME/dbs/orapwORCL.ora
- [oracle@master bdump]$ orapwd file=$ORACLE_HOME/dbs/orapwORCL password=xxxxxx entries=30
[oracle@master bdump]$ rm $ORACLE_HOME/dbs/orapwORCL.ora[oracle@master bdump]$ orapwd file=$ORACLE_HOME/dbs/orapwORCL password=xxxxxx entries=30
- oracle密码文件后缀名导致Data Guard不能传送日志
- Oracle Data Guard的日志FAL gap问题
- [Oracle] Data Guard 系列(2) - 日志传输
- [Oracle] Data Guard 系列(3) - 日志应用
- Oracle Data Guard 简介
- ORACLE DATA GUARD概述
- 介绍ORACLE DATA GUARD
- ORACLE DATA GUARD
- Oracle Data Guard 理论知识
- Oracle Data Guard
- oracle data guard 理论基础
- Oracle Data Guard 理论知识
- Oracle Data Guard 理论知识
- Oracle Data Guard 理论知识
- Oracle Data Guard概述
- Oracle Data Guard 理论知识
- Oracle data guard 切换
- Oracle Data Guard 理论知识
- 线程的同步
- 在迷茫之中沉思
- Oracle 打开及关闭归档
- Oracle中分析表的作用
- java jxl 读取excl文件
- oracle密码文件后缀名导致Data Guard不能传送日志
- Mysql数据库名和表名的大小写敏感性问题
- 模仿MsN或QQ提示消息
- 类加载器
- 谈谈java中equals和==的区别
- my fist test about windows live writer
- C#知识总结
- 以后写blog了
- join后的where,你清楚吗?