ora-3113 end-of-file on communication channel

今天有人在 pub 上提出一个问问题,就是 一天之内,多次断电后,数据库就出现了:ora-3113 end-of-file on communication channel 的错误。这个错误,metalink 上有一个 troubleshooting 比较全面地介绍和解决了这个错误。

看了下这个错误,基本上是由于 客户端不能连接上 服务端的进程造成的。也就是,连接问题。所以,大多不用担心。

Metalink 上的文档:

 

DIAGNOSING ORA-3113 ERRORS [ID 1020463.6]

 

Modified 21-OCT-2010     Type BULLETIN     Status PUBLISHED

 

Applies to:

Oracle Server - Personal Edition
Oracle Server - Enterprise Edition
Oracle Server - Standard Edition
Information in this document applies to any platform.
*** Checked for relevance on 05-Feb-2007 ***
*** Checked for relevance on 27-Jul-2010 ***

Purpose

The ORA-3113 error is a general error reported by Oracle client tools,
which signifies that they cannot communicate with the oracle shadow
process. As it is such a general error more information must be collected
to help determine what has happened.

This short article describes what information to collect for an
ORA-3113 error when the Oracle server is on a Unix platform.

Scope and Application

This article is intended for DBAs at all levels of experience.

DIAGNOSING ORA-3113 ERRORS

General Issues:
===============
1) Is it only one tool that encounters the error or do you get an ORA-3113 from any tool doing a similar operation?  If the problem reproduces in SQL*Plus use this in all tests below.

2) Check if the problem is just restricted to:
     [ ] One particular UNIX user,
     [ ] Any UNIX user
 or [ ] Any UNIX user EXCEPT as the Oracle user.

3) Check if the problem is just restricted to:
     [ ] One particular ORACLE logon
 or [ ] Any ORACLE logon that has access to the relevant tables.

4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
or [ ] Just one group of clients ?

If so what do these clients have in common ?
Eg: Software release .

5) Do you have a second server or database version where the same operation works correctly?

Connecting to Oracle
================

If the ORA-3113 error occurs when actually connecting to Oracle then follow the section below. If you connect to Oracle successfully and get the error on an established connection, please go to the section 'An Established Connection'.

Local Connections
==============

For local connections check the following:

1) Try using the SQL*Net driver for local connections:

setenv TWO_TASK P:

Then try the client tool. If this now works you may have a problem with the default SQL*Net driver.

2) Your 'oracle' executable may be corrupt. Relink it as follows:

For 7.3.X thru 8.1.7

Log in as the 'oracle' user.
% script. /tmp/relink.out
% cd $ORACLE_HOME/rdbms/lib
% rm -f oracle
% make -f oracle.mk ioracle
% exit

For 9.2.X thru 11.2.X use the relink executable
relink
usage:
relink
parameters: all, oracle, network,
client, client_sharedlib interMedia,
ctx, precomp, utilities, oemagent, ldap

If this reports any errors Oracle support will need to see the contents of the file /tmp/relink.out .

3) If you cannot connect as the Oracle user AND your system has system call tracing such as truss, trace the problem connection when logged in as 'oracle' (using the relevant client tool). The example given below is for truss:

% truss -o /tmp/truss.out -f sqlplus user/password

Keep the file /tmp/truss.out safe - Oracle MAY need to see it.

Remote Connections
================

For remote connections check the following:

1) Check if you can make LOCAL connections. If not then follow the steps above for LOCAL connection problems.

2) If you have truss or an equivalent tracing tool available try to trace the Oracle connection. You will normally need the root privilege to do this and should trace the listener process.

Eg: For TCP/IP the listener is 'tnslsnr' so enter these commands as 'root':

% truss -o /tmp/truss.out -f -eall -p

Attempt the connection to reproduce the ORA-3113 then interrupt this 'truss' session.

An Established Connection:

===================

If the ORA-3113 error occurs AFTER you have connected to Oracle, then it is most likely that the oracle executable has terminated unexpectedly.

1) Determine which database you were connected to and obtain the following init.ora parameter values:

Parameter                                               Default

USER_DUMP_DEST                            $ORACLE_HOME/rdbms/log
BACKGROUND_DUMP_DEST          $ORACLE_HOME/rdbms/log
CORE_DUMP_DEST                           $ORACLE_HOME/dbs

To find these log into SQL*Plus:

SQL> show parameter dump

2) Check your alert_.log for errors coinciding with the ORA-3113.

3) Check in your 'USER_DUMP_DEST' for any Oracle trace file. It is important to find the correct trace file. Use the command 'ls -ltr' to list files in time order with the latest trace files appearing LAST. If you are not sure which trace file may be relevant, move all the current trace files to a different directory and reproduce the problem. The trace file will typically be of the form. 'ora_.trc'. If there is an error in the alert.log the relevant trace file name will be referenced.

4) If there is no trace file check for a core dump in the CORE_DUMP_DEST. Check as follows:

% cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
% ls -l core*

If there is a file called core, check that its time matches the time of the problem. If there are directories called 'core_' check for core files in each of these. It is IMPORTANT to get the correct core file. Now obtain a stack trace from this core file using Note 1812.1 'TECH: Getting a Stack Trace from a CORE file'
5) Try to isolate the SQL command that is executing when the error occurs. Eg: Is it a particular SQL statement or PL/SQL block that causes the error? To help establish this turn on SQL_TRACE for the client tool.

Eg: Product     Action
~~~~~~~       ~~~~~~
SQL*Plus       Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
Pro*               EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;

This should force a server side SQL trace file as detailed in #3 above. The trace file should give a clue as to what SQL was being executed.

6) Try to obtain any SQL*Net trace to show what the latest operation sent to the Oracle process was (Note 16564.1 'TECH: SQL*Net V2 on Unix - A Quick Guide to Setting Up Client Side Tracing')

7) Based on information collected above try to create a small test case which will reproduce the problem. This is important for two reasons:

a) It allows Oracle to test in a debug environment if the problem does not look like a known problem.
b) It gives you a simple way to check if any patch supplied will fix the problem.

窗体底端

 

 

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

转载于:http://blog.itpub.net/14730395/viewspace-682811/

私有云平台搭建——OpenStack 私有云平台搭建——OpenStack 搭建过程 阅读详情

相关推荐

Qoder CN 完全指南:阿里云AI智能体的全景拆解

阿里云旗下AI编程助手"通义灵码"于2026年5月20日升级为QoderCN,转型为覆盖软件开发与办公场景的AI智能体产品矩阵。该平台具备四大核心能力:代码补全、智能问答、文件编辑和智能体模式,支持GLM、DeepSeek等多模型切换。特色功能包括Quest2.0任务委派、专家团协作和记忆感知,满足金融、政务等行业的合规需求。产品形态涵盖IDE插件、CLI工具、办公助手和数字员工,形成"全家桶"式解决方案。相比Cursor等海外产品,QoderCN更注重全链路覆盖,个

几十年资深高级架构师,技术专家的技术笔记。专注C、Java、Python、微服务、云原生、AI工程化及高并发系统分布式架构实战,分享源码剖析、性能调优与架构治理经验。 933

在linux上IMP6GB数据时遭遇ORA-3113"经典错误"的解决办法参考文档

前言每一个DBA在进行数据库管理的过程中不可避免的要遇到形形色色的错误(ORA-1547 ,ORA-904,ORA-1578 ......)。有些错误由于频繁出现、原因复杂而被 Oracle DBA 们戏称之为"经典的错误"。其中ORA-3113 "end of file on communication channel" 就是这样的一个。 我们可以简单的把这个错误理解为Oracle客户端

爱莎可实验室 2903

FOC控制必看:单/双/三电阻电流采样方案全对比(附NXP实战避坑指南)

本文深入对比了FOC控制中单电阻、双电阻和三电阻电流采样方案的优劣与适用场景,重点剖析了采样时序、窗口与ADC转换的工程挑战。针对NXP平台,提供了解决采样窗口过窄的实战方案与配置指南,帮助工程师根据成本与性能需求做出最优选择,并规避常见设计陷阱。

n2o3p4的博客 412

oracle ora-3113可能是由于resource manager的限制

21:35:20 SQL> select count(*) from t_3 order by created; select count(*) from t_3 order by created * ERROR at line 1: ORA-03113: end-of-file on communication channel Process ID: 392578 Session ID: 1873 Serial numb

wgz7747147820的博客 526

使用python实现随机正态分布数据,并导出到表格(超详细)

最近需要大量的正态分布的数据,为了方便,使用python实现随机正态分布,画出理想正态分布图和实际的矩形分布,并导出到表格里面。以上就是今天要讲的内容,本文仅仅简单介绍了使用python随机生成正态分布的数据,画图,并导出。正态分布是机器学习中很常见的一种需求,往往需要大量的数据进行测试,此时,本文的方法就可以大大减少因数据而花费的时间啦!如有问题,欢迎评论区留言啊!

m0_53533553的博客 1万+

【纯干货分享】常用高速接口眼图模板合集

文章汇集了常见的高速接口的信号眼图测试模板技术要求,比如,LPDDR5/4、PCIe 5.0/4.0、USB、MIPI等等,方便工程师快速进行查询和使用。

一只豌豆象的博客 3116

ORA-3113

ORA-3113错误就是说连接到数据库的网络中断了。就我的经验来说,出现这个问题的地 方可能有两个。第一,客户机和数据库之间的网络中断了。第二,数据库中的bug 造成了 会话的中断并且客户认为网络错误就造成上述问题的主要原因   有些错误由于频繁出现、原因复杂而被 Oracle DBA 们戏称之为"经典的错误"。其中 ORA-3113 "end of file

njyxfw的专栏 2357

【AI工具】Browser use搭建及使用的保姆级教程:让AI帮你自动操作浏览器

【AI工具】Browser use搭建及使用的保姆级教程:让AI帮你自动操作浏览器

funfan的博客 2535

oracle 报错3113,内存不足导致安装时报错ORA-3113(一)

安装RAC数据库时报错ORA-3113。检查dbca对应的信息:bash-3.00$ cd/data/oracle/cfgtoollogs/dbca/testrac/bash-3.00$ more CreateDB.logORA-27102: out of memorySVR4 Error: 12: Not enough spaceORA-03113:通信通道的文件结尾这其实是两次安装错误的汇总,...

weixin_30877775的博客 2609

Unity大世界流式加载:工业级架构与优化秘籍

游戏大厂Unity大世界流式加载框架全景解析:从《原神》《和平精英》等标杆案例出发,深入剖析工业级流式加载的完整技术架构。文章系统介绍了大世界分区块管理、异步加载机制、资源优化策略、多平台适配方案,以及业务联动与团队协作流程。重点阐述了Addressable与AssetBundle应用、空间触发器设计、性能自适应等核心技术,并展望AI预测加载、云游戏等未来方向。全面展现了大厂如何通过流式加载技术实现无缝开放世界体验的技术路径与实践经验。

本博客聚焦游戏开发技巧、创业实战心得及大学热门课程干货。这里既有技术深度,也有思维广度,无论你是开发者、创业者还是高校学子,都能在这里找到适合自己的成长之路! 607

购物车智能检测系统:YOLO26 + PyQt5 毕设实现

YOLO26 + PyQt5 完成购物车商品检测系统:标注数据集(OpenImages 筛选 + 自制 500 张),训练 100 epoch 得到 mAP50 约 0.89,集成商品定价后输出总价。建议先用 OpenImages 预训练权重在自制数据上调优(冻住 backbone 前 50 epoch),等 loss 稳定后再解冻全量训练。

m0_64661770的博客 56

【故障处理】ORA-3113 "end of file on communication channel"

【故障处理】ORA-3113 "end of file on communication channel" 朋友数据库报错: ORA-3...

小麦苗DBA宝典 1368

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

IMP-00003: ORACLE error 3113 encountered ORA-03113: end-of-file on communication channel

IMP-00003: ORACLE error 3113 encountered ORA-03113: end-of-file on communication channel . . importing table "SFP_FILE_6" 11179rows imported IMP-00017: following ...

weixin_33748818的博客 963

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

SQL报错:ORA-03113: end-of-file on communication channel-3113

SQL报错:ORA-03113: end-of-file on communication channel-3113 1. 可能是oracle归档文件太大了, 2  正在执行这个SQL的应用可能断掉了

skeven1688的专栏 838

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

ORA-03113

ORA-3113 "end of file on communication channel" 今天用PL/SQL Developer 登陆数据库的时候报的此错误 ----------------------------------------------------------------------------------------------------------------------

Joyce 890

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

今天单独启动了Data Guard的primary 数据库,出现了这个错误:ORA-03113: end-of-file on communication channel [oracle@vmoel5u4 ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1....

weixin_30888027的博客 98

Oracle错误ORA-03113: end-of-file on communication channel处理办法

Oracle错误ORA-03113: end-of-file on communication channel处理办法 机器遭遇断电,之后oracle就不能启动了,报错ORA-03113: end-of-file on communication channel (通信通道的文件结尾) SQL> startup ORACLE instance started. Total ...

cuker919的专栏 2522

ORA-03113错误分析与解决

ORA-03113错误分析与解决 作者:Fenng 日期:13-Oct-2004  出处:http://www.dbanotes.net 版本:0.04 ($$ 2003-05-22 v0.1 $$ 2003-12-17 v0.3$$) --------------------------------------------------------------------------------

塔山上的山 1074

ORA-03113: 通信通道的文件结束/ORA-03113: end-of-file on communication channel

ORA-03113错误就是说连接到数据库的网络中断了。就我的经验来说,出现这个问题的地方可能有两个。第一,客户机和数据库之间的网络中断了。第二,数据库中的bug 造成了会话的中断并且客户认为网络错误就造成上述问题的主要原因 ...

clp9519084的博客 5508

一次ORA-03113错误

SQL> shutdown abort;ORACLE instance shut down.SQL> select status from v$instance;select status from v$instan...

cuiwohuan5126的博客 129

执行SQL语句遇到3113错误

最近在一家客户那里做数据库健康检查,听用户说有条SQL语句执行时总是报3113错误,经METALINK诊断,确认是BUG 2475995[@more@]语句为:select case a.pk_corp when '1014' ...

cnos50350的博客 869

ORA-03113 end-of-file on communication channel

An ORA-03113 end-of-file on communication channel error is a very generic error that indicates that the connection...

cuiding8243的博客 386
上一篇: oprocd 故障
下一篇: ORA-29740:evicted by member %d, group incarnation %d
cuichenkai7892
博客等级 码龄11年 0粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值