ORA-01618: redo thread 2 is not enabled - cannot mount

错误现象:
在做数据库从单机到RAC恢复的过程中,1节点正常启动,2节点无法mount,提示如下错误:
  1. SQL> alter database mount;
  2. alter database mount
  3. *
  4. ERROR at line 1:
  5. ORA-01618: redo thread 2 is not enabled - cannot mount
查看错误说明:
  1. [oracle@otdb1 ~]$ oerr ora 1618
  2. 01618, 00000, "redo thread %s is not enabled - cannot mount"
  3. // *Cause: The INIT.ORA parameter "thread" requests a thread that is not
  4. // enabled. A thread must be enabled before it can be mounted.
  5. // *Action: Shutdown the instance, change the INIT.ORA parameter and startup
  6. // mounting a different thread. If the database is open in another
  7. // instance then the thread may be enabled.
在正常启动的1节点查看发现都是thread 1 的日志,没有thread 2的日志。
  1. SQL> select * from v$log;

  2.     GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
  3. ---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ---------
  4.          1 1 1 471859200 1 NO CURRENT 1.4430E+13 10-AUG-15
  5.          2 1 0 471859200 1 YES UNUSED 0
  6.          3 1 0 471859200 1 YES UNUSED 0
  7.          4 1 0 471859200 1 YES UNUSED 0
  8.          5 1 0 471859200 1 YES UNUSED 0
  9.          6 1 0 471859200 1 YES UNUSED 0
  10.          7 1 0 471859200 1 YES UNUSED 0
  11.          8 1 0 471859200 1 YES UNUSED 0
  12.          9 1 0 471859200 1 YES UNUSED 0
  13.         10 1 0 471859200 1 YES UNUSED 0
解决方法:
1)在正常启动的节点1为节点2手工添加日志

  1. SQL> alter database add logfile thread 2 ('+DATADG') size 450m;

  2. Database altered.
  3. 。。。。。。。。。。。。。
2)添加完之后再应用日志

  1. SQL> alter database enable thread 2;
  2. Database altered.
应用完日志再在节点2上执行mount

  1. SQL> alter database mount;
  2. Database altered.
正常mount。
因为单机只有1组日志,恢复的时候在1节点操作,所有日志都应用在1节点,2节点就缺少相关日志。
RAC恢复的时候需要注意。


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

转载于:http://blog.itpub.net/205377/viewspace-1767253/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值