您的位置:首页 > 大数据 > 人工智能

ORA-00245: control file backup operation failed

2012-10-21 09:53 726 查看

ORA-00245: control file backup operation failed

1、现象:

使用rman备份RAC的控制文件不成功。

查看rman的配置如下:

RMAN> show all;

RMAN configuration parameters for database with db_unique_name PROD9 are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default

CONFIGURE BACKUP OPTIMIZATION OFF; # default

CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/export/home/ora11/%F';

CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE ENCRYPTION FOR DATABASE OFF; # default

CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default

CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default

CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/PROD/product/11.2.0/dbs/snapcf_PROD91.f'; # default

备份的时候报错如下:

RMAN> run {

2> allocate channel d3 type disk;

3> backup format '/export/home/ora11/cntrl_%d_%p_%c_%s' current controlfile;

4> }

allocated channel: d3

channel d3: SID=2458 instance=PROD91 device type=DISK

Starting backup at 23-JUL-12

channel d3: starting full datafile backup set

channel d3: specifying datafile(s) in backup set

released channel: d3

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of backup command on d3 channel at 07/23/2012 11:22:33

ORA-00245: control file backup operation failed

2、解决:

重新配置控制文件快照的存放位置,下面show的最后一句:

RMAN> show all;

RMAN configuration parameters for database with db_unique_name PROD9 are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default

CONFIGURE BACKUP OPTIMIZATION OFF; # default

CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/export/home/ora11/%F';

CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE ENCRYPTION FOR DATABASE OFF; # default

CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default

CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default

CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+SYS/PROD9/snapcf_PROD91.f';

请看上面这个最后一句,rac环境中,控制文件的快照必须备份到能够被所有节点的数据实例访问到的地方,也就是必须放在共享的位置。

配置完之后,再进行控制文件的备份,成功。

RMAN> run {

2> allocate channel d3 type disk;

3> backup format '/export/home/ora11/cntrl_%d_%p_%c_%s' current controlfile;

4> }

allocated channel: d3

channel d3: SID=2458 instance=PROD91 device type=DISK

Starting backup at 23-JUL-12

channel d3: starting full datafile backup set

channel d3: specifying datafile(s) in backup set

including current control file in backup set

channel d3: starting piece 1 at 23-JUL-12

channel d3: finished piece 1 at 23-JUL-12

piece handle=/export/home/ora11/cntrl_PROD9_1_1_32042 tag=TAG20120723T113127 comment=NONE

channel d3: backup set complete, elapsed time: 00:00:01

Finished backup at 23-JUL-12

Starting Control File and SPFILE Autobackup at 23-JUL-12

piece handle=/export/home/ora11/c-4167122059-20120723-00 comment=NONE

Finished Control File and SPFILE Autobackup at 23-JUL-12

released channel: d3

RMAN>

ORA-16038的解决

ORA-00600: internal error code, arguments: [keltnf

ORA-00600: ORA-12012 ORA-08102解决

ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

ORA-31613 Master process DM00 failed during startup

ORA-24324 ORA-01041 ORA-03113

ORA-27125: unable to create shared memory segment

ORA-00245: control file backup operation failed

ORA-00245: control file backup operation failed

更多参考:

the specified nodes are not clusterable

根据rowid删除表中重复的行

Agent process exited abnormally during initialization

一次字符乱码的解决过程

rman实验(一)

rman实验(二)

ORA-00600: internal error code, arguments: [keltnf

ORA-00600: ORA-12012 ORA-08102解决

linux下完全删除oracle

INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory

centos4.8_64上安装oracle10201建库报ORA-12547

EM乱码解决

ORA-31613 Master process DM00 failed during startup

ORA-00600: internal error code, arguments: [4194], [29], [27], [], [], [], [], []

ORA-24324 ORA-01041 ORA-03113

centos5.3升级oracle

pdksh-5.2.14-36.el5.i386.rpm

使用rman进行数据库迁移

oracle10.2.0.1升级到10.2.0.4报错

Upgrade Oracle 10g from 10.2.0.1 to 10.2.0.4 (Single Instance)

改oracle的name和dbid

修改oracle实例名

Solaris8上迁移oracle8i---上

Solaris8上迁移oracle8i---下

未备份归档日志导致数据丢失的实验

使用NBU进行数据库迁移

catalog备份数据库

RMAN FORMAT字符串格式化

Error: can not register my instance state - -1

not all alterations performed

The ASM instance configured on the local node is a single-instance ASM

/u01/crs102/bin/crsctl.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared

Initializing the Oracle ASMLib driver: [FAILED]

ORA-00245: control file backup operation failed

WARNING: failed to read mirror side 1 of virtual extent 229 logical extent

模拟恢复参数文件

Interface eth0 checked failed

import server uses ZHS16GBK character set (possible charset conversion)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐