Informix Error -4824: The file "%s" cannot be read. Accompanying OS message : "%s".
Cause and resolution
The file "%s" cannot be read. Accompanying OS message : "%s".
The file cannot be read. Check that your username, has permission to read the file. Look for the accompanying error messages from the operating system. Possibly, the file is already closed, or the disk is full, or a hardware failure occurred.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4824 fires when a file I/O Read operation fails — per the official guidance.
- Insufficient permission to read the file, per the official guidance — the first named cause.
- The file is already closed, per the official guidance — the second named cause.
- A full disk, per the official guidance — the third named cause.
- A hardware failure, per the official guidance — the fourth named cause.
Solutions / Resolution
- Check that the account has permission to read the file, per the official guidance.
- Look for the accompanying operating-system error message, per the official guidance, for the specific cause.
Examples
Checking read permission
$ ls -l filename
Diagnostic Checks
- Check the accompanying OS message, read permission on the file, disk space, and underlying storage health.
Related Errors / Related Topics
- -4821 — "The file file_name cannot be created or opened." A related file I/O failure, about opening rather than reading.
- -4826 — "The file file_name cannot be written." A related file I/O failure, about writing rather than reading.
A file couldn't be read — check the accompanying OS message, permissions, disk space, and hardware.