- 最后登录
- 2017-5-4
- 在线时间
- 81 小时
- 威望
- 999
- 金钱
- 2391
- 注册时间
- 2013-9-11
- 阅读权限
- 150
- 帖子
- 1124
- 精华
- 5
- 积分
- 999
- UID
- 1220
|
1#
发表于 2017-4-14 15:51:02
|
查看: 1391 |
回复: 0
被其他人强制重启了服务器,开机oracle11g无法启动,提示如下:
SQL> startup nomount;
ORACLE 例程已经启动。
Total System Global Area 2.7392E+10 bytes
Fixed Size 2188768 bytes
Variable Size 1.4428E+10 bytes
Database Buffers 1.2952E+10 bytes
Redo Buffers 9183232 bytes
SQL> alter database mount;
数据库已更改。
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [2663], [0], [4196770376], [0],
[4196866106], [], [], [], [], [], [], []
进程 ID: 3248
会话 ID: 102 序列号: 1
新手不知下一步如何处理,怕破坏了数据文件。。。发帖求救
处理步骤如下:
create pfile='c:/tan.ora' from spfile;
shutdown abort
startup mount pfile='c:/tan.ora'
alter session set events '10015 trace name adjust_scn level 3';
alter database open;
报错:
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-01578: ORACLE data block corrupted (file # 33, block # 192)
ORA-01110: data file 33: 'D:\WISSCN\WISSCN\UNDOTBS1.DBF'
进程 ID: 6400
会话 ID: 127 序列号: 3
show parameter undo;
alter system set undo_management=manual scope=spfile;
alter database datafile 33 offline drop;
create undo tablespace undotbstemp datafile 'D:\wisscn\wisscn\UNDOTBS01.dbf' size 100M;
alter system set undo_management=auto scope=spfile;
alter system set undo_tablespace=undotbstemp scope=spfile;
create pfile='c:/tan.ora' from spfile;
在ora文件中加
_CORRUPTED_ROLLBACK_SEGMENTS=(_SYSSMU33_86657127$)
括号中为DROP TABLESPACE undotbs 报的错
重启
DROP TABLESPACE undotbs INCLUDING CONTENTS AND DATAFILES;
还保存,就继续在ora文件中加
下面可以查出UNDOTBS中的所有段,可以一次都加到ora中。
select segment_name from dba_rollback_segs where tablespace_name = 'UNDOTBS'; |
|