91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

處理 Dataguard 與 rman RMAN-05501

發布時間:2020-07-16 15:02:09 來源:網絡 閱讀:763 作者:wangluochongzi 欄目:關系型數據庫

Dataguard 備庫恢復時報rman-05501


RMAN>  duplicate target database for standby;


Starting Duplicate Db at 09-JUN-15

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=345 device type=DISK


contents of Memory Script:

{

   restore clone standby controlfile;

}

executing Memory Script


Starting restore at 09-JUN-15

using channel ORA_AUX_DISK_1


channel ORA_AUX_DISK_1: restoring control file

channel ORA_AUX_DISK_1: copied control file copy

input file name=/u01/oradata_backup/full_backup/db.ctl

output file name=/opt/oracle/database/oradata/db/control01.ctl

output file name=/opt/oracle/database/fast_recovery_area/db/control02.ctl

Finished restore at 09-JUN-15


contents of Memory Script:

{

   sql clone 'alter database mount standby database';

}

executing Memory Script


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 06/09/2015 16:54:16

RMAN-05501: aborting duplication of target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f18.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f17.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f16.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f15.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f14.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f13.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f12.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f11.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f10.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f09.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f08.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f07.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f06.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f05.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f04.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/warehouse_f05.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/warehouse_f04.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/warehouse_f03.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/warehouse_f02.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/warehouse_f01.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f03.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f02.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/adv_ts_main_f01.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/users01.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/undotbs01.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/sysaux01.dbf conflicts with a file used by the target database

RMAN-05001: auxiliary file name /opt/oracle/database/oradata/db/system01.dbf conflicts with a file used by the target database


原因:

主庫和備庫的datafile目錄一樣,且在初始化參數中沒有添加 *.db_file_name_convert和*.log_file_name_convert兩個參數。所以在這里duplicate 時需要加上 nofilenamecheck;


SQL> shutdown immediate;

ORA-01109: database not open



Database dismounted.

ORACLE instance shut down.


SQL> startup pfile='/u01/oradata_backup/standby.pfile' nomount;

ORACLE instance started.


Total System Global Area 3.1935E+10 bytes

Fixed Size                  2268992 bytes

Variable Size            2.8119E+10 bytes

Database Buffers         3758096384 bytes

Redo Buffers               55840768 bytes

SQL> create spfile='/opt/oracle/database/product/11.2.0/db_1/dbs/initdkhlstd.ora' from pfile='/u01/oradata_backup/standby.pfile';


File created.


[oracle@wx ~]$ rman target sys/dk2014_oracle@db  auxiliary /


Recovery Manager: Release 11.2.0.4.0 - Production on Tue Jun 9 17:03:10 2015


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


connected to target database: db (DBID=4232991297)

connected to auxiliary database: db (not mounted)


RMAN>  duplicate target database for standby nofilenamecheck;


Starting Duplicate Db at 09-JUN-15

using target database control file instead of recovery catalog

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=296 device type=DISK


contents of Memory Script:

{

   restore clone standby controlfile;

}

executing Memory Script


Starting restore at 09-JUN-15

using channel ORA_AUX_DISK_1


channel ORA_AUX_DISK_1: restoring control file

channel ORA_AUX_DISK_1: copied control file copy

input file name=/u01/oradata_backup/full_backup/db.ctl

output file name=/opt/oracle/database/oradata/db/control01.ctl

output file name=/opt/oracle/database/fast_recovery_area/db/control02.ctl

Finished restore at 09-JUN-15


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 

 "/opt/oracle/database/oradata/db/temp01.dbf";

   switch clone tempfile all;

   set newname for datafile  1 to 

 "/opt/oracle/database/oradata/db/system01.dbf";

   set newname for datafile  2 to 

 "/opt/oracle/database/oradata/db/sysaux01.dbf";

   set newname for datafile  3 to 

 "/opt/oracle/database/oradata/db/undotbs01.dbf";

   set newname for datafile  4 to 

 "/opt/oracle/database/oradata/db/users01.dbf";

   set newname for datafile  5 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f01.dbf";

   set newname for datafile  6 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f02.dbf";

   set newname for datafile  7 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f03.dbf";

   set newname for datafile  8 to 

 "/opt/oracle/database/oradata/db/warehouse_f01.dbf";

   set newname for datafile  9 to 

 "/opt/oracle/database/oradata/db/warehouse_f02.dbf";

   set newname for datafile  10 to 

 "/opt/oracle/database/oradata/db/warehouse_f03.dbf";

   set newname for datafile  11 to 

 "/opt/oracle/database/oradata/db/warehouse_f04.dbf";

   set newname for datafile  12 to 

 "/opt/oracle/database/oradata/db/warehouse_f05.dbf";

   set newname for datafile  13 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f04.dbf";

   set newname for datafile  14 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f05.dbf";

   set newname for datafile  15 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f06.dbf";

   set newname for datafile  16 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f07.dbf";

   set newname for datafile  17 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f08.dbf";

   set newname for datafile  18 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f09.dbf";

   set newname for datafile  19 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f10.dbf";

   set newname for datafile  20 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f11.dbf";

   set newname for datafile  21 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f12.dbf";

   set newname for datafile  22 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f13.dbf";

   set newname for datafile  23 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f14.dbf";

   set newname for datafile  24 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f15.dbf";

   set newname for datafile  25 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f16.dbf";

   set newname for datafile  26 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f17.dbf";

   set newname for datafile  27 to 

 "/opt/oracle/database/oradata/db/adv_ts_main_f18.dbf";

   restore

   clone database

   ;

}


executing Memory Script


......

RMAN> 


RMAN> exit



Recovery Manager complete.


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

施甸县| 平塘县| 神农架林区| 富蕴县| 盐池县| 清丰县| 赣榆县| 奈曼旗| 彭山县| 高密市| 乐陵市| 富民县| 项城市| 汾阳市| 遂平县| 衡东县| 富宁县| 宣武区| 岳西县| 井研县| 舟曲县| 清涧县| 长白| 阜城县| 二连浩特市| 望江县| 沁源县| 荥经县| 林周县| 讷河市| 杂多县| 新乡市| 阿图什市| 德惠市| 定安县| 吐鲁番市| 常宁市| 铜川市| 河津市| 麻城市| 永川市|