Sie sind auf Seite 1von 6

C:\oracle\product\11.2.

0\db_2\BIN>sqlplus "sys as sysdba"


SQL*Plus: Release 11.2.0.2.0 Production on Thu Oct 9 08:37:22 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size
2260032 bytes
Variable Size
729809856 bytes
Database Buffers
331350016 bytes
Redo Buffers
5517312 bytes
SQL> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
SQL> show parameter pfile;
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------spfile
string
C:\ORACLE\PRODUCT\11.2.0\DB_2\
DATABASE\SPFILESPOTFRN.ORA
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\oracle\product\11.2.0\db_2\BIN>exit
host command complete
RMAN> run{
2> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
3> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
4> ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK;
5> set until logseq=123980;
6> duplicate target database to SPOTFRN;
7> }
RMAN-00571:
RMAN-00569:
RMAN-00571:
RMAN-03002:
RMAN-06174:

===========================================================
=============== ERROR MESSAGE STACK FOLLOWS ===============
===========================================================
failure of allocate command at 10/09/2014 08:40:00
not connected to auxiliary database

RMAN> exit
Recovery Manager complete.
C:\oracle\product\11.2.0\db_2\BIN>rman target sys/m0cdba_q32K14@SPOTFRP auxiliar
y /

Recovery Manager: Release 11.2.0.2.0 - Production on Thu Oct 9 08:40:25 2014


Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SPOTFRP (DBID=2954579291)
connected to auxiliary database: SPOTFRN (not mounted)
RMAN> run{
2> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
3> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
4> ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK;
5> set until logseq=123980;
6> duplicate target database to SPOTFRN;
7> }
using target database control file instead of recovery catalog
allocated channel: aux1
channel aux1: SID=20 device type=DISK
allocated channel: aux2
channel aux2: SID=18 device type=DISK
allocated channel: aux3
channel aux3: SID=21 device type=DISK
executing command: SET until clause
Starting Duplicate Db at 09-OCT-14
contents of Memory Script:
{
set until scn 1613580843;
sql clone "alter system set control_files =
''F:\ORADATA\SPOTFRN\CONTROLFILE\O1_MF_B3DBBVW9_.CTL'', ''G:\FRA\SPOTFRN\CONTR
OLFILE\O1_MF_B3DBBVWS_.CTL'' comment=
''Set by RMAN'' scope=spfile";
sql clone "alter system set db_name =
''SPOTFRP'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''SPOTFRN'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
restore clone primary controlfile;
alter clone database mount;
}
executing Memory Script
executing command: SET until clause
sql statement: alter system set control_files = ''F:\ORADATA\SPOTFRN\CONTROLF
ILE\O1_MF_B3DBBVW9_.CTL'', ''G:\FRA\SPOTFRN\CONTROLF
ILE\O1_MF_B3DBBVWS_.CTL'' comment= ''Set by RMAN'' scope=spfile
sql statement: alter system set db_name = ''SPOTFRP'' comment= ''Modified by R
MAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''SPOTFRN'' comment= ''Modifi
ed by RMAN duplicate'' scope=spfile

Oracle instance shut down


Oracle instance started
Total System Global Area
Fixed Size
Variable Size
Database Buffers
Redo Buffers
allocated channel: aux1
channel aux1: SID=19 device
allocated channel: aux2
channel aux2: SID=20 device
allocated channel: aux3
channel aux3: SID=21 device

1068937216 bytes
2260032
729809856
331350016
5517312

bytes
bytes
bytes
bytes

type=DISK
type=DISK
type=DISK

Starting restore at 09-OCT-14


channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20141007-03
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20141007-03
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20141007-03"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20141007-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20141007-00
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20141007-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20141001-03
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20141001-03
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20141001-03"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

failover to previous backup


channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20141001-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20141001-00
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20141001-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140930-02
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140930-02
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140930-02"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140930-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140930-00
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140930-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140929-02
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140929-02
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140929-02"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file

channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C


-2954579291-20140929-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140929-00
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140929-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140928-02
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140928-02
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140928-02"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140928-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140928-00
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140928-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140927-02
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140927-02
ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295
4579291-20140927-02"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C
-2954579291-20140927-00
channel aux1: ORA-19870: error while restoring backup piece C:\ORACLE\PRODUCT\11
.2.0\DB_1\DATABASE\C-2954579291-20140927-00

ORA-19505: failed to identify file "C:\ORACLE\PRODUCT\11.2.0\DB_1\DATABASE\C-295


4579291-20140927-00"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
Oracle instance started
Total System Global Area
Fixed Size
Variable Size
Database Buffers
Redo Buffers

1068937216 bytes
2260032
729809856
331350016
5517312

bytes
bytes
bytes
bytes

contents of Memory Script:


{
sql clone "alter system set db_name =
''SPOTFRN'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
}
executing Memory Script
sql statement: alter system set db_name = ''SPOTFRN'' comment= ''Reset to orig
inal value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/09/2014 08:52:05
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06101: no channel to restore a backup or copy of the control file
RMAN>

Das könnte Ihnen auch gefallen