13.31 OERR

構文

OERR [error_code|<facility name> <error number>]

Oracleエラーの詳細な原因および処置テキストを表示します。OERRコマンドは、エラー・コードまたはエラー接頭辞(機能名)とエラー番号を受け入れて、エラー詳細を表示します。

error_code

ORASP2などのエラー接頭辞、およびエラー番号が含まれます。

facility name

ORASP2などのエラー接頭辞を参照します。

error number

エラー番号を示します。

次の例では、OERRコマンドの使用方法および出力を表示します。

例1

OERR ORA-1033
Message: "ORACLE initialization or shutdown in progress"
Help: https://docs.oracle.com/error-help/db/ora-01033/
Cause:  An attempt was made to log on while Oracle is being started up
        or shutdown.
Action: Wait a few minutes. Then retry the operation.

例2

OERR ORA 1033
Message: "ORACLE initialization or shutdown in progress"
Help: https://docs.oracle.com/error-help/db/ora-01033/
Cause:  An attempt was made to log on while Oracle is being started up
        or shutdown.
Action: Wait a few minutes. Then retry the operation.

例3

OERR SP2 0640
Message: "Not connected\n"
Help: https://docs.oracle.com/error-help/db/sp2-00640/
Cause:  The PASSWORD command was issued when there was no
        connection to the Oracle instance.
Action: Connect to the Oracle database before re-issuing the
        PASSWORD command.