ORA-03113: 通信通道的文件結尾 處理

近期BPM測試庫突然無法登陸..startup出現ORA-03113: 通信通道的文件結尾..通過檢查發現測試庫處在歸檔模式,先將歸檔模式關閉,並作恢復
Microsoft Windows [版本 6.1.7600]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。

C:\Users\Administrator>set oracle_sid=bpmtest

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 10月 25 15:49:02 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> connect sys/123456 as sysdba;
已連接到空閒例程。
SQL> select instane from v$instane;
select instane from v$instane
*
第 1 行出現錯誤:
ORA-01034: ORACLE not available
進程 ID: 0
會話 ID: 0 序列號: 0

SQL> shutdown
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SQL> startup
ORACLE 例程已經啓動。

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1157630808 bytes
Database Buffers          436207616 bytes
Redo Buffers                7397376 bytes
數據庫裝載完畢。
ORA-03113: 通信通道的文件結尾
進程 ID: 1672
會話 ID: 5 序列號: 5


SQL> exit
從 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷

C:\Users\Administrator>set oracle_sid=bpmtest

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 10月 25 15:53:55 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> connect sys/123456 as sysdba
已連接到空閒例程。
SQL> shutdown
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SQL> startup nomount
ORACLE 例程已經啓動。

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1157630808 bytes
Database Buffers          436207616 bytes
Redo Buffers                7397376 bytes
SQL> startup force
ORACLE 例程已經啓動。

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1157630808 bytes
Database Buffers          436207616 bytes
Redo Buffers                7397376 bytes
數據庫裝載完畢。
ORA-03113: 通信通道的文件結尾
進程 ID: 4012
會話 ID: 5 序列號: 5


SQL> shutdown
ORA-24324: 未初始化服務句柄
ORA-01041: 內部錯誤, hostdef 擴展名不存在
SQL> exit
從 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 10月 25 15:58:50 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> startup mount
ORA-01031: insufficient privileges
SQL> connect sys/123456 as sysdba
已連接到空閒例程。
SQL> startup mount
ORACLE 例程已經啓動。

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1157630808 bytes
Database Buffers          436207616 bytes
Redo Buffers                7397376 bytes
數據庫裝載完畢。

SQL> select * from v$log;

    GROUP#    THREAD#  SEQUENCE#      BYTES  BLOCKSIZE    MEMBERS ARC
---------- ---------- ---------- ---------- ---------- ---------- ---
STATUS           FIRST_CHANGE# FIRST_TIME     NEXT_CHANGE# NEXT_TIME
---------------- ------------- -------------- ------------ --------------
         1          1       1168   52428800        512          1 NO
CURRENT               49202533 25-10月-12       2.8147E+14

         3          1       1167   52428800        512          1 NO
INACTIVE              49171073 24-10月-12         49202533 25-10月-12

         2          1       1166   52428800        512          1 NO
INACTIVE              49160686 24-10月-12         49171073 24-10月-12

SQL> recover database until time '2012-10-24';
完成介質恢復。
SQL> alter database open resetlogs
  2
SQL> alter database open resetlogs;

數據庫已更改。

SQL> shutdown
數據庫已經關閉。
已經卸載數據庫。
ORACLE 例程已經關閉。
SQL>
SQL>
SQL> startup
ORACLE 例程已經啓動。

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1157630808 bytes
Database Buffers          436207616 bytes
Redo Buffers                7397376 bytes
數據庫裝載完畢。
數據庫已經打開。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章