ORA-00205
来源:互联网 发布:泰兴减速机js txjsj 编辑:程序博客网 时间:2024/06/03 04:42
SQL> select * from v$version where rownum=1;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
SQL> startup force;
ORACLE 例程已经启动。
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 360712576 bytes
Database Buffers 54525952 bytes
Redo Buffers 6094848 bytes
ORA-00205: ?????????, ??????, ???????
出了这种问题,首先想到要去看告警日志文件:
.....
Tue May 05 00:48:35 2015
ALTER DATABASE MOUNT
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oracle/oradata/orcl3939/control03.ctl'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
.....
问题很明显了,3号控制文件出了问题,无法打开,怀疑已经损坏,此时有两种解决方法:
1.比较简单的就是重建3号控制文件,重启解决问题
[oracle@localhost ~]$ cp control01.ctl control03.ctl
已正常打开数据库:
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 360712576 bytes
Database Buffers 54525952 bytes
Redo Buffers 6094848 bytes
数据库装载完毕。
数据库已经打开。
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
SQL> startup force;
ORACLE 例程已经启动。
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 360712576 bytes
Database Buffers 54525952 bytes
Redo Buffers 6094848 bytes
ORA-00205: ?????????, ??????, ???????
出了这种问题,首先想到要去看告警日志文件:
.....
Tue May 05 00:48:35 2015
ALTER DATABASE MOUNT
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oracle/oradata/orcl3939/control03.ctl'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
.....
问题很明显了,3号控制文件出了问题,无法打开,怀疑已经损坏,此时有两种解决方法:
1.比较简单的就是重建3号控制文件,重启解决问题
[oracle@localhost ~]$ cp control01.ctl control03.ctl
2.删除spfile<ORACLE_SID>.ora,然后修改init<ORACLE_SID>.ora里的control_files,删除其中三号控制文件。最后重建spfile:create spfile from pfile; 启动即可
但是不建议使用第二种解决方法,这样会导致只有两个镜像控制文件,使得数据库不安全,生产库里的控制文件冗余很重要。已正常打开数据库:
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 360712576 bytes
Database Buffers 54525952 bytes
Redo Buffers 6094848 bytes
数据库装载完毕。
数据库已经打开。
0 0
- ORA-00205
- ORA-00205
- ORA-00205错误
- ORA-00205错误
- ORA-00205: ?????????????????????解决方案
- ORACLE startup报错之ORA-01261&&ORA-01263&&ORA-00202&&ORA-00205
- ORA
- ora
- ORA-00205错误的解决方法
- 重新建控制文件 ORA-00205
- 解决数据库实例启动ORA-00205问题
- ora-00205:系统找不到控制文件
- ORA-01034 ORA-27101
- ORA-10567,ORA-00313
- ora-01128,ora-00275
- ORA-03113,ORA-07445
- ORA-32017 ORA-16179
- ORA-12012,ORA-12005
- 2014上海邀请赛D Battle ships(最大二分匹配)
- 使用navigator.userAgent来判断浏览器类型
- 简述maven,make,ant,jenkins,jenkins plugin, maven plugin之间的关系
- 归并排序代码实现
- Android四大基本组件介绍与生命周期
- ORA-00205
- JSP连接SQL2008
- iOS 手势 点击tableViewCell 传不同的值
- EditView替代TextView实现复制粘贴功能。(参考网上的)
- Neon Intrinsics各函数介绍
- Integer to Roman
- HDU 4691 Front compression 后缀数组
- TCP/IP详解学习笔记(1)-基本概念
- 1008. 数组元素循环右移问题 (20)