ORA-16038: log 3 sequence# 37 cannot be archived

來源:互聯網
上載者:User

很久之前部署的一套資料庫突然啟不來了,客戶只說應用系統登入不了。後來經過半小時摸索解決了,記之以備忘。

遠程用putty串連上去,執行sqlplus登入,提示ORA-01033: ORACLE initialization or shutdown in progress,猜想應該是datafile有損壞,於是以sys使用者登入。

SQL>shutdown normal;

SQL>startup mount;

SQL>alter database open;

報錯如下:

ERROR at line 1:
ORA-16038: log 3 sequence# 5281 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1:
'/opt/FangChanData/oracle10g/oradata/realty/redo03.log'
ORA-00312: online log 3 thread 1:
'/opt/FangChanData/oracle10g/oradata/realty/redo03b.log'

貌似第三組記錄檔超長了?查看磁碟空間還有幾十G剩餘,不太明白,不管了,直接清掉未歸檔日誌:

SQL> alter database clear unarchived logfile group 3;

再開啟資料庫:

SQL>alter database open;

OK了。只是有一堆疑問卻沒有細究,唉...這種解決方案太簡單粗暴了。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.