Informix Error -32766: Unknown error message number.
Cause and resolution
Unknown error message number.
The software product cannot find the error message text files. Either the INFORMIXDIR or DBLANG environment variable is set incorrectly.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32766 fires when the software product can't find the error-message text files — per the
official guidance, an incorrectly set INFORMIXDIR or DBLANG environment variable is
the documented cause.
INFORMIXDIRset incorrectly, per the official guidance — the first named case.DBLANGset incorrectly, per the official guidance — the second named case.
Solutions / Resolution
- Check
INFORMIXDIRandDBLANGfor correctness, per the official guidance, and fix whichever is wrong.
Examples
Checking the environment
$ echo $INFORMIXDIR
$ echo $DBLANG
Diagnostic Checks
- Check
INFORMIXDIRandDBLANGagainst the actual installation path and language/locale in use.
Related Errors / Related Topics
- -32370 — "Unknown error message" A related error-message-lookup failure,
attributed to
INFORMIXDIR/PATHrather thanINFORMIXDIR/DBLANG.
The error-message text files couldn't be found, due to an incorrect INFORMIXDIR or
DBLANG — check both variables.