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
数据库装载完毕。
数据库已经打开。

猜你喜欢

转载自blog.csdn.net/rockywu/article/details/8251355
今日推荐