Starting Duplicate Db at 19.03.21 using target database control file instead of recovery catalog allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: SID=5 device type=DISK contents of Memory Script: { sql clone "create spfile from memory"; } executing Memory Script sql statement: create spfile from memory contents of Memory Script: { shutdown clone immediate; startup clone nomount; } executing Memory Script Oracle instance shut down connected to auxiliary database (not started) Oracle instance started Total System Global Area 1703624704 bytes Fixed Size 2253904 bytes Variable Size 1090522032 bytes Database Buffers 603979776 bytes Redo Buffers 6868992 bytes contents of Memory Script: { sql clone "alter system set db_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile"; sql clone "alter system set db_unique_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile"; shutdown clone immediate; startup clone force nomount backup as copy current controlfile auxiliary format '/home/oracle/app/oracle/DBMYS14/control01.ctl'; restore clone controlfile to '/home/oracle/app/oracle/DBMYS14/control02.ctl' from '/home/oracle/app/oracle/DBMYS14/control01.ctl'; alter clone database mount; } executing Memory Script sql statement: alter system set db_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile sql statement: alter system set db_unique_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile Oracle instance shut down Oracle instance started Total System Global Area 1703624704 bytes Fixed Size 2253904 bytes Variable Size 1090522032 bytes Database Buffers 603979776 bytes Redo Buffers 6868992 bytes Starting backup at 19.03.21 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=853 device type=DISK channel ORA_DISK_1: starting datafile copy RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 03/19/2021 13:50:27 RMAN-05501: aborting duplication of target database RMAN-03015: error occurred in stored script Memory Script RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/19/2021 13:50:27 ORA-06544: PL/SQL: internal error, arguments: [77803], [], [], [], [], [], [], [] ORA-06553: PLS-801: internal error [77803]
RMAN> DUPLICATE DATABASE TO DBMYS14
2> FROM ACTIVE DATABASE
3> NOFILENAMECHECK;
Starting Duplicate Db at 19.03.21
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=1710 device type=DISK
contents of Memory Script:
{
sql clone "create spfile from memory";
}
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
{
shutdown clone immediate;
startup clone nomount;
}
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 1703624704 bytes
Fixed Size 2253904 bytes
Variable Size 1090522032 bytes
Database Buffers 603979776 bytes
Redo Buffers 6868992 bytes
contents of Memory Script:
{
sql clone "alter system set db_name =
''DBMYS14'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''DBMYS14'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '/home/oracle/app/oracle/DBMYS14/control01.ctl';
restore clone controlfile to '/home/oracle/app/oracle/flash_recovery_area/control02.ctl' from
'/home/oracle/app/oracle/DBMYS14/control01.ctl';
alter clone database mount;
}
executing Memory Script
sql statement: alter system set db_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''DBMYS14'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 1703624704 bytes
Fixed Size 2253904 bytes
Variable Size 1090522032 bytes
Database Buffers 603979776 bytes
Redo Buffers 6868992 bytes
Starting backup at 19.03.21
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=853 device type=DISK
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/19/2021 10:55:18
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/19/2021 10:55:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12541: TNS:no listener
ORA-17629: Cannot connect to the remote database server
DBMYS14 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ***)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DBMYS14)
)
)
DBMYS14_D =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ***)(PORT = 1507))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DBMYS14)
)
)