重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3687|回复: 0
打印 上一主题 下一主题

[Oracle] 数据库启动报ORA-00205: error in identifying control file, check alert log for...

[复制链接]
跳转到指定楼层
楼主
发表于 2018-8-28 14:32:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
os版本:rhel 7.3
DB版本:12.2.0.1
问题现象:
[oracle@localhost bin]$ sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Tue Aug 28 14:07:28 2018

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup;
ORACLE instance started.

Total System Global Area 1543503872 bytes
Fixed Size                  8621040 bytes
Variable Size             989856784 bytes
Database Buffers          536870912 bytes
Redo Buffers                8155136 bytes
ORA-00205: error in identifying control file, check alert log for more info

查看alter日志:
[root@localhost ~]# cd /u01/app/diag/rdbms/orcl/orcl/trace
[root@localhost trace]# ls *al*
alert_orcl.log
[root@localhost trace]# tail -300 alert_orcl.log


2018-08-28T14:07:38.902713+08:00
ALTER DATABASE   MOUNT
2018-08-28T14:07:39.325443+08:00
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/fast_recovery_area/orcl/control02.ctl'
ORA-27086: unable to lock file - already in use
Linux-x86_64 Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 71054
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oradata/orcl/control01.ctl'
ORA-27086: unable to lock file - already in use
Linux-x86_64 Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 71054

报错原因:服务器异常崩溃导致的

解决办法:找到$ORACLE_HOME/dbs下的lkORCL锁文件删除,再重启数据库。
[oracle@localhost dbs]$ cd /u01/app/product/12.2.0/db_1/dbs
[oracle@localhost dbs]$ ll
total 28
-rw-rw----. 1 oracle dba 1544 Aug 28 14:07 hc_orcl.dat
-rw-r--r--. 1 oracle dba 3079 May 15  2015 init.ora
-rw-r-----. 1 oracle dba  558 Aug 28 13:18 initorcl.ora
-rw-r-----. 1 oracle dba   24 Aug 28 11:21 lkORCL
-rw-r-----. 1 oracle dba 4608 Aug 28 11:20 orapworcl
-rw-r-----. 1 oracle dba 3584 Aug 28 14:07 spfileorcl.ora
[oracle@localhost dbs]$ rm lkORCL
[oracle@localhost dbs]$

[oracle@localhost bin]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Tue Aug 28 14:16:46 2018
Copyright (c) 1982, 2016, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL>

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-18 03:02 , Processed in 0.111821 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表