解决创建dataguard时遇到的一个错误。
2010-02-22 15:05
351 查看
$ rman target sys/change_on_install@CPTST.SEVENSPACE.NET auxiliary sys/change_on_install@CPDR
Recovery Manager: Release 9.2.0.7.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: CPTST (DBID=796377515)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied
$ rman target sys/change_on_install@CPTST.SEVENSPACE.NET auxiliary sys/change_on_install@CPDR
Recovery Manager: Release 9.2.0.7.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: CPTST (DBID=796377515)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied
$ orapwd file=$ORACLE_HOME/dbs/orapwCPDR password=change_on_install
OPW-00005: File with same name exists - please delete or rename
$ rm $ORACLE_HOME/dbs/orapwCPDR
$ orapwd file=$ORACLE_HOME/dbs/orapwCPDR password=change_on_install
$ rman target sys/change_on_install@CPTST.SEVENSPACE.NET auxiliary sys/change_on_install@CPDR
RMAN> DUPLICATE TARGET DATABASE FOR STANDBY;
Starting Duplicate Db at 22-FEB-10
using target database controlfile instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=17 devtype=DISK
printing stored script: Memory Script
{
restore clone standby controlfile to clone_cf;
replicate clone controlfile from clone_cf;
sql clone 'alter database mount standby database';
}
executing script: Memory Script
Starting restore at 22-FEB-10
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring controlfile
output filename=/global/test/oracle2/orahome/product/9.2.0/dbs/snapcf_CPTST.f
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/global/oracle2/orahome2/product/9.2.0/dbs/03l5mull_1_1 tag=TAG20100210T233101 params=NULL
channel ORA_AUX_DISK_1: restore complete
Finished restore at 22-FEB-10
replicating controlfile
input filename=/global/test/oracle2/orahome/product/9.2.0/dbs/snapcf_CPTST.f
sql statement: alter database mount standby database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/22/2010 06:37:41
RMAN-05507: standby controlfile checkpoint (8434261182561) is more recent than duplication point in time (8429013503936)
On the primary database:
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=CPDR' scope=both;
System altered.
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE SCOPE=BOTH;
System altered.
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
System altered.
SQL> exit
Then redo the command of DUPLICATE TARGET DATABASE FOR STANDBY; on standby.
Recovery Manager: Release 9.2.0.7.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: CPTST (DBID=796377515)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied
$ rman target sys/change_on_install@CPTST.SEVENSPACE.NET auxiliary sys/change_on_install@CPDR
Recovery Manager: Release 9.2.0.7.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: CPTST (DBID=796377515)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied
$ orapwd file=$ORACLE_HOME/dbs/orapwCPDR password=change_on_install
OPW-00005: File with same name exists - please delete or rename
$ rm $ORACLE_HOME/dbs/orapwCPDR
$ orapwd file=$ORACLE_HOME/dbs/orapwCPDR password=change_on_install
$ rman target sys/change_on_install@CPTST.SEVENSPACE.NET auxiliary sys/change_on_install@CPDR
RMAN> DUPLICATE TARGET DATABASE FOR STANDBY;
Starting Duplicate Db at 22-FEB-10
using target database controlfile instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=17 devtype=DISK
printing stored script: Memory Script
{
restore clone standby controlfile to clone_cf;
replicate clone controlfile from clone_cf;
sql clone 'alter database mount standby database';
}
executing script: Memory Script
Starting restore at 22-FEB-10
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring controlfile
output filename=/global/test/oracle2/orahome/product/9.2.0/dbs/snapcf_CPTST.f
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/global/oracle2/orahome2/product/9.2.0/dbs/03l5mull_1_1 tag=TAG20100210T233101 params=NULL
channel ORA_AUX_DISK_1: restore complete
Finished restore at 22-FEB-10
replicating controlfile
input filename=/global/test/oracle2/orahome/product/9.2.0/dbs/snapcf_CPTST.f
sql statement: alter database mount standby database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/22/2010 06:37:41
RMAN-05507: standby controlfile checkpoint (8434261182561) is more recent than duplication point in time (8429013503936)
On the primary database:
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=CPDR' scope=both;
System altered.
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE SCOPE=BOTH;
System altered.
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
System altered.
SQL> exit
Then redo the command of DUPLICATE TARGET DATABASE FOR STANDBY; on standby.
相关文章推荐
- 利用unix网络编程知识自己动手编写一个chatroom程序中遇到的错误与解决
- [异常解决] 初玩SAE遇到的小问题——注册&创建项目+MyEclipse装插件直接部署+一个简单的JSP部署实现
- SecureCRT 遇到一个致命的错误且必须关闭——解决
- Windows Server 2008 R2搭建域环境中遇到的一个小错误的解决办法
- 当在一个siliverlight 2.0工程中 添加webservice时 遇到错误:'Object reference not set to an instance of an object' 解决办法
- SecureCRT 遇到一个致命的错误且必须关闭——解决
- SecureCRT 遇到一个致命的错误且必须关闭——解决
- SecureCRT 遇到一个致命的错误且必须关闭——解决
- SecureCRT 遇到一个致命的错误且必须关闭――解决
- 关于创建一个输入端和两个输出端遇到问题的解决
- VirtualBox提示:错误,创建一个新任务失败,被召者解决办法
- 在VS2012中创建一个MFC动态链接项目(.dll)后,编译出现一大堆莫名其妙的错误的解决方法
- 在Win7中创建、部署WebService时遇到的访问被拒绝错误解决方法
- 当尝试创建一个ClearQuest数据库时遇到SQL Server的18452错误
- 装IIS时遇到一个Server Application Error错误解决
- 有关使用cJSON包解析或者创建JSON时遇到的错误和解决办法
- Latex 1: 解决latex中遇到一个常见错误:"Improper alphabetic constant."
- Windows Server 2008 R2搭建域环境中遇到的一个小错误的解决办法
- ionic创建工程中遇到异常、错误及解决方法