ORA-00600: 错误 参数: [kcratr_nab_less_than_odr], [1], [3313]

前天数据库突然断电,出现如下错误:

ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [3313],[2328320], [2334233], [], [], [], [], [], [], []

 

进行了如下操作进行恢复:

SQL> alter database open ;
alter database open
*
第 1 行出现错误:
ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [3313],[2328320], [2334233], [], [], [], [], [], [], []


SQL> recover database
ORA-00283: 恢复会话因错误而取消
ORA-00264: 不要求恢复


SQL> recover database until cancel
ORA-10879: error signaled in parallel recovery slave
ORA-01547: 警告: RECOVER 成功但 OPEN RESETLOGS 将出现如下错误
ORA-01152: 文件 1 没有从过旧的备份中还原
ORA-01110: 数据文件 1: '/u01/oracle/oradata/orcl/system01.dbf'


SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项


SQL> alter database open resetlogs;
alter database open resetlogs
*
第 1 行出现错误:
ORA-01152: 文件 1 没有从过旧的备份中还原
ORA-01110: 数据文件 1: '/u01/oracle/oradata/orcl/system01.dbf'


SQL> alter database open noresetlogs;
alter database open noresetlogs
*
第 1 行出现错误:
ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [3313],
[2328320], [2334233], [], [], [], [], [], [], []


SQL> recover database until cancel;
ORA-10879: error signaled in parallel recovery slave
ORA-01547: 警告: RECOVER 成功但 OPEN RESETLOGS 将出现如下错误
ORA-01152: 文件 1 没有从过旧的备份中还原
ORA-01110: 数据文件 1: '/u01/oracle/oradata/orcl/system01.dbf'


SQL> show parameters log_parallelism;
SQL> show parameter log
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
audit_syslog_level                   string
commit_logging                       string
db_create_online_log_dest_1          string
db_create_online_log_dest_2          string
db_create_online_log_dest_3          string
db_create_online_log_dest_4          string
db_create_online_log_dest_5          string
enable_ddl_logging                   boolean     FALSE
log_archive_config                   string
log_archive_dest                     string
log_archive_dest_1                   string

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_10                  string
log_archive_dest_11                  string
log_archive_dest_12                  string
log_archive_dest_13                  string
log_archive_dest_14                  string
log_archive_dest_15                  string
log_archive_dest_16                  string
log_archive_dest_17                  string
log_archive_dest_18                  string
log_archive_dest_19                  string
log_archive_dest_2                   string

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_20                  string
log_archive_dest_21                  string
log_archive_dest_22                  string
log_archive_dest_23                  string
log_archive_dest_24                  string
log_archive_dest_25                  string
log_archive_dest_26                  string
log_archive_dest_27                  string
log_archive_dest_28                  string
log_archive_dest_29                  string
log_archive_dest_3                   string

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_30                  string
log_archive_dest_31                  string
log_archive_dest_4                   string
log_archive_dest_5                   string
log_archive_dest_6                   string
log_archive_dest_7                   string
log_archive_dest_8                   string
log_archive_dest_9                   string
log_archive_dest_state_1             string      enable
log_archive_dest_state_10            string      enable
log_archive_dest_state_11            string      enable

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_12            string      enable
log_archive_dest_state_13            string      enable
log_archive_dest_state_14            string      enable
log_archive_dest_state_15            string      enable
log_archive_dest_state_16            string      enable
log_archive_dest_state_17            string      enable
log_archive_dest_state_18            string      enable
log_archive_dest_state_19            string      enable
log_archive_dest_state_2             string      enable
log_archive_dest_state_20            string      enable
log_archive_dest_state_21            string      enable

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_22            string      enable
log_archive_dest_state_23            string      enable
log_archive_dest_state_24            string      enable
log_archive_dest_state_25            string      enable
log_archive_dest_state_26            string      enable
log_archive_dest_state_27            string      enable
log_archive_dest_state_28            string      enable
log_archive_dest_state_29            string      enable
log_archive_dest_state_3             string      enable
log_archive_dest_state_30            string      enable
log_archive_dest_state_31            string      enable

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_4             string      enable
log_archive_dest_state_5             string      enable
log_archive_dest_state_6             string      enable
log_archive_dest_state_7             string      enable
log_archive_dest_state_8             string      enable
log_archive_dest_state_9             string      enable
log_archive_duplex_dest              string
log_archive_format                   string      %t_%s_%r.dbf
log_archive_local_first              boolean     TRUE
log_archive_max_processes            integer     4
log_archive_min_succeed_dest         integer     1

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_start                    boolean     FALSE
log_archive_trace                    integer     0
log_buffer                           integer     179699712
log_checkpoint_interval              integer     0
log_checkpoint_timeout               integer     1800
log_checkpoints_to_alert             boolean     FALSE
log_file_name_convert                string
remote_login_passwordfile            string      EXCLUSIVE
sec_case_sensitive_logon             boolean     TRUE
sec_max_failed_login_attempts        integer     10
SQL> show parameters recovery_parallelism

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
recovery_parallelism                 integer     0
SQL> show parameters log_p
SQL> show parameters parall

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
fast_start_parallel_rollback         string      LOW
parallel_adaptive_multi_user         boolean     TRUE
parallel_automatic_tuning            boolean     FALSE
parallel_degree_limit                string      CPU
parallel_degree_policy               string      MANUAL
parallel_execution_message_size      integer     16384
parallel_force_local                 boolean     FALSE
parallel_instance_group              string
parallel_io_cap_enabled              boolean     FALSE
parallel_max_servers                 integer     80
parallel_min_percent                 integer     0

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
parallel_min_servers                 integer     0
parallel_min_time_threshold          string      AUTO
parallel_server                      boolean     FALSE
parallel_server_instances            integer     1
parallel_servers_target              integer     32
parallel_threads_per_cpu             integer     2
recovery_parallelism                 integer     0

SQL> shutdown immediate;
ORA-01109: 数据库未打开


已经卸载数据库。
ORACLE 例程已经关闭。
SQL> @sp.sql                                   --重建控制文件
ORACLE 例程已经启动。

Total System Global Area 1.9314E+10 bytes
Fixed Size                  2156256 bytes
Variable Size            8187287840 bytes
Database Buffers         1.0939E+10 bytes
Redo Buffers              185450496 bytes

控制文件已创建。


PL/SQL 过程已成功完成。


PL/SQL 过程已成功完成。


PL/SQL 过程已成功完成。


PL/SQL 过程已成功完成。

ORA-00279: ?? 5965899154943 (? 05/23/2010 06:57:59 ??) ???? 1 ????
ORA-00289: ??: /u01/db_recovery/ORCL/archivelog/2010_05_23/o1_mf_1_3313_%u_.arc
ORA-00280: ?? 5965899154943 (???? 1) ??? #3313 ?


ORA-00308: ???????????????? '--'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? '--'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? '--'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? '--'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


ORA-00308: ???????????????? 'ALTER'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


指定日志: {=suggested | filename | AUTO | CANCEL}
redo01.log  
ORA-00308: ???????????????? 'redo01.log'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


指定日志: {=suggested | filename | AUTO | CANCEL}
filename
ORA-00308: ???????????????? 'filename'
ORA-27037: ????????????????
SVR4 Error: 2: No such file or directory
Additional information: 3


指定日志: {=suggested | filename | AUTO | CANCEL}
/u01/redolog/redo01.log
已应用的日志。
完成介质恢复。
SQL> select status from v$instance;

STATUS
------------
MOUNTED

SQL>  alter database open;
 alter database open
*
第 1 行出现错误:
ORA-01589: ??????????? RESETLOGS ? NORESETLOGS ??


SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: ??????????? RESETLOGS ? NORESETLOGS ??


SQL> alter database open noresetlogs;
alter database open noresetlogs
*
第 1 行出现错误:
ORA-01588: ??????????? RESETLOGS ??

--为了防止出错,进行了半天的冷备份

 SQL> alter database open RESETLOGS;

数据库已更改。

SQL> select status from v$instance;

STATUS
------------
OPEN

SQL> exit

注意:

如果一点log都不丢,就可以直接open了
这个CASE的情况是控制文件比数据文件新.(需要重建控制文件)
控制文件比数据文件旧时, 用using backup controlfile.

如果recover database的时候,提示完成 ”完成介质恢复“;

就可以直接使用open  resetlogs开库;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8183550/viewspace-663716/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8183550/viewspace-663716/

你可能感兴趣的:(数据库)