-bash-3.2$ Rman target/auxiliary Sys/password@standby
Recovery manager:release 10.2.0.4.0-production on Wed Feb 8 22:01:47 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to target Database:port (dbid=2726356005)
Connected to auxiliary database:port (not mounted)
Rman> run{
Allocate channel C1 device type disk format '/u01/rmanbak/forstandby/%u ' Connect sys/password@port;
Allocate auxiliary channel AC1 device type disk format '/u01/rmanbak/forstandby/%u ';
Duplicate target database for standby;
}2> 3> 4> 5>
Using target database control file instead of recovery catalog
Allocated CHANNEL:C1
Channel c1:sid=114 Devtype=disk
Allocated CHANNEL:AC1
Channel ac1:sid=318 Devtype=disk
Starting Duplicate Db at 2012-02-08 22:02:16
Contents of Memory Script:
{
Restore Clone standby Controlfile;
SQL clone ' ALTER DATABASE mount standby database ';
}
Executing Memory Script
Starting restore at 2012-02-08 22:02:16
Channel ac1:starting datafile backupset restore
Channel ac1:restoring Control File
Channel ac1:reading from backup Piece/u01/rmanbak/forstandby/ctl/con_17n2r6q5_1_1
Ora-19870:error Reading Backup Piece/u01/rmanbak/forstandby/ctl/con_17n2r6q5_1_1
ora-19505:failed to identify file "/u01/rmanbak/forstandby/ctl/con_17n2r6q5_1_1"
Ora-27037:unable to obtain file status
linux-x86_64 error:2: No such file or directory
Additional Information:3
Failover to previous backup
Released CHANNEL:C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR message STACK follows ===============
RMAN-00571: ===========================================================
Rman-03002:failure of Duplicate Db command at 02/08/2012 22:02:19
Rman-03015:error occurred in stored script Memory script
Rman-06026:some Targets not found-aborting restore
Rman-06024:no Backup or copy of the control file found to restore