Informix Error -821
-821 Cannot open file for default report.
You requested creation of a default-report specification. This file is saved in the current directory, but some problem prevented it. Possibly the disk is full, or possibly your account does not have operating-system permission to write in that location.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-821 fires when creating a default-report specification file fails — per the official guidance, the same two possibilities as the other file-save errors in this range: a full disk, or no OS-level write permission in the current directory.
- No write permission in the current directory, per the official guidance.
- A full disk, per the official guidance.
Solutions / Resolution
- Check operating-system write permission in the current directory, per the official
guidance:
ls -ld . - Check disk space, per the official guidance:
df -h .
Examples
Checking permission and disk space
$ ls -ld .
$ df -h .
Diagnostic Checks
- Check current-directory write permission and disk space, the same two checks as -807/ -810.
Related Errors / Related Topics
- -807 — "Cannot open file for output." Same family of interactive-tool file-save errors, sharing the same permission/disk-space checks.
- -810 — "Cannot open file for save." Same family.
Same permission/disk-space checks as -807/-810, here specific to the default-report specification file.