ORA-03113: end-of-file on communication channel

人生就是這麼充滿意外: 
[oracle@localhost trace]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.4.0 Production on Sat Dec 5 18:49:02 2015

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

idle> conn /as sysdba; 
Connected to an idle instance. 
idle> startup 
ORACLE instance started.

Total System Global Area 801701888 bytes 
Fixed Size 2257520 bytes 
Variable Size 318770576 bytes 
Database Buffers 478150656 bytes 
Redo Buffers 2523136 bytes 
Database mounted. 
ORA-03113: end-of-file on communication channel 
Process ID: 2992 
Session ID: 1 Serial number: 5

查詢日誌:/s01/app/oracle/diag/rdbms/jgbs/jgbs/trace/alert_jgbs.log

Errors in file /s01/app/oracle/diag/rdbms/jgbs/jgbs/trace/jgbs_arc1_2873.trc: 
ORA-19815: 警告: db_recovery_file_dest_size 字節 (共 21474836480 字節) 已使用 100.00%, 尚有 0 字節可用。

You have following choices to free up space from recovery area: 
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard, 
then consider changing RMAN ARCHIVELOG DELETION POLICY. 
2. Back up files to tertiary device such as tape using RMAN 
BACKUP RECOVERY AREA command. 
3. Add disk space and increase db_recovery_file_dest_size parameter to 
reflect the new space. 
4. Delete unnecessary files using RMAN DELETE command. If an operating 
system command was used to delete files, then use RMAN CROSSCHECK and 
DELETE EXPIRED commands.

ARCH: Error 19809 Creating archive log file to ‘/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_05/o1_mf_1_192_%u_.arc’ 
ARC1: Error 19809 Creating archive log file to ‘/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_05/o1_mf_1_193_%u_.arc’ 
ARCH: Archival stopped, error occurred. Will continue retrying 
ORACLE Instance jgbs - Archival Error 
ORA-16038: 日誌 1 sequence# 193 無法歸檔 
ORA-19809: 超出了恢復文件數的限制 
ORA-00312: 聯機日誌 1 線程 1: ‘/s01/app/oracle/oradata/jgbs/redo01.log’ 
Errors in file /s01/app/oracle/diag/rdbms/jgbs/jgbs/trace/jgbs_ora_2869.trc: 
ORA-16038: log 3 sequence# 192 cannot be archived 
ORA-19809: limit exceeded for recovery files 
ORA-00312: online log 3 thread 1: ‘/s01/app/oracle/oradata/jgbs/redo03.log’ 
USER (ospid: 2869): terminating the instance due to error 16038 
System state dump requested by (instance=1, osid=2869), summary=[abnormal instance termination]. 
System State dumped to trace file /s01/app/oracle/diag/rdbms/jgbs/jgbs/trace/jgbs_diag_2835_20151205184322.trc 
Dumping diagnostic data in directory=[cdmp_20151205184322], requested by (instance=1, osid=2869), summary=[abnormal instance termination]. 
Instance terminated by USER, pid = 2869

我次奧,歸檔日誌滿了,刪了 
[oracle@localhost ~]$
cd /s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_01

[oracle@localhost 2015_12_01]$ rm *

[oracle@localhost fast_recovery_area]$rman target/

Recovery Manager: Release 11.2.0.4.0 - Production on Sat Dec 5 18:56:45 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database (not started)

idle> startup mount 
ORACLE instance started.

Total System Global Area 801701888 bytes 
Fixed Size 2257520 bytes 
Variable Size 318770576 bytes 
Database Buffers 478150656 bytes 
Redo Buffers 2523136 bytes 
Database mounted.

[oracle@localhost fast_recovery_area]$ rman target/

Recovery Manager: Release 11.2.0.4.0 - Production on Sat Dec 5 18:59:06 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: JGBS (DBID=996931965, not open)

RMAN> delete expired archivelog all;

using target database control file instead of recovery catalog 
allocated channel: ORA_DISK_1 
channel ORA_DISK_1: SID=20 device type=DISK 
specification does not match any archived log in the repository 
我次奧,人生就是這麼充滿意外。

RMAN> crosscheck archivelog all;

released channel: ORA_DISK_1 
allocated channel: ORA_DISK_1 
channel ORA_DISK_1: SID=20 device type=DISK 
validation failed for archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_173_c5ygd4yr_.arc RECID=168 STAMP=897446041 
validation failed for archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_174_c5ygfk40_.arc RECID=169 STAMP=897446091 
validation failed for archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_175_c5yggzv4_.arc RECID=170 STAMP=897446140 
…… 
Crosschecked 46 objects

RMAN> delete expired archivelog all;

released channel: ORA_DISK_1 
allocated channel: ORA_DISK_1 
channel ORA_DISK_1: SID=20 device type=DISK 
List of Archived Log Copies for database with db_unique_name JGBS

Key Thrd Seq S Low Time 

141 1 146 X 24-NOV-15 

Name: /s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_11_27/o1_mf_1_146_c5jhzb56_.arc

143 1 148 X 01-DEC-15 
Name: /s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_148_c5y858ls_.arc

144 1 149 X 03-DEC-15 
Name: /s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_149_c5yb7jtq_.arc

Do you really want to delete the above objects (enter YES or NO)? y 
deleted archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_11_27/o1_mf_1_146_c5jhzb56_.arc RECID=141 STAMP=896902523 
deleted archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_148_c5y858ls_.arc RECID=143 STAMP=897439665 
deleted archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_03/o1_mf_1_149_c5yb7jtq_.arc RECID=144 STAMP=897441794 
…… 
Deleted 45 EXPIRED objects

RMAN> crosscheck archivelog all;

released channel: ORA_DISK_1 
allocated channel: ORA_DISK_1 
channel ORA_DISK_1: SID=20 device type=DISK 
validation succeeded for archived log 
archived log file name=/s01/app/oracle/fast_recovery_area/JGBS/archivelog/2015_12_01/o1_mf_1_147_c5srot12_.arc RECID=142 STAMP=897292734 
Crosschecked 1 objects

RMAN>

idle> alter database open;
Database altered.

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