ITPub博客

首页 > 数据库 > Oracle > ORA-00205

ORA-00205

原创 Oracle 作者:Diy_os 时间:2015-05-05 10:16:47 0 删除 编辑
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
数据库装载完毕。
数据库已经打开。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29876893/viewspace-1623346/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-12-11

  • 博文量
    159
  • 访问量
    1043532