Informix Error -26205: API error: Error reading message file.
Cause and resolution
API error: Error reading message file.
The Answer/Extractor message file, message.txt, does not have the correct permissions or is corrupted. Verify that the file has the correct permissions. The file should be in the directory that the ANSAPI environment variable specifies, or in the current directory if ANSAPI is not set. If the file is corrupt, recopy the file from $INFORMIXDIR/etc.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26205 fires when the Answer/Extractor message.txt file can't be read — per the official
guidance.
message.txthas incorrect permissions, per the official guidance — the first named case.message.txtis corrupted, per the official guidance — the second named case.
Solutions / Resolution
- Verify
message.txthas the correct permissions, per the official guidance, and that it's in theANSAPIdirectory (or the current directory ifANSAPIisn't set). - If corrupt, recopy
message.txtfrom$INFORMIXDIR/etc, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a permission/read failure.
Diagnostic Checks
- Check
message.txt's permissions and location, and recopy it from$INFORMIXDIR/etcif corrupted.
Related Errors / Related Topics
- -26201 — "API error: Cannot find message file." A related
message.txterror, on the file being missing rather than unreadable. - -26203 — "API error: Message file is too short." A related
message.txtcorruption error, on the file's size rather than a read/permission failure. - -26204 — "API error: Message file is too long." A related
message.txtcorruption error, on the file's size rather than a read/permission failure.
message.txt couldn't be read — check its permissions and location, or recopy it if
corrupt.