ORA-01503: CREATE CONTROLFILE failed
来源:互联网 发布:延时摄影编辑软件 编辑:程序博客网 时间:2024/05/31 18:40
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 '/u01/oracle/oradata/orcl/redo01.log' SIZE 50M,
9 GROUP 2 '/u01/oracle/oradata/orcl/redo02.log' SIZE 50M,
10 GROUP 3 '/u01/oracle/oradata/orcl/redo03.log' SIZE 50M
11 -- STANDBY LOGFILE
12 DATAFILE
13 '/u01/oracle/oradata/orcl/system01.dbf',
14 '/u01/oracle/oradata/orcl/undotbs01.dbf',
15 '/u01/oracle/oradata/orcl/sysaux01.dbf',
16 '/u01/oracle/oradata/orcl/users01.dbf',
17 CHARACTER SET ZHS16GBK
18 ;
CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 12800 (blocks), but should match header 25600
ORA-01110: data file 4: '/u01/oracle/oradata/orcl/users01.dbf'
查了下官方文档
ORA-01163: SIZE clause indicates string (blocks), but should match header string
Cause: The size specified in bytes in the SIZE clause of the CREATE CONTROLFILE statement does not equate to the number of blocks recorded in the header.
Action: Specify the correct filename and size ( in bytes ).
问题原因
在user01.dbf后多了一个逗号 去掉逗号之后一切正常。
- ORA-01503: CREATE CONTROLFILE failed
- ORA-01503: CREATE CONTROLFILE failed
- ORA-01967: invalid option for CREATE CONTROLFILE
- create controlfile
- ORA-39083: Object type REF_CONSTRAINT failed to create with error:
- controlfile
- controlfile
- impdp传输表空间错误小记 ORA-39083: Object type INDEX_STATISTICS failed to create with error:
- impdp ORA-39083: Object type INDEX_STATISTICS failed to create with error
- oracle之 Got minus one from a read call 与 ORA-27154: post/wait create failed
- 如果在create controlfile是漏掉datafile会怎样呢?
- ORA-01152错误解决方法 用老的备份controlfile
- ORA-01152错误解决方法 用老的备份controlfile
- 【Oracle问题集4】ORA-00205 error in identifying controlfile
- CREATE VIEW ORA-01031
- failed to create process
- 数据泵导入时报错ORA-39083: Object type TABLE:"JDIC"."CLCP" failed to create with error:
- RMAN备份时报“ORA-19504: failed to create file”和“ORA-27038: created file already exists”的一种情况和解决办法
- GridView事件DataBinding,DataBound,RowCreated,RowDataBound区别及执行顺序分析
- NSSplitView控件上下拖动时窗口自适应调整 样例
- 不要过度追求精简或者说是优化代码
- 使用Spring框架的12个开源项目
- linux 与windows 设置共享文件夹或卷盘
- ORA-01503: CREATE CONTROLFILE failed
- poj 1815 Friendship 网络流
- 黑马程序员html相关基础
- MySQL性能建议者:mysqltuner.pl
- 深入剖析WTL—WTL消息循环机制详解
- 线段树入门 以HDU 4325为例(未离散化,也没lazy标记)
- 距离和相似度度量
- linux 设备驱动编程
- aaa