Informix Error -621: Unable to update new lock level.
Cause and resolution
Unable to update new lock level.
This internal error indicates that the database server is unable to convert a lock from shared to exclusive. Check the accompanying ISAM error code for more information. Possibly a hardware error or a problem with shared memory exists. If the error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-621 is flagged by the official text as an internal error: the server can't convert a lock from shared to exclusive — per the official guidance, possibly reflecting a hardware error or a shared memory problem.
- A hardware error, per the official guidance — the first specific possibility it names.
- A shared-memory problem in the instance's memory segments, per the official guidance — the second specific possibility.
- An underlying ISAM-level error during the lock conversion, per the official guidance's pointer to checking the accompanying ISAM error code.
Solutions / Resolution
- Check the accompanying ISAM error code, per the official guidance, for the specific underlying reason.
- Check for hardware errors on the host, per the official guidance — OS-level hardware/disk logs, memory diagnostics.
- Check the instance's shared-memory health, per the official guidance:
reviewing the summary status for any shared-memory-related warnings.onstat - - If this recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
Checking instance and hardware health
$ onstat -
-- review the summary status line for shared-memory-related warnings
$ dmesg | tail -50
-- check for OS-level hardware error messages around the time of the failure
Diagnostic Checks
- Check the accompanying ISAM error code first, per the official guidance.
- Check for hardware errors and shared-memory health, per the official guidance's two named possibilities.
Related Errors / Related Topics
- -620 — "Unable to update next extent size." Another internal error in the same general family, pointing at possible root dbspace corruption rather than hardware/shared-memory issues.
- -622 — "Error on locating constraint index index-name." Another internal error in the same family, pointing at possible system-catalog or root dbspace corruption.
An internal lock-conversion failure — check for hardware errors and shared-memory health, per the official guidance's two named possibilities.