美文网首页
在linux下查看oracle错误信息的方法

在linux下查看oracle错误信息的方法

作者: 重庆思庄 | 来源:发表于2018-12-03 16:01 被阅读4次

    [oracle@dbserver ~]$ 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.

    [oracle@dbserver ~]$ oerr ora 12545

    12545, 00000, "Connect failed because target host or object does not exist"

    // *Cause: The address specified is not valid, or the program being

    // connected to does not exist.

    // *Action: Ensure the ADDRESS parameters have been entered correctly; the

    // most likely incorrect parameter is the node name. Ensure that the

    // executable for the server exists (perhaps "oracle" is missing.)

    // If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the

    // host name to a numeric IP address and try again.

    [oracle@dbserver ~]$ oerr tns 12545

    12545, 00000, "Connect failed because target host or object does not exist"

    // *Cause: The address specified is not valid, or the program being

    // connected to does not exist.

    // *Action: Ensure the ADDRESS parameters have been entered correctly; the

    // most likely incorrect parameter is the node name. Ensure that the

    // executable for the server exists (perhaps "oracle" is missing.)

    // If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the

    // host name to a numeric IP address and try again.

    oracle认证

    相关文章

      网友评论

          本文标题:在linux下查看oracle错误信息的方法

          本文链接:https://www.haomeiwen.com/subject/ohgycqtx.html