Informix Error -922: Cannot get name of current working directory.
Cause and resolution
Cannot get name of current working directory.
A problem exists with the current working directory on this system or on another computer system that your application is using. Possibly your account does not have read access to the directory, or possibly the file system that contains it is improperly mounted. Exit your application, and retry. If the problem persists, see your system administrator for assistance.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-922 fires when the application can't determine its current working directory, either locally or on a remote system it's using — per the official guidance, two possibilities: no read access to the directory, or the filesystem containing it is improperly mounted.
- No read access to the current working directory, per the official guidance — a permissions problem.
- The filesystem containing the current working directory improperly mounted, per the official guidance — an infrastructure-level problem, potentially on a remote system if the application is using one.
Solutions / Resolution
- Exit your application and retry, per the official guidance — the documented first step, in case this was a transient condition.
- If the problem persists, see your system administrator for assistance, per the official guidance — this points toward permissions/mount-level troubleshooting beyond what the application itself can resolve.
Examples
Checking current-directory access
$ pwd
$ ls -ld .
Confirm the current working directory is accessible and has appropriate read permissions.
Diagnostic Checks
- Check read access to the current working directory.
- Check whether the filesystem containing it is properly mounted, especially if a remote system is involved.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -922 in this set yet.
Retry first; escalate to the system administrator for permissions/mount-level troubleshooting if it persists.