当前位置:  数据库>oracle

Oracle错误号大全(查询ora错误号以及解决方法技巧)

    来源: 互联网  发布时间:2017-04-07

    本文导语: Oracle 查询ora错误号以及解决方法技巧 racle 错误号以及解决方法技巧 经常有朋友问我ORACLE 类似ora-00109 错误的信息,其实我们的ORACLE系统本身已经为我们详细的说明了各种的错误信息,一般的ORA错误号都在里面,而且给出了相应...

Oracle 查询ora错误号以及解决方法技巧 racle 错误号以及解决方法技巧 经常有朋友问我ORACLE 类似ora-00109 错误的信息,其实我们的ORACLE系统本身已经为我们详细的说明了各种的错误信息,一般的ORA错误号都在里面,而且给出了相应的解决方法。

在UNIX 系统下只要执行这个命令就可以列出错误原因以及解决方法了。

例如ora-00109错误,只要这样
 [oracle@mail oracle]$ oerr ora 109
01090, 00000, "shutdown in progress - connection is not permitted"
// *Cause:  The SHUTDOWN command was used to shut down a running
//         ORACLE instance, so you cannot connect to ORACLE.
// *Action: Wait for the instance to be restarted, or contact your DBA.
01091, 00000, "failure during startup force"
// *Cause:  Unable to destroy the old SGA.
// *Action: Manually remove the old SGA and reissue the STARTUP command
01092, 00000, "ORACLE instance terminated. Disconnection forced"
// *Cause:  The instance this process was connected to was terminated
//          abnormally, probably via a shutdown abort. This process
//          was forced to disconnect from the instance.
// *Action: Examine the alert log for more details. When the instance has been
//          restarted, retry action.
01093, 00000, "ALTER DATABASE CLOSE only permitted with no sessions connected"
// *Cause:  There is at least one more session other than the current one
//         logged into the instance.  ALTER DATABASE CLOSE is not permitted.
// *Action: Find the other sessions and log them out and resubmit the command
01094, 00000, "ALTER DATABASE CLOSE in progress. Connections not permitted"
// *Cause:
// *Action:
01095, 00000, "DML statement processed zero rows"
// *Cause:  During a call to OTEX, an update, delete, or insert statement
//          being executed processed zero rows.  The execution
//          of statements by OTEX was halted at this point.
// *Action:
01096, 00000, "program version (%s) incompatible with instance (%s)"
// MERGE: 1095 RENUMBERED TO 1096
// *Cause: A program is trying to connect to an instance using a different
//         version of code than the database was started with.  This is
//         not allowed.
// *Action: Either relink the program with the same version as the database or
//          restart the database using the old version of code.
01097, 00000, "cannot shutdown while in a transaction - commit or rollback first                                              "
// *Cause:  Obvious
// *Action:
01098, 00000, "program Interface error during Long Insert"
// *Cause:
// *Action:
01099, 00000, "cannot mount database in SHARED mode if started in single process                                               mode"
// *Cause:  Obvious
// *Action:

上面只是个例子,其他的错误号都可以通过这个方法得到。
其实ORACLE本身还有很多不错的东西,很多工具,不过十大家没去研究而已。
希望对大家有帮助。 [align=right][color=#000066][此贴子已经被作者于2007-6-28 16:52:10编辑过][/color][/align] ---------数据恢复 oracle数据库恢复专家 13352468096 QQ:9417901 网站:http://www.sosdb.com-----
下面是查询:0003的错误信息,很全面了。
[oracle@mail oracle]$ oerr ora 3
00030, 00000, "User session ID does not exist."
// *Cause:  The user session ID no longer exists, probably because the
//          session was logged out.
// *Action: Use a valid session ID.
00031, 00000, "session marked for kill"
// *Cause:  The session specified in an ALTER SYSTEM KILL SESSION command
//          cannot be killed immediately (because it is rolling back or blocked
//          on a network operation), but it has been marked for kill.  This
//          means it will be killed as soon as possible after its current
//          uninterruptable operation is done.
// *Action: No action is required for the session to be killed, but further
//          executions of the ALTER SYSTEM KILL SESSION command on this session
//          may cause the session to be killed sooner.
00032, 00000, "invalid session migration password"
// *Cause:  The session migration password specified in a session creation
//          call was invalid (probably too long).
// *Action: Retry with a valid password (less than 30 chars).
00033, 00000, "current session has empty migration password"
// *Cause:  An attempt was made to detach or clone the current session and
//          it has an empty migration password.  This is not allowed.
// *Action: Create the session with a non-empty migration password.
00034, 00000, "cannot %s in current PL/SQL session"
// *Cause:  An attempt was made to issue a commit or rollback from a PL/SQL
//          object (procedure, function, package) in a session that has this
//          disabled (by 'alter session disable commit in procedure')
// *Action: Enable commits from PL/SQL in this session, or do not attempt
//          to use commit or rollback in PL/SQL when they are disabled
//          in the current session.
00035, 00000, "LICENSE_MAX_USERS cannot be less than current number of users"
// *Cause:
// *Action:
00036, 00000, "maximum number of recursive SQL levels (%s) exceeded"
// *Cause:  An attempt was made to go more than the specified number
//          of recursive SQL levels.
// *Action: Remove the recursive SQL, possibly a recursive trigger.
00037, 00000, "cannot switch to a session belonging to a different server group"
// *Cause:  An attempt was made to switch to a session in a different server
//          group.  This is not allowed.
// *Action: Make sure the server switches to a session that belongs to its
//          server group.
00038, 00000, "Cannot create session: server group belongs to another user"
// *Cause:  An attempt was made to create a non-migratable session in a server
//          group that is owned by a different user.
// *Action: A server group is owned by the first user who logs into a server
//          in the server group in non-migratable mode.  All subsequent
//          non-migratable mode logins must be made by the user who owns
//          the server group.  To have a different user login in non-migratable
//          mode, the ownership of the server group will have to be changed.
//          This can be done by logging off all current sessions and detaching
//          from all existing servers in the server group and then having the
//          new user login to become the new owner.
[oracle@mail oracle]$ oerr ora 3
00030, 00000, "User session ID does not exist."
// *Cause:  The user session ID no longer exists, probably because the
//          session was logged out.
// *Action: Use a valid session ID.
00031, 00000, "session marked for kill"
// *Cause:  The session specified in an ALTER SYSTEM KILL SESSION command
//          cannot be killed immediately (because it is rolling back or blocked
//          on a network operation), but it has been marked for kill.  This
//          means it will be killed as soon as possible after its current
//          uninterruptable operation is done.
// *Action: No action is required for the session to be killed, but further
//          executions of the ALTER SYSTEM KILL SESSION command on this session
//          may cause the session to be killed sooner.
00032, 00000, "invalid session migration password"
// *Cause:  The session migration password specified in a session creation
//          call was invalid (probably too long).
// *Action: Retry with a valid password (less than 30 chars).
00033, 00000, "current session has empty migration password"
// *Cause:  An attempt was made to detach or clone the current session and
//          it has an empty migration password.  This is not allowed.
// *Action: Create the session with a non-empty migration password.
00034, 00000, "cannot %s in current PL/SQL session"
// *Cause:  An attempt was made to issue a commit or rollback from a PL/SQL
//          object (procedure, function, package) in a session that has this
//          disabled (by 'alter session disable commit in procedure')
// *Action: Enable commits from PL/SQL in this session, or do not attempt
//          to use commit or rollback in PL/SQL when they are disabled
//          in the current session.
00035, 00000, "LICENSE_MAX_USERS cannot be less than current number of users"
// *Cause:
// *Action:
00036, 00000, "maximum number of recursive SQL levels (%s) exceeded"
// *Cause:  An attempt was made to go more than the specified number
//          of recursive SQL levels.
// *Action: Remove the recursive SQL, possibly a recursive trigger.
00037, 00000, "cannot switch to a session belonging to a different server group"
// *Cause:  An attempt was made to switch to a session in a different server
//          group.  This is not allowed.
// *Action: Make sure the server switches to a session that belongs to its
//          server group.
00038, 00000, "Cannot create session: server group belongs to another user"
// *Cause:  An attempt was made to create a non-migratable session in a server
//          group that is owned by a different user.
// *Action: A server group is owned by the first user who logs into a server
//          in the server group in non-migratable mode.  All subsequent
//          non-migratable mode logins must be made by the user who owns
//          the server group.  To have a different user login in non-migratable
//          mode, the ownership of the server group will have to be changed.
//          This can be done by logging off all current sessions and detaching
//          from all existing servers in the server group and then having the
//          new user login to become the new owner.
[oracle@mail oracle]$ oerr ora 3
00030, 00000, "User session ID does not exist."
// *Cause:  The user session ID no longer exists, probably because the
//          session was logged out.
// *Action: Use a valid session ID.
00031, 00000, "session marked for kill"
// *Cause:  The session specified in an ALTER SYSTEM KILL SESSION command
//          cannot be killed immediately (because it is rolling back or blocked
//          on a network operation), but it has been marked for kill.  This
//          means it will be killed as soon as possible after its current
//          uninterruptable operation is done.
// *Action: No action is required for the session to be killed, but further
//          executions of the ALTER SYSTEM KILL SESSION command on this session
//          may cause the session to be killed sooner.
00032, 00000, "invalid session migration password"
// *Cause:  The session migration password specified in a session creation
//          call was invalid (probably too long).
// *Action: Retry with a valid password (less than 30 chars).
00033, 00000, "current session has empty migration password"
// *Cause:  An attempt was made to detach or clone the current session and
//          it has an empty migration password.  This is not allowed.
// *Action: Create the session with a non-empty migration password.
00034, 00000, "cannot %s in current PL/SQL session"
// *Cause:  An attempt was made to issue a commit or rollback from a PL/SQL
//          object (procedure, function, package) in a session that has this
//          disabled (by 'alter session disable commit in procedure')
// *Action: Enable commits from PL/SQL in this session, or do not attempt
//          to use commit or rollback in PL/SQL when they are disabled
//          in the current session.
00035, 00000, "LICENSE_MAX_USERS cannot be less than current number of users"
// *Cause:
// *Action:
00036, 00000, "maximum number of recursive SQL levels (%s) exceeded"
// *Cause:  An attempt was made to go more than the specified number
//          of recursive SQL levels.
// *Action: Remove the recursive SQL, possibly a recursive trigger.
00037, 00000, "cannot switch to a session belonging to a different server group"
// *Cause:  An attempt was made to switch to a session in a different server
//          group.  This is not allowed.
// *Action: Make sure the server switches to a session that belongs to its
//          server group.
00038, 00000, "Cannot create session: server group belongs to another user"
// *Cause:  An attempt was made to create a non-migratable session in a server
//          group that is owned by a different user.
// *Action: A server group is owned by the first user who logs into a server
//          in the server group in non-migratable mode.  All subsequent
//          non-migratable mode logins must be made by the user who owns
//          the server group.  To have a different user login in non-migratable
//          mode, the ownership of the server group will have to be changed.
//          This can be done by logging off all current sessions and detaching
//          from all existing servers in the server group and then having the
//          new user login to become the new owner.













































































































































































































    
 
 

您可能感兴趣的文章:

  • 安装Oracle加载数据库错误areasQueries的解决
  • 我在安装oracle的时候出现了这个错误,请懂行人赐教~~附图!~~
  • 记录Linux下一次oracle启动错误
  • shell如何获取oracle错误码 在线等
  • Linux系统下安装Oracle X11错误解决办法
  • 求助前辈们:solaris 10 x86 安装oracle 10g 错误
  • 有 ORACLE 错误码文档吗? 谢谢大家!
  • Eclipse连接Oracle数据库的ORA-00604 ORA-12705错误
  • ORACLE安装时/tmp/orainstRoot.sh 执行发生错误
  • 关于提高Oracle数据库性能的四个错误认识
  • C++使用OCCI连Oracle10g的错误
  • Linux上管理本机Oracle的时候出现找不到ServiceName的错误
  • Oracle的sqlcode对应的错误信息sqlerrm
  • 连接Oracle817数据库的错误提示
  • Oracle AS关键字 提示错误
  • rh9上装oracle817犯了个低级错误,如何挽回?
  • oracle错误迷惑
  • FC6下安装Oracle9i错误,请高手指教 在线等 解决即结贴
  • Oracle10201 RAC升级到10204后导出数据时报EXP-00056错误
  • 在tomcat下连接oracle8i的javabean出现如下错误,急!
  • oracle 技巧学习笔记
  • 技巧分享 删除Oracle10G中的垃圾表
  • Oracle 数据库操作技巧集
  • [小技巧]手工扩大Oracle数据库表空间的方法
  • Oracle认证的技巧
  • Oracle技巧分享
  • ORACLE SQL-UPDATE、DELETE、INSERT优化和使用技巧分享
  • 小技巧 Oracle杀死死锁进程问题的解决
  • 技巧学习 在Python环境下连接Oracle数据库
  • Oracle 建立临时表语法及使用技巧
  • 技巧分享 Oracle数据库的启动和关闭
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 解决oracle用户连接失败的解决方法
  • Oracle Connect to Idle Instance解决方法
  • Linux下安装Tomcat后与Oracle冲突的解决
  • linux下安装oracle,出现没有权限的报警,怎么解决?
  • Oracle 11g 相关工具netca,dbca乱码之解决
  • Linux安装Oracle 11时报错DISPLAY解决方案
  • Linux下Oracle安装时遇到的问题及解决
  • 简单的Oracle小问题解决
  • oracle中文乱码解决的办法
  • 关于系统重装后Oracle数据库完全恢复的解决办法
  • 安装oracle9时,安装界面的字体无法正确显示,怎么解决啊???
  • Oracle安装后8080和80端口被占用的解决办法
  • oracle远程连接服务器出现 ORA-12170 TNS:连接超时 解决办法
  • oracle 实际值超过数据库某个字段指定长度报错解决
  • Linux下命令行启动oracle时报错的解决
  • 急!急!jbuilder中新建oracle数据源的问题,解决立即给分!
  • Linux中安装Oracle乱码问题的解决
  • Oracle与JSDK4.0环境变量冲突,如何解决(在线等待)?
  • Linux下Oracle 10G DBCA等汉字乱码解决方法
  • oracle的job不能运行问题的解决方法
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • oracle远程连接服务器出现 ORA-12170 TNS:连接超时 解决办法 iis7站长之家
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3