Informix Error -32165: Error attaching to session shared memory.
Cause and resolution
Error attaching to session shared memory.
This message indicates an internal error. Check the operating-system error message for further information.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32165 fires when the server can't attach to existing session shared memory — per the official guidance, reported as an internal error.
- An operating-system-level failure attaching to the shared-memory segment, per the official guidance — check the OS error message for detail.
Solutions / Resolution
- Check the operating-system error message for the specific failure, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a failed shared-memory attach.
Diagnostic Checks
- Check the OS-level error accompanying this message.
Related Errors / Related Topics
- -32164 — "Error creating session shared memory." A related session shared-memory error, on creating rather than attaching to shared memory.
The server couldn't attach to session shared memory — check the accompanying OS error message.