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)
相关文章推荐
- ORA-00245: control file backup operation failed
- Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明
- Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明
- Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明
- ORA-00245: control file backup operation failed
- Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明
- ORA-00245 control file backup operation failed 分析和解决
- rac数据库重启之后备份控制文件报ORA-00245: control file backup failed;
- ORA-00245: control file backup failed; target is likely on a local file system
- ORA-00245: control file backup failed; target is likely on a local file system
- ORA-00245: control file backup failed; target is likely on a local file system
- ORA-00245: control file backup failed; target is likely on a local file system (转载)
- ORA-245: In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared l
- ORA-01503: CREATE CONTROLFILE failed
- ORA-01503: CREATE CONTROLFILE failed
- ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
- ORA-00245 & RMAN-08132 RMAN之snapshot control file
- Bug 16012614 - ORA-245 on RMAN controlfile backup (文档 ID 16012614.8)
- ORA-01122 database file 1 failed verification check,ORA-01207: file is more recent than control file
- recover database using backup controlfile