Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

error during "duplicate target ... from active database"

963895Sep 24 2012 — edited Sep 24 2012
hi:
RMAN duplicate failure after the auxiliary instance mounted,we want to create a physical standby database .
Platform: solaris10 spark 64bit
Version: 11.2.0.1.5 (both primary and standby)
thank you..

RMAN log:

rman target sys/password@his_primary auxiliary sys/password@his_standby_tt

Recovery Manager: Release 11.2.0.1.0 - Production on Thu Aug 30 15:40:06 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to target database: HIS (DBID=3271178181)
connected to auxiliary database: HIS (not mounted)

RMAN> duplicate target database for standby from active database;

Starting Duplicate Db at 30-AUG-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=2833 device type=DISK
allocated channel: ORA_AUX_DISK_2
channel ORA_AUX_DISK_2: SID=3399 device type=DISK
allocated channel: ORA_AUX_DISK_3
channel ORA_AUX_DISK_3: SID=3966 device type=DISK
allocated channel: ORA_AUX_DISK_4
channel ORA_AUX_DISK_4: SID=3 device type=DISK

contents of Memory Script:
{
backup as copy reuse
targetfile '/u01/oracle/product/11.2.0/db_1/dbs/orapwhis' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/orapwhis' ;
}
executing Memory Script

Starting backup at 30-AUG-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1570 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=1708 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=1851 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=1995 device type=DISK
Finished backup at 30-AUG-12

contents of Memory Script:
{
backup as copy current controlfile for standby auxiliary format '/u01/app/oradata/his/control01.ctl';
restore clone controlfile to '/u01/app/oradata/his/control02.ctl' from
'/u01/app/oradata/his/control01.ctl';
restore clone controlfile to '/u01/app/oradata/his/control03.ctl' from
'/u01/app/oradata/his/control01.ctl';
}
executing Memory Script

Starting backup at 30-AUG-12
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
channel ORA_DISK_1: starting datafile copy
copying standby control file
output file name=/export/home/oracle/snap.f tag=TAG20120830T154059 RECID=9 STAMP=792690060
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 30-AUG-12

Starting restore at 30-AUG-12
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4

channel ORA_AUX_DISK_2: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_3: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_4: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_1: copied control file copy
Finished restore at 30-AUG-12

Starting restore at 30-AUG-12
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4

channel ORA_AUX_DISK_2: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_3: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_4: skipped, AUTOBACKUP already found
channel ORA_AUX_DISK_1: copied control file copy
Finished restore at 30-AUG-12

contents of Memory Script:
{
sql clone 'alter database mount standby database';
}
executing Memory Script

sql statement: alter database mount standby database

contents of Memory Script:
{
set newname for tempfile 1 to
"/u01/app/oradata/his/temp.266.750421813";
set newname for tempfile 2 to
"/u01/app/oradata/his/ts_temp_patrol.298.750425277";
set newname for tempfile 3 to
"/u01/app/oradata/his/ts_his_temp.296.750427905";
set newname for tempfile 4 to
"/u01/app/oradata/his/ts_tjjk_temp.282.750427917";
set newname for tempfile 5 to
"/u01/app/oradata/his/ts_temp_shuhao.595.782919539";
switch clone tempfile all;
set newname for datafile 1 to
"/u01/app/oradata/his/system.256.750421615";
set newname for datafile 2 to
"/u01/app/oradata/his/sysaux.257.750421615";
set newname for datafile 3 to
"/u01/app/oradata/his/undotbs1.258.750421615";
set newname for datafile 4 to
"/u01/app/oradata/his/users.259.750421615";
set newname for datafile 5 to
"/u01/app/oradata/his/ts_his.280.750425023";
set newname for datafile 6 to
"/u01/app/oradata/his/ts_his_index.281.750425025";
set newname for datafile 7 to
"/u01/app/oradata/his/system.569.754307341";
set newname for datafile 8 to
"/u01/app/oradata/his/ts_bj.283.750425027";
set newname for datafile 9 to
"/u01/app/oradata/his/ts_gt.284.750425027";
set newname for datafile 10 to
"/u01/app/oradata/his/ts_fx.285.750425027";
set newname for datafile 11 to
"/u01/app/oradata/his/ts_uap.286.750425029";
set newname for datafile 12 to
"/u01/app/oradata/his/ts_gkxj.287.750425029";
set newname for datafile 13 to
"/u01/app/oradata/his/ts_xejj.288.750425031";
set newname for datafile 14 to
"/u01/app/oradata/his/ts_zdzyrz.289.750425031";
set newname for datafile 15 to
"/u01/app/oradata/his/ts_zj.290.750425033";
set newname for datafile 16 to
"/u01/app/oradata/his/ts_jgcp.291.750425033";
set newname for datafile 17 to
"/u01/app/oradata/his/ts_gtbj.292.750425033";
set newname for datafile 18 to
"/u01/app/oradata/his/ts_base.293.750425035";
set newname for datafile 19 to
"/u01/app/oradata/his/ts_exdata.294.750425035";
set newname for datafile 20 to
"/u01/app/oradata/his/ts_tjjk.295.750425037";
set newname for datafile 21 to
"/u01/app/oradata/his/ts_shuhao.594.782919537";
set newname for datafile 22 to
"/u01/app/oradata/his/ts_patrol.297.750425037";
backup as copy reuse
datafile 1 auxiliary format
"/u01/app/oradata/his/system.256.750421615" datafile
2 auxiliary format
"/u01/app/oradata/his/sysaux.257.750421615" datafile
3 auxiliary format
"/u01/app/oradata/his/undotbs1.258.750421615" datafile
4 auxiliary format
"/u01/app/oradata/his/users.259.750421615" datafile
5 auxiliary format
"/u01/app/oradata/his/ts_his.280.750425023" datafile
6 auxiliary format
"/u01/app/oradata/his/ts_his_index.281.750425025" datafile
7 auxiliary format
"/u01/app/oradata/his/system.569.754307341" datafile
8 auxiliary format
"/u01/app/oradata/his/ts_bj.283.750425027" datafile
9 auxiliary format
"/u01/app/oradata/his/ts_gt.284.750425027" datafile
10 auxiliary format
"/u01/app/oradata/his/ts_fx.285.750425027" datafile
11 auxiliary format
"/u01/app/oradata/his/ts_uap.286.750425029" datafile
12 auxiliary format
"/u01/app/oradata/his/ts_gkxj.287.750425029" datafile
13 auxiliary format
"/u01/app/oradata/his/ts_xejj.288.750425031" datafile
14 auxiliary format
"/u01/app/oradata/his/ts_zdzyrz.289.750425031" datafile
15 auxiliary format
"/u01/app/oradata/his/ts_zj.290.750425033" datafile
16 auxiliary format
"/u01/app/oradata/his/ts_jgcp.291.750425033" datafile
17 auxiliary format
"/u01/app/oradata/his/ts_gtbj.292.750425033" datafile
18 auxiliary format
"/u01/app/oradata/his/ts_base.293.750425035" datafile
19 auxiliary format
"/u01/app/oradata/his/ts_exdata.294.750425035" datafile
20 auxiliary format
"/u01/app/oradata/his/ts_tjjk.295.750425037" datafile
21 auxiliary format
"/u01/app/oradata/his/ts_shuhao.594.782919537" datafile
22 auxiliary format
"/u01/app/oradata/his/ts_patrol.297.750425037" ;
sql 'alter system archive log current';
}
executing Memory Script

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

renamed tempfile 1 to /u01/app/oradata/his/temp.266.750421813 in control file
renamed tempfile 2 to /u01/app/oradata/his/ts_temp_patrol.298.750425277 in control file
renamed tempfile 3 to /u01/app/oradata/his/ts_his_temp.296.750427905 in control file
renamed tempfile 4 to /u01/app/oradata/his/ts_tjjk_temp.282.750427917 in control file
renamed tempfile 5 to /u01/app/oradata/his/ts_temp_shuhao.595.782919539 in control file

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting backup at 30-AUG-12
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
channel ORA_DISK_1: starting datafile copy
input datafile file number=00008 name=+DATA/his/datafile/ts_bj.283.750425027
channel ORA_DISK_2: starting datafile copy
input datafile file number=00009 name=+DATA/his/datafile/ts_gt.284.750425027
channel ORA_DISK_3: starting datafile copy
input datafile file number=00005 name=+DATA/his/datafile/ts_his.280.750425023
channel ORA_DISK_4: starting datafile copy
input datafile file number=00015 name=+DATA/his/datafile/ts_zj.290.750425033
RMAN-03009: failure of backup command on ORA_DISK_3 channel at 08/30/2012 16:10:23
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
channel ORA_DISK_3 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on ORA_DISK_4 channel at 08/30/2012 16:42:19
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
channel ORA_DISK_4 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on ORA_DISK_2 channel at 08/30/2012 16:51:58
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
channel ORA_DISK_2 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/30/2012 17:49:09
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
channel ORA_DISK_1 disabled, job failed on it will be run on another channel
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/30/2012 17:49:09
RMAN-03015: error occurred in stored script Memory Script

RMAN-03009: failure of backup command on ORA_DISK_4 channel at 08/30/2012 16:42:19
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
RMAN-03009: failure of backup command on ORA_DISK_2 channel at 08/30/2012 16:51:58
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/30/2012 17:49:09
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
RMAN-03009: failure of backup command on ORA_DISK_3 channel at 08/30/2012 16:10:23
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact

RMAN>



Primary database alert log:

Thu Aug 30 15:41:00 2012
Clearing standby activation ID 3277937203 (0xc3615a33)
The primary database controlfile was created using the
'MAXLOGFILES 16' clause.
There is space for up to 11 standby redo logfiles
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 536870912;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 536870912;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 536870912;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 536870912;
ALTER DATABASE ADD STANDBY LOGFILE 'srl5.f' SIZE 536870912;
ALTER DATABASE ADD STANDBY LOGFILE 'srl6.f' SIZE 536870912;
WARNING: OMF is enabled on this database. Creating a physical
standby controlfile, when OMF is enabled on the primary
database, requires manual RMAN intervention to resolve OMF
datafile pathnames.
NOTE: Please refer to the RMAN documentation for procedures
describing how to manually resolve OMF datafile pathnames.
Thu Aug 30 16:10:13 2012
Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25860.trc (incident=72361):
ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72361/his_ora_25860_i72361.trc
Thu Aug 30 16:10:20 2012
Trace dumping is performing id=[cdmp_20120830161020]
Thu Aug 30 16:10:22 2012
Sweep [inc][72361]: completed
Sweep [inc2][72361]: completed
Thu Aug 30 16:40:32 2012
Thread 1 cannot allocate new log, sequence 3031
Private strand flush not complete
Current log# 4 seq# 3030 mem# 0: +DATA/his_primary/onlinelog/group_4.579.759345057
Current log# 4 seq# 3030 mem# 1: /backup/odsdb/HIS_PRIMARY/onlinelog/o1_mf_4_74nf15rq_.log
Thread 1 advanced to log sequence 3031 (LGWR switch)
Current log# 5 seq# 3031 mem# 0: +DATA/his_primary/onlinelog/group_5.261.759345075
Current log# 5 seq# 3031 mem# 1: /backup/odsdb/HIS_PRIMARY/onlinelog/o1_mf_5_74nf1q2g_.log
Thu Aug 30 16:40:37 2012
LNS: Standby redo logfile selected for thread 1 sequence 3031 for destination LOG_ARCHIVE_DEST_2
Thu Aug 30 16:40:39 2012
Archived Log entry 5829 added for thread 1 sequence 3030 ID 0xffffffffc3615a33 dest 1:
Thu Aug 30 16:42:15 2012
Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25862.trc (incident=72369):
ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72369/his_ora_25862_i72369.trc
Thu Aug 30 16:42:17 2012
Trace dumping is performing id=[cdmp_20120830164217]
Thu Aug 30 16:42:17 2012
Sweep [inc][72369]: completed
Sweep [inc2][72369]: completed
Thu Aug 30 16:51:53 2012
Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25858.trc (incident=72353):
ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72353/his_ora_25858_i72353.trc
Thu Aug 30 16:51:55 2012
Sweep [inc][72353]: completed
Sweep [inc2][72353]: completed
Thu Aug 30 16:51:55 2012
Trace dumping is performing id=[cdmp_20120830165155]

Edited by: 960892 on 2012-9-24 上午2:22
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2012
Added on Sep 24 2012
7 comments
1,972 views