显示详细的 Informix® 错误消息

使用 finderr 命令,以便在遇到数据库服务器错误时显示更详细的错误消息。

本主题包含针对 Windows 和 UNIX 的步骤。

Windows

关于此任务

此命令包含在如下所示的 Rational Synergy 安装子目录中:

CCM_HOME\informix\bin

过程

  1. 在包括管理工具(即主服务器或其他服务器)的安装中运行此命令。

    其用法为 finderr message_number

  2. 输入以下命令来接收错误 131 的描述性错误消息:
    > CCM_HOME\informix\setenv.cmd
    > finderr -131

    Windows 帮助对话框显示输出:

    -131
    
    ISAM error: no free disk space.
    
    There is not enough contiguous free disk space to complete
    the current operation. C-ISAM programs: If transaction logging
    is in use, roll back the current transaction. Make some disk space
    available and run the program again. SQL products: Roll back the
    current transaction if possible. Contact the system administrator
    in regard to acquiring more disk space for databases.

UNIX

关于此任务

任何用户都可以运行此命令。

此命令包含在如下所示的 Rational Synergy 安装子目录中:

$CCM_HOME/informix/bin

过程

  1. 确保路径中包含 Informix bin 目录。
  2. 如下所示输入命令语法:

    $ finderr message_number

    例如,以下命令显示错误 131 的描述:

    $ finderr 131


反馈