ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux/Uninx下Oracle的oerr工具的使用

Linux/Uninx下Oracle的oerr工具的使用

原创 Linux操作系统 作者:听海★蓝心梦 时间:2010-11-15 16:25:22 0 删除 编辑
oerr是oracle在unix上的查找ora错误的小工具,极其方便。
命令格式为:oerr ora 错误编号
 
1 .先看看OERR 的位置
$ which oerr
/oradev2/app/oracle/product/10.2.0/bin/oerr
 
2.看OERR 的使用方法
$ oerr
Usage: oerr facility error
Facility is identified by the prefix string in the error message.
For example, if you get ORA-7300, "ora" is the facility and "7300"
is the error. So you should type "oerr ora 7300".
If you get LCD-111, type "oerr lcd 111", and so on.
$ oerr ora 7300
 
3.随便测试一个ORA 的错误
$ oerr ora 3200
03200, 00000, "the segment type specification is invalid"
// *Cause: segment type is not TABLE, INDEX, or CLUSTER
// *Action: use a correct segment type
 

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

下一篇: ORACLE MOVE表空间
请登录后发表评论 登录
全部评论

注册时间:2009-02-18

  • 博文量
    253
  • 访问量
    1268020