Welcome 微信登录

首页 / 数据库 / MySQL / DG不能自动mount导致数据库不能正常启动:ORA-01157、ORA-01110、ORA-17503、ORA-15001、ORA-15001

DG不能自动mount导致数据库不能正常启动:ORA-01157、ORA-01110、ORA-17503、ORA-15001、ORA-15001
现象:
每次重启整个CRS之后,DB都不能自动开启到OPEN状态,查看alert日志报错:
SUCCESS: diskgroup UNID was mounted
Thu Nov 14 21:46:01 2013
Create Relation SWEEPERR
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 2364838615
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Nov 14 21:46:05 2013
ALTER DATABASE OPEN MIGRATE
Errors in file /opt/app/diag/rdbms/nc/nc1/trace/nc1_dbw0_8399.trc:
ORA-01157: cannot identify/lock data file 21 - see DBWR trace file
ORA-01110: data file 21: "+INDX/nc/datafile/INDX.256.820323481"
ORA-17503: ksfdopn:2 Failed to open file +INDX/nc/datafile/INDX.256.820323481
ORA-15001: diskgroup "INDX" does not exist or is not mounted
ORA-15001: diskgroup "INDX" does not exist or is not mounted
Errors in file /opt/app/diag/rdbms/nc/nc1/trace/nc1_dbw0_8399.trc:
ORA-01157: cannot identify/lock data file 22 - see DBWR trace file
ORA-01110: data file 22: "+INDX/nc/datafile/INDX.257.820323659"
ORA-17503: ksfdopn:2 Failed to open file +INDX/nc/datafile/INDX.257.820323659
ORA-15001: diskgroup "INDX" does not exist or is not mounted
从alert日志可以看出,INDX DG的文件不能被读到,
查看发现INDX DG处于DISMOUNT状态。分析:
ASM中创建了2个DG:UNID,INDX.每次只有UNID会被自动mount,而INDX不能被自动MOUNT。
查看asm_diskgroups参数发现只设置了UNID,这就是为什么每次INDX不会被自动MOUNT的原因了。
SQL>
SQL> show parameter asmNAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups string UNID
SQL> show parameter pfileNAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string解决办法:
将INDX添加到asm_diskgroups参数中。
spfile:alter system set asm_diskgroups="UNID","INDX" scope=both;
pfile:修改pfile中asm_diskgroups参数。相关阅读:ORA-01172、ORA-01151错误处理 http://www.linuxidc.com/Linux/2013-06/86529.htmORA-00600 [2662]错误解决 http://www.linuxidc.com/Linux/2013-06/86528.htmORA-01078 和 LRM-00109 报错解决方法 http://www.linuxidc.com/Linux/2012-07/66044.htmORA-00471 处理方法笔记 http://www.linuxidc.com/Linux/2013-09/90017.htmORA-00314,redolog 损坏,或丢失处理方法 http://www.linuxidc.com/Linux/2013-09/90646.htmORA-00257 归档日志过大导致无法存储的解决办法 http://www.linuxidc.com/Linux/2013-09/90594.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12RMAN Restore异常终止,报错:Cannot allocate memoryOracle hang 之sqlplus -prelim使用方法相关资讯      ORA-01157  ORA-01110  ORA-17503  ORA-15001 
  • ORA-00376/ORA-01110 故障处理办法  (今 09:01)
  • ORA-01157&ORA-01110故障解决  (07/17/2015 12:48:04)
  • rman备份恢复到异机报ORA-01110   (08/02/2014 14:26:57)
  • 备库查询导致的ORA-01110错误及修  (04月16日)
  • Oracle 11gR2 RAC环境DBCA创建数据  (10/02/2014 19:22:34)
  • Oracle数据库中出现ORA-01157: 无  (08/01/2014 11:16:04)
本文评论 查看全部评论 (0)
表情: 姓名: 字数
版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图