设为首页 加入收藏

TOP

ORA-00205
2015-07-24 12:14:40 来源: 作者: 【 】 浏览:82
Tags:ORA-00205
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

2.删除spfile.ora,然后修改init.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
数据库装载完毕。
数据库已经打开。

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Centos6.5下Oracle11gR2安装过程 下一篇代码助手CodeAssistant,显示问题

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: