Oracle ORA-01033: ORACLE initialization or shutdown in progress 錯誤解決辦法

來源:互聯網
上載者:User

標籤:

今兒一直在測試伺服器的遷移問題,不斷地建立資料表空間、建立資料庫、建立使用者。後來感覺建立這麼多東西太佔用磁碟空間,心想刪除一下吧,於是,我們執行了dbca命令,將沒用的資料庫統統刪除,將dbf和dmp檔案也統統刪除了,再後來探索服務無法啟動了,串連時會提示oracle initialization or shutdown in progress,後來經過查詢發現,原來這些dbf和dmp不是說刪除就能刪除的(當時我們明明發現有的不允許刪除,我還是故意停停掉oracle服務,然後將其刪除滴),最終導致資料庫執行個體無法啟動。

我的解決過程如下:Microsoft Windows [版本 5.2.3790](C) 著作權 1985-2003 Microsoft Corp.  C:\Documents and Settings\Administrator>sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 4 18:40:13 2011 Copyright (c) 1982, 2005, Oracle.  All rights reserved.  SQL> connect system/hope;ERROR:ORA-01033: ORACLE initialization or shutdown in progress【就是這個錯誤】  【解決方案】  SQL> connect sys/hope as sysdba已串連。 SQL> shutdown normalORA-01109: 資料庫未開啟  已經卸載資料庫。ORACLE 常式已經關閉。 SQL> start mountSP2-0310: 無法開啟檔案 "mount.sql"SQL> startup mountORACLE 常式已經啟動。 Total System Global Area  612368384 bytesFixed Size                  1332348 bytesVariable Size             183151492 bytesDatabase Buffers          423624704 bytesRedo Buffers                4259840 bytes資料庫裝載完畢。SQL> alter database open;alter database open*第 1 行出現錯誤:ORA-01157: 無法標識/鎖定資料檔案 5 - 請參閱 DBWR 追蹤檔案ORA-01110: 資料檔案 5: ‘C:\TYKM.DBF‘   SQL> alter database datafile 5 offline drop;【5是資料檔案中的5】 資料庫已更改。  SQL> alter database open;【我們一直迴圈這個語句,直至不再提示錯誤】 資料庫已更改。  SQL> shutdown normal資料庫已經關閉。已經卸載資料庫。ORACLE 常式已經關閉。 SQL> startupORACLE 常式已經啟動。 Total System Global Area  612368384 bytesFixed Size                  1332348 bytesVariable Size             187345796 bytesDatabase Buffers          419430400 bytesRedo Buffers                4259840 bytes資料庫裝載完畢。資料庫已經開啟。這樣就解決啦~~~哈哈哈~~~~~~~~~~~~~~~~~~~~ 轉載:http://blog.sina.com.cn/s/blog_49f485700100s362.html

Oracle ORA-01033: ORACLE initialization or shutdown in progress 錯誤解決辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.