欢迎投稿

今日深度:

ORA-00205,linuxora00205

ORA-00205,linuxora00205


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<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
数据库装载完毕。
数据库已经打开。

www.htsjk.Com true http://www.htsjk.com/shujukunews/7970.html NewsArticle ORA-00205,linuxora00205 SQL select * from v$version where rownum=1; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production SQL startup...
相关文章
    暂无相关文章
评论暂时关闭