Informix Error -33057: Cannot open error log file errorfile.
Cause and resolution
Cannot open error log file errorfile.
You specified the log preprocessor option to have error and warning messages sent to errorfile rather than to standard output. However, the preprocessor cannot open errorfile because not enough disk space is available, or you do not have file-system permission to open the file. If insufficient disk space is available, delete files to make space available in the file system, or select another disk. If you do not have file-system permission to open errorfile, specify another directory or login with the required permission.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33057 fires when the preprocessor can't open the file named for the -log option's
error/warning output — per the official guidance, either from insufficient disk space or
a lack of file-system permission.
- Insufficient disk space for the error log file, per the official guidance — the first named cause.
- No file-system permission to open the error log file, per the official guidance — the second named cause.
Solutions / Resolution
- If disk space is insufficient, delete files or select another disk, per the official guidance.
- If permission is insufficient, specify another directory or log in with the required permission, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unopenable error log file.
Diagnostic Checks
- Check available disk space and file-system permissions for the
-logtarget location.
Related Errors / Related Topics
- -33041 — "Cannot open output file outfile." The same class of file-access error,
for the compiler's regular output file rather than the
-logerror file. - -33056 — "Error errno during output." A related output-error class, on a failure during an already-open write rather than failing to open the file.
The preprocessor couldn't open its -log error file — check disk space and permissions.