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/

Python 爬虫实战:爬取哔哩哔哩知识区,抓取高赞课程信息 哔哩哔哩(Bilibili)是一个广受欢迎的综合性视频社区,其中的知识区汇聚了大量优质的教育、科普、技术等课程内容。本文将指导读者如何使用 Python 爬虫技术从哔哩哔哩知识区抓取高赞课程信息,并进行数据分析。本文深入探究了利用 Python 爬虫技术从哔哩哔哩知识区抓取高赞课程信息的全流程。从前期的环境搭建、模拟登录,到核心的课程数据抓取、存储,再到后续的数据分析与可视化,都详细展开讲解并提供代码支持。通过此方法所获取的数据,能够助力创作者优化内容、用户发现优质课程、平台洞察用户需求。 阅读详情

相关推荐

一生一芯 预学习阶段 NEMU代码学习(2)

如果 nemu_state.state == NEMU_ABORT:说明程序处于 "中止" 状态,输出 "ABORT",并且使用 ANSI_FG_RED 红色格式化显示。如果 halt_ret == 0,表示程序正常终止(触发了 "GOOD TRAP"),输出 "HIT GOOD TRAP",并使用 ANSI_FG_GREEN 绿色显示。如果要执行的指令数量 n 小于预定义的常量 MAX_INST_TO_PRINT,则将 g_print_step 置为 true,表示会逐步打印指令执行的过程。

weixin_45041054的博客 826

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

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

爱莎可实验室 2903

Geant4 案例分析(一): B1

本文是对Geant4 B1的案例分析,其中特定的功能不做介绍,而注重于各个文件的主要功能,以及它们组织的方式。

m0_51809467的博客 1582

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

自偏置电流镜设计实例

自偏置电流镜设计实例 一、概述 ​ 众所周知,电流镜属于模拟电路设计中的一个基本模块,可为其他模块提供偏置电流,例如在放大器中提供偏置电流以形成尾电流源并确定直流偏置点。本文将会介绍一种自偏置的电流镜,从原理出发,并以0.18um的工艺进行设计和仿真。 二、原理 ​ 如图一所示的电路,也称之为Beta-multiply reference电路,其中M2的尺寸是M1的k倍。M3复制M4的电流,M2和M1的漏极电流相同,但是VGS并不相等。其中 VGS=2IμnCoxW/...

aonuanjiang的博客 1万+

[Ethernet in CANoe]3--CANoe工程中SOME/IP报文的详细介绍(一)

和上述第一章节的介绍,我们对SOEMIP通信协议有了初步了解,首先我们先暂停Trace窗口,可以看到整个Trace窗口关于SOMEIP的报文有两种颜色,一种是紫色,另一种是绿色。它使用多播地址,允许服务提供者发布其服务,服务消费者订阅这些服务。上述每点开一个SOMEIP报文,左侧的details就能看到该报文中的具体细节,从IP地址到port口,再到具体的serviceID,都能详细的解析。一旦通过服务发现完成了服务的发布和订阅,服务消费者就可以向服务提供者发送请求,或者服务提供者向消费者发送事件通知。

汽车ECU自动化测试 1411

ORA-3113

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

njyxfw的专栏 2357

浅谈车联网概述-1

车联网技术目前在车企中应用广泛,车联网通过车载传感器、无线通信等技术,能够将车辆上百的传感器数据上传至云端,当前智能网联车辆可以理解为一个“大号”手机。

Hello, World! 新能源汽车智能网联工程师,分享日常工作思考。 559

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

PHP+MYSQL宠物主题动态网页设计源码+数据库,大学生期末大作业,PHP课程设计

PHP+MYSQL宠物主题动态网页设计源码+数据库,大学生期末大作业,PHP课程设计提示:本文采用PHP对数据库进行操作:本文就介绍了PHP实现对MySQL数据库的增删改查操作基础内容。

900

Ubuntu20.04下Docker无缝升级实战指南

本文提供了一份在Ubuntu20.04系统上安全、无缝升级Docker的实战指南。文章详细阐述了升级前的版本检查、数据备份等准备工作,逐步演示了通过APT包管理器进行升级或指定版本安装的操作步骤,并强调了升级后的验证与常见问题回滚方案,确保业务容器平稳过渡。

postgres8guard的博客 478

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

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

小麦苗DBA宝典 1368

OpenCV轮廓匹配实战:5分钟搞定Hu矩形状识别(附完整代码)

本文详细介绍了使用OpenCV进行轮廓匹配的实战技术,重点讲解了Hu矩形状识别在工业质检等领域的应用。通过完整的代码示例和参数调优技巧,帮助开发者在5分钟内实现高效的形状识别,提升工业检测的准确性和效率。

nnn11的博客 675

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

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

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

VC中sqlite的使用

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

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、付费专栏及课程。

余额充值