Informix Error -32370: Unknown error message
Cause and resolution
Unknown error message
Check $INFORMIXDIR and $PATH there is an enviroment mismatch. If INFORMIXDIR is set to a tools directory and the PATH has an engine bin earlier in the path this issue can occur. Also the error will occur is INFORMIXDIR/bin in not in the PATH
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32370 fires when the software product can't locate its error-message text files — per
the official guidance, an environment mismatch between $INFORMIXDIR and $PATH is the
documented cause.
$INFORMIXDIRset to a tools directory while$PATHhas an enginebinearlier in the path, per the official guidance — the first named case.$INFORMIXDIR/binisn't in$PATHat all, per the official guidance — the second named case.
Solutions / Resolution
- Check
$INFORMIXDIRand$PATHfor an environment mismatch, per the official guidance, and correct whichever points to the wrong installation or is missing$INFORMIXDIR/bin.
Examples
Checking the environment
$ echo $INFORMIXDIR
$ echo $PATH | tr ':' '\n' | grep -n informix
Diagnostic Checks
- Check
$INFORMIXDIRand$PATHfor a mismatch between the tools/engine directories, and confirm$INFORMIXDIR/binis actually in$PATH.
Related Errors / Related Topics
- -32766 — "Unknown error message number." A related error-message-lookup failure,
attributed to
INFORMIXDIR/DBLANGrather thanINFORMIXDIR/PATH.
The error-message text files couldn't be found, due to an $INFORMIXDIR/$PATH
mismatch — check both variables.