日期:2013-08-15  浏览次数:20536 次


ORACLE常见错误代码的分析与处理(三)

 

 

文章源自于  世纪易网  

ORA-00600:internal error code,arguments:[num],[?],[?],[?],[?]

 

产生缘由:这种错误通常为ORACLE的内部错误,只对OSS和ORACLE开发有用。ORA-600的错误经常伴随跟踪文件的形状转储

(系统形状和进程形状),系统形状存储将包括ORACLE RDBMS持有的当前对象的信息,进程形状转储则将显示特殊进程持

有的对象,当进程符合了某错误条件时,经常是由于一些信息取自它持有的一个块,如果我们知道这些错误进程持有的

块,就容易跟踪问题的来源。

 

处理方法:普通来说出现这个错误我们本身是无法处理的,只要从提高系统本身各方面来处理这个内部问题,如添加硬件

设备,调整系统功用,使用OPS(当然OPS从某种意义上说并不是一种好的处理方式)等。ORA-600错误的第一个变量用于标

记代码中错误的位置(代码中的每个部分的第一变量都不一样),从第二个到第五个变量显示附加信息,通知OSS代码在哪

里出现了错误。

 

一个报错例子如下:

 

ORA-00600: internal error code, arguments: [1237], [], [], [], [], [], [], []

 

相应的英文如下:

 

Cause:This is a catchall internal error message for Oracle program exceptions.It indicates that a process

has met a low-level,unexpected condition.Various causes of this message include:

 

Time-outs(超时)

 

File corruption(文件太老)

 

Failed data checks in memory(内存检索失败)

 

Hardware,memory,or I/O errors(硬件、内存或者磁盘错误)

 

Incorrectly restored files(错误的重建文件)

 

 

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

 

产生缘由:通讯不正常结束,从而导致通讯通道终止

 

处理方法:1>.检查能否有服进程不正常死机,可从alert.log得知

 

2>.检查sql*Net Driver能否连接到ORACLE可执行程序

 

3>.检查服务器网络能否正常,如网络不通或不稳定等

 

4>.检查同一个网上能否有两个同样名字的节点

 

5>.检查同一个网上能否有反复的IP地址

 

相应的英文如下:

 

Cause:An unexpected end-of-file was processed on the communication channel.The problem could not be

handled by the Net8,two task,software.This message could occur if the shadow two-task process associated

with a Net8 connect has terminated abnormally,or if there is a physical failure of the interprocess

communication vehicle,that is,the network or server machine went down.

 

Action:If this message occurs during a commection attempt,check the setup files for the appropriate Net8

driver and confirm Net8 software is correctly installed on the server.If the message occurs after a

connection is well established,and the error is not due to a physical failure,check if a trace file was

generated on the server at failure time.Existence of a trace file may suggest an Oracle internal error

that requires the assistance of customer support.

 

 

ORA-00942:table or view does not exist

 

产生缘由:这是由于装载的表或视图不存在,多半是CATEXP.SQL还没有运转,无法执行Export视图,如果CATEXP.SQL曾经运

行,则可能是版本错误。

 

处理方法:由于Import和Export共享的一些视图是通过运转CATEXP.SQL来装载的(它们具有相反的视图),并不生成单独

的CATEXP.SQL,因此形成视图与Export代码不同步,较难保持彼此之间的兼容,用户就必须建立本人的Export使用,从而

避免ORA-00942的错误。

 

相应的英文如下:

 

Cause:The table or view entered does not exist,a synonym that is jnot allowed here was used,or a view was

referenced where a table is required.Existing user tables and views can be listed by querying the data

dictionary.Certain privileges may required to access the table.If an application returned this message,the

table the application tried to access does not exist in the database,or the application does not have

access to it.

 

Action:Check each of the following:

 

The spelling of the table or view name.

 

That a view is not specified where a table is required

 

That an existing table or view name exists.

 

Contact the database administrator if the ta