1.今天打开数据时,失败,报错

ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 3880
Session ID: 125 Serial number: 3

2.想看下数据库的状态,发现提示:not connected to ORACLE
SYS@EMREP> select status,instance_name from v$instance;
ERROR:
ORA-03114: not connected to ORACLE

3.排查错误,使用Oracle三部启动法:

startup nomount;(如果起来,说明参数文件没问题)

alter database mount;(如果起来,说明控制文件没问题)

alter database open;(报错了,需要查看具体的报错,通过aler日志查看)

> show parameter background_dump (查看alert日志所在位置)

4.进入alert日志,查看详细报错

cd /u01/app/oracle/diag/rdbms/emrep/EMREP/trace    (到alert日志所在的目录下)

tail -100f alert_EMREP.log   (查看详细报错日志,如下:)

Errors in file /u01/app/oracle/diag/rdbms/emrep/EMREP/trace/EMREP_ora_3823.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 100.00% used, and has 0 remaining bytes available.
************************************************************************
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 '/u01/app/oracle/EMREP/archivelog/2018_11_24/o1_mf_1_21_%u_.arc'
ARC2: Error 19809 Creating archive log file to '/u01/app/oracle/EMREP/archivelog/2018_11_24/o1_mf_1_22_%u_.arc'
Errors in file /u01/app/oracle/diag/rdbms/emrep/EMREP/trace/EMREP_ora_3823.trc:
ORA-16038: log 3 sequence# 21 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/EMREP/redo03.log'
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/EMREP/redo06.log'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance EMREP - Archival Error
ORA-16038: log 1 sequence# 22 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/EMREP/redo01.log'
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/EMREP/redo04.log'
USER (ospid: 3823): terminating the instance due to error 16038
System state dump requested by (instance=1, osid=3823), summary=[abnormal instance termination].
System State dumped to trace file /u01/app/oracle/diag/rdbms/emrep/EMREP/trace/EMREP_diag_3791_20181124081720.trc
Dumping diagnostic data in directory=[cdmp_20181124081720], requested by (instance=1, osid=3823), summary=[abnormal instance termination].

根据日志,可以看出,是因为归档空间满了,而且给出了解决办法:

1) Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
  then consider changing RMAN ARCHIVELOG DELETION POLICY.  (将备份策略改为基于冗余数量的备份策略)

如:RMAN> configure retention policy to redundancy 5;

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.(增加db_recovery_file_dest_size的大小)

SQL> alter system set db_recovery_file_dest_size=2000M;

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.   手动删除不需要的归档日志文件 (删除 3 天以前的日志记录)

rman> delete archivelog all completed before 'sysdate - 3'

以上任意一种方法都可以,执行完毕,直接:alter database open 即可。

open数据库报错ERROR at line 1: ORA-03113: end-of-file on communication channel Process ID: 3880 Session ID: 125 Serial number: 3的更多相关文章

  1. Zabbix导入MySQL数据库报错ERROR 1046 (3D000) at line 1: No database selected

    使用如下命令导入Zabbix数据库时报错 解决办法: 1.先把原始的数据库压缩包备份 cd /usr/share/doc/zabbix-server-mysql-4.0.7/ cp create.sq ...

  2. SVG报错error on line 39 at column 26: Namespace prefix xlink for href on script is not defined

    转自:http://stackoverflow.com/questions/3561270/error-on-line-39-at-column-26-namespace-prefix-xlink-f ...

  3. git切换分支报错:error: pathspec 'origin/XXX' did not match any file(s) known to git

    项目上有一个分支test,使用git branch -a看不到该远程分支,直接使用命令git checkout test报错如下: error: pathspec 'origin/test' did ...

  4. Dbvisual连接远程数据库报错Error Code: 17401

    Long Message:违反协议 Details:   Type: java.sql.SQLException   Error Code: 17401   SQL State: null 现象: 本 ...

  5. windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help

    windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help 在windows8操作系统上安装 ...

  6. 【IntellJ IDEA】idea启动测试类报错Error running 'Test1.test': Command line is too long. Shorten command line for Test1.test or also for JUnit default configuration.

    idea启动测试类报错 Error running 'Test1.test': Command line is too long. Shorten command line for Test1.tes ...

  7. Hive 报错 Error while compiling statement: FAILED: ParseException line 1:0 character '' not supported here (state=42000,code=40000)

    Hive报错 Error while compiling statement: FAILED: ParseException line 1:0 character '' not supported h ...

  8. 运行springboot项目报错 Error running 'ResourceApplication': Command line is too long. Shorten comma

    方法1 IDEA 运行报错:Error running '***': Command line is too long 技术标签: IDEA     Error running 'Test': Com ...

  9. MySQL报错ERROR 1558 (HY000): Column count of mysql.user is wrong.

    MySQL报错ERROR 1558 (HY000): Column count of mysql.user is wrong. 1.今天在使用MySQL创建数据库时出现如下报错: mysql> ...

随机推荐

  1. IT培训软件测试怎么样,问问“过来人”!

    经常看到有人在网上发帖子问:"XX培训(IT培训机构)怎么样,学过的老哥可以出来讲讲真话吗?"问这种问题的同学,来,站起来!我不得不在这儿说你两句:你要想知道一家IT培训机构到底怎 ...

  2. Journey to the future begins

    当提交申请的那一刻,我就更加确认了自己想要走的路,慢慢一路向上,追求自己想要的生活! 2021.5.18 wzb

  3. 透过“锁”事看InnoDB对并发的处理?

    一. 并发场景下的问题 相对于串行处理方式,并发的事务处理可显著提升数据库的事务吞吐量.提高资源利用率.在MySQL实际应用中,根据场景的不同,可以分为以下几类: 读读并发 读写并发 写写并发 在这些 ...

  4. [bug] CDH 安装 哈希验证失败

    分析 验证 parcel 文件的哈希值 和 sha 文件不一致:文件损坏,重新下载 和 sha 官网一致:配置httpd文件 参考 哈希值和官网不一致 https://blog.csdn.net/lv ...

  5. useradd linux系统创建用户和设置密码简单脚本-1

    useradd linux系统创建用户和设置密码简单脚本-1 linux_wangqiang 2019-12-04 20:51:18 65 收藏展开#!/bin/bash#快速创建用户 使用$1第一个 ...

  6. Linux利用nc命令脚本批量检测服务器指定端口是否开放

    一.nc命令检测端口的用法 # nc -v -w 10 %IP% -z %PORT% -v 显示指令执行过程. -w <超时秒数> 设置等待连线的时间. -u 表示使用UDP协议 -z 使 ...

  7. 附: Python爬虫 数据库保存数据

    原文 1.笔记 #-*- codeing = utf-8 -*- #@Time : 2020/7/15 22:49 #@Author : HUGBOY #@File : hello_sqlite3.p ...

  8. 9.1 ps:查看进程

    ps命令 用于列出执行ps命令的那个时刻的进程快照,就像用手机给进程照了一张照片.如果想要动态地显示进程的信息,就需要使用top命令,该命令类似于把手机切换成录像模式.因为ps命令的功能实在是太多了, ...

  9. 20192113 2020-2021-2 《Python程序设计》实验二报告

    20192113 2020-2021-2 <Python程序设计>实验二报告 课程:<Python程序设计> 班级: 1921 姓名: 衣丽莎 学号:20192113 实验教师 ...

  10. Elasticsearch分页查询

    global index global CLIENT index = "guajibao-ipused-2019.10.13" CLIENT = Elasticsearch(hos ...