Informix Error -4377: The output file filename cannot be created or opened.
Cause and resolution
The output file filename cannot be created or opened.
On UNIX systems, check that your account has permission to create files in the directory where filename would be created. Look for other, more explicit, error messages from the operating system. Possibly the disk is full, or you have reached a limit on the number of open files.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4377 fires when a report's output file can't be created or opened — per the official guidance, on UNIX this is usually a write-permission issue in the target directory, a full disk, or an open-file limit.
- Insufficient write permission in the target directory, per the official guidance — the first named cause.
- A full disk, per the official guidance — the second named cause.
- An open-file limit reached, per the official guidance — the third named cause.
Solutions / Resolution
- Check write permission in the target directory, per the official guidance.
- Look for more explicit operating-system error messages, per the official guidance.
- Check available disk space and the open-file limit, per the official guidance.
Examples
Checking directory write permission
ls -ld /path/to/output/dir
Diagnostic Checks
- Check the target directory's write permission, disk space, and the open-file limit.
Related Errors / Related Topics
- -4376 — "The temporary file filename cannot be created for writing." A related file-creation error, about a temporary file rather than a report's output file.
The report's output file couldn't be created or opened — check directory permissions, disk space, and the open-file limit.