0

0

ORACLE常见错误代码的分析与解决三

php中文网

php中文网

发布时间:2016-06-07 18:03:17

|

1140人浏览过

|

来源于php中文网

原创

ORACLE常见错误代码的分析与解决三

正在看的ORACLE教程是:ORACLE常见错误代码的分析与解决三。


--------------------------------------------------------------------------------

p align="JUSTIFY">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$#@62;.检查是否有服进程不正常死机,可从alert.log得知

2$#@62;.检查sql*Net Driver是否连接到ORACLE可执行程序

3$#@62;.检查服务器网络是否正常,如网络不通或不稳定等

4$#@62;.检查同一个网上是 辛礁鐾值慕诘?

5$#@62;.检查同一个网上是否有重复的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 retur

[1]

正在看的oracle教程是:oracle常见错误代码的分析与解决三。ned 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 table needs to be created or if user or application priviledes are required to access the table.

also, if attempting to access a table or view in another schema,make certain thecorrect schema is referenced and that access to the object is granted.


ora-01598:rollback segment “name” is not online

cause:the rollback segment was taken offline either manually or by smon.

action:check the status of the rollback segment in dba_rollback_segs.

ora-1636: rollback segment “name” is already online

cause:a rollback segment can only be used by one instance and an instance is trying to bring a rollback segment online that is already in use.

action:check that the values set in the initialization parameter file for parameters rollback_segments,rollback_segment_initial,and rollback_segment_count are correctly set for the instance whiththe problem,also check that the instance is using the correct initialization parameter file.make sure you are not confused about the difference between private and public rollback segments.see the oracle8 server administrator's guide for more information about using rollback segments in paraller mode.

上述错误均为我们在使用回滚段时比较常见的问题,ora-01598指明当前使用的回滚段的状态为“not online”,不能使用,将它改为“online”状态即可使用;ora-01636指明当前回滚段已经为“online”状态,可以直接使用,不用再集合它。

ora-1636 signalled during: alter rollback segment rb00 online

我们在做统计时还可能遇到下述问题:一个rollback segment的状态为”needs recovery”的现象,这是由于oracle回退一个事物表中的没有提交的事物时失败所造成的。通常原因为一个datafile或者tablespace是在offline的状态或者一个undo的目标被破坏或者rollback segment被破坏。解决的办法是将所有的tablespace和datafile都置为online状态,如果不能解决则做下面的工作:1$#@62;.在initsid.ora中加入event=”10015 trace name context forever lever 10”;2$#@62;.shutdown数据库然后重启;3$#@62;.在$oracle_home/rdbms/log下,找到startup时生成的trace file;4$#@62;.在trace文件中,找到下列信息“error recovery tx(#,#) object #”;5$#@62;.根据object#(与sys.dba_objects表中的object_id相同)在sys.dba_objects表中查出该object的名字;6$#@62;.将该object drop掉;7$#@62;.在init.ora文件中将该rollback segment放回rollback_segments参数中,删除event;8$#@62;.shutdown数据库然后重启。此时”needs recovery”的问题应该是完全解决了,否则就是rollback segment被破坏了。


ora-01688:unable to extend table name.name partition name by num in tablespace name

产生原因:指定的tablespace空间已经被占用满,无法扩展。

解决方法:使用“alter tablespace add datafile”命令增加文件系统文件和原始分区,或者增加initial的大小(如:alter tablespace cdrs101 de

[2]

正在看的ORACLE教程是:ORACLE常见错误代码的分析与解决三。fault storage(next 500M pctincrease 1))应该能够解决,否则就是有人使用你的表空间上创建了一个比较大的数据文件导致你的表空间不够用。

一个报错例子如下:

ORA-1688: unable to extend table RMMCDR.LOCAL_CDR partition LOCAL_CDR101 by 460800 in tablespace CDRS101

相应的英文如下:

Cause:An extent could not be allocated for a table segment in tablespace

Action:Use the ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the specified tablespace

--------------------------------------------------------------------------------

eSiteGroup站群管理系统1.0.4
eSiteGroup站群管理系统1.0.4

eSiteGroup站群管理系统是基于eFramework低代码开发平台构建,是一款高度灵活、可扩展的智能化站群管理解决方案,全面支持SQL Server、SQLite、MySQL、Oracle等主流数据库,适配企业级高并发、轻量级本地化、云端分布式等多种部署场景。通过可视化建模与模块化设计,系统可实现多站点的快速搭建、跨平台协同管理及数据智能分析,满足政府、企业、教育机构等组织对多站点统一管控的

下载

[3]

错误代码修复工具(综合错误类型修复工具)
错误代码修复工具(综合错误类型修复工具)

综合错误类型修复工具是一款跨平台全能修复工具,主要解决各种错误代码因为运行时错误,未指定错误,应用程序错误等导致的系统奔溃,软件无法运行、安装、启动和使用等问题。有需要的小伙伴快来下载使用吧!

下载

本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
Golang 并发编程模型与工程实践:从语言特性到系统性能
Golang 并发编程模型与工程实践:从语言特性到系统性能

本专题系统讲解 Golang 并发编程模型,从语言级特性出发,深入理解 goroutine、channel 与调度机制。结合工程实践,分析并发设计模式、性能瓶颈与资源控制策略,帮助将并发能力有效转化为稳定、可扩展的系统性能优势。

2

2026.02.27

Golang 高级特性与最佳实践:提升代码艺术
Golang 高级特性与最佳实践:提升代码艺术

本专题深入剖析 Golang 的高级特性与工程级最佳实践,涵盖并发模型、内存管理、接口设计与错误处理策略。通过真实场景与代码对比,引导从“可运行”走向“高质量”,帮助构建高性能、可扩展、易维护的优雅 Go 代码体系。

1

2026.02.27

Golang 测试与调试专题:确保代码可靠性
Golang 测试与调试专题:确保代码可靠性

本专题聚焦 Golang 的测试与调试体系,系统讲解单元测试、表驱动测试、基准测试与覆盖率分析方法,并深入剖析调试工具与常见问题定位思路。通过实践示例,引导建立可验证、可回归的工程习惯,从而持续提升代码可靠性与可维护性。

0

2026.02.27

漫蛙app官网链接入口
漫蛙app官网链接入口

漫蛙App官网提供多条稳定入口,包括 https://manwa.me、https

56

2026.02.27

deepseek在线提问
deepseek在线提问

本合集汇总了DeepSeek在线提问技巧与免登录使用入口,助你快速上手AI对话、写作、分析等功能。阅读专题下面的文章了解更多详细内容。

4

2026.02.27

AO3官网直接进入
AO3官网直接进入

AO3官网最新入口合集,汇总2026年可用官方及镜像链接,助你快速稳定访问Archive of Our Own平台。阅读专题下面的文章了解更多详细内容。

53

2026.02.27

php框架基础教程
php框架基础教程

本合集涵盖2026年最新PHP框架入门知识与基础教程,适合初学者快速掌握主流框架核心概念与使用方法。阅读专题下面的文章了解更多详细内容。

1

2026.02.27

php框架怎么用
php框架怎么用

本合集专为零基础学习者打造,系统介绍主流PHP框架的安装、配置与基础用法,助你快速入门Web开发。阅读专题下面的文章了解更多详细内容。

4

2026.02.27

无禁词AI聊天软件下载大全
无禁词AI聊天软件下载大全

本合集精选多款免费、无违禁词限制的AI聊天软件,支持自定义角色、剧情畅聊,体验真实互动感。阅读专题下面的文章了解更多详细内容。

19

2026.02.27

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号