oracle initialization or shutdown in progress 問題解決,oracleshutdown

來源:互聯網
上載者:User

oracle initialization or shutdown in progress 問題解決,oracleshutdown

今天登入oracle時遇到oracle initialization or shutdown in progress 這個錯誤提示,在網上搜了下,試了很多方法,最後結合幾種方法結合,成功解決了問題!


問題原因:我將以前備份的一個資料庫檔案誤刪除,重新登入資料庫載入資料時提示錯誤

操作步驟

1.先在windows下運行cmd,進入DOS環境。

2.以DBA使用者登入,具體命令是
sqlplus /NOLOG
SQL>connect sys/change_on_install as sysdba
提示:已成功

3.

     SQL>shutdown immediate      停止服務
     SQL>startup                          啟動服務,觀察啟動時有無資料檔案載入報錯,並記住出錯資料檔案標號
     SQL>shutdown immediate      再次停止服務
     SQL> alter database datafile 'G:\SP001.DBF' offline drop;

資料庫已更改。

     SQL>alter database open;

資料庫已更改。

     SQL>startup                          啟動服務,此次正常。

4.進入SQL*PLUS登入沒有再提示錯誤


ora-01033:oracle initialization or shutdown in progress 解決方案 system 與普通使用者都不可以登陸,登陸後

服務沒啟動 ,或者是伺服器ip變更了
客戶Oracle伺服器進入PL/SQL Developer時報ora-01033:oracle initializationg or shutdown in progress 錯誤提示,應用系統無法串連Oracle服務。經遠程指導解決問題。過程如下:
1、進入CMD,執行set ORACLE_SID=fbms,確保串連到正確的SID;
2、運行sqlplus "/as sysdba"
SQL>shutdown immediate 停止服務
SQL>startup 啟動服務,觀察啟動時有無資料檔案載入報錯,並記住出錯資料檔案標號
SQL>shutdown immediate 再次停止服務
SQL>startup mount
SQL> recover datafile 2 恢複出錯的資料檔案
SQL>shutdown immediate 再次停止服務
SQL>startup 啟動服務,此次正常。
3、進入PL/SQL Developer檢查,沒有再提示錯誤。

還啟動不了,可能就是檔案的問題,
 
有關ORACLE登陸出錯問題:ora-01033:oracle initialization or shutdown in progress 解決方案,解

1、mount資料庫
sql> startup mount
2 alter system set db_recovery_file_dest_size=2g scope=spfile;
{或者 ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE=4G SCOPE=BOTH;}
參數db_recovery_file_dest_size的值根據磁碟剩餘空間大小和實際需要來設定,
3、開啟資料庫
sql> alter database open
4、刪除失效歸檔日誌.
rman
RMAN> connect target /
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;
RMAN> exit
5、重新啟動資料庫
sql> shutdown immediate
sql> startup
參考 blog.csdn.net/...908204
 

相關文章

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.