oracle 错误ORA-27300: OS system dependent operation:semctl failed with status: 22 ORA-00600: internal

来源:互联网 发布:java下载 编辑:程序博客网 时间:2024/05/01 12:25



由于active redo损坏,使用_allow_resetlogs_corruption参数resetlog启动,报以下错误:

Errors in file /u01/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_29192.trc:
ORA-27300: OS system dependent operation:semctl failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpwpost1
ORA-27303: additional information: semid = 1441793
ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []
Doing block recovery for file 3 block 2480
No block recovery was needed
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3BBA1BBA] [PC:0x2297714, kgegpa()+40] [flags: 0x0, count: 1]
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3BBA1BBA] [PC:0x229593F, kgebse()+279] [flags: 0x2, count: 2]

解决:
[oracle@testdb ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Tue May 6 16:03:14 2014
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to an idle instance
SQL> startup mount
ORACLE instance started.
Total System Global Area  835104768 bytes
Fixed Size                  2217952 bytes
Variable Size             490735648 bytes
Database Buffers          335544320 bytes
Redo Buffers                6606848 bytes
Database mounted.
SQL> 
SQL> 
SQL> 
SQL> 
SQL> 
SQL> show parameter undo;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management                      string      AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS1
SQL> alter system set undo_management=manual scope=spfile;
System altered.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area  835104768 bytes
Fixed Size                  2217952 bytes
Variable Size             490735648 bytes
Database Buffers          335544320 bytes
Redo Buffers                6606848 bytes
Database mounted.
Database opened.
SQL> 
SQL> 
SQL> 
SQL> 
SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------
/u01/oracle/oradata/orcl/system01.dbf
/u01/oracle/oradata/orcl/sysaux01.dbf
/u01/oracle/oradata/orcl/undotbs01.dbf
/u01/oracle/oradata/orcl/users01.dbf
/u01/oracle/oradata/orcl/example01.dbf

SQL> create undo tablespace undotbs02 datafile '/u01/oracle/oradata/orcl/undotbs02.dbf' size 128m;
Tablespace created.
SQL> alter system set undo_tablespace='undotbs02' scope=spfile;
System altered.
SQL> alter system set undo_management=auto scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> 
再启动,ok 原因由回滚段错误引起。
我这里是因为意外断电,导致数据库无法启动,自己shutdown,通过以上操作数据库成功恢复。


0 0