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

來源:互聯網
上載者:User

今天用兩台linux Red Hat 4 搭建RAC(10G)的時候出現此錯誤,後來解決了,給分享一下。

我剛剛建立好RAC,能開啟節點1,開啟節點2時報此錯,查看節點1的日誌如下:

SQL> select * from v$Log; // 只有節點1的日誌,卻沒有節點2的日誌

GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ---------
1 1 2 52428800 2 NO INACTIVE 473022 02-APR-12
2 1 3 52428800 2 NO CURRENT 500037 02-APR-12

在節點1上給節點2建立日誌組

SQL> alter database add logfile thread 2
2 ('+dg1','+recovery') size 10m;

Database altered.

再建立一組日誌,好和節點1一樣都有兩組日誌

SQL> alter database add logfile thread 2
2 ('+dg1','+recovery') size 10m;

Database altered.

添加完後我又在節點二開啟資料庫,卻還是報此錯誤,又在節點1執行了下面的操作才OK的

SQL> alter database enable thread 2;

Database altered.

SQL>

更多Oracle相關資訊見Oracle 專題頁面 http://www.bkjia.com/topicnews.aspx?tid=12

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.