Oracle無法登入的解決方案

來源:互聯網
上載者:User

 昨天電腦死機了,我就強制關機。今天開了電腦之後,發現Oracle無法登入,用SQL Plus登入時(主機字串中輸入其中的一個SID:gzlss,用另外一個SID時,可以正常登入),出現這樣的錯誤提示:ORA-01033   ORACLE   initialization   or   shutdown   in   progress。
  上網找了很多資料,最後綜合了一下,終於找到解決方案,具體如下:
進入命令列提示符視窗,具體的命令及結果如下:

C:/Documents and Settings/Administrator>set oracle_sid=gzlss
C:/Documents and Settings/Administrator>sqlplus
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 11月 29 11:23:37 2008
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
請輸入使用者名稱:  /as sysdba
串連到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> alter database backup controlfile to trace;
資料庫已更改。
SQL> startup nomount
ORA-01081: 無法啟動已在啟動並執行 ORACLE --- 請首先關閉
SQL> shutdown abort
ORACLE 常式已經關閉。
SQL> startup
ORACLE 常式已經啟動。
Total System Global Area  135338868 bytes
Fixed Size                   453492 bytes
Variable Size             109051904 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes
資料庫裝載完畢。
ORA-00600: 內部錯誤碼,參數: [kcratr1_lostwrt], [], [], [], [], [], [], []

SQL> shutdown immediate
ORA-01109: 資料庫未開啟

已經卸載資料庫。
ORACLE 常式已經關閉。
SQL> startup mount
ORACLE 常式已經啟動。
Total System Global Area  135338868 bytes
Fixed Size                   453492 bytes
Variable Size             109051904 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes
資料庫裝載完畢。
SQL> recover database;
完成介質恢複。
SQL> alter database open;
資料庫已更改。
SQL> exit;
從Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中斷開
C:/Documents and Settings/Administrator>

至此,已經完成,重新登入,已經可以正常登入了。

聯繫我們

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