Informix Error -32155: tbload is locked. Remove label.lok file.
Cause and resolution
tbload is locked. Remove label.lok file.
An old label.map file is in use. Update the label.map file if necessary and remove the label.lok file to indicate your concurrence that the label.map file is indeed okay.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32155 fires when an old label.map file is in use and tbload is locked — per the
official guidance.
- An old
label.mapfile is currently in use, per the official guidance — the direct, only cause; indicated by the presence of alabel.lokfile.
Solutions / Resolution
- Update the
label.mapfile if necessary, per the official guidance. - Remove the
label.lokfile to indicate thelabel.mapfile is confirmed okay, per the official guidance.
Examples
Removing the lock file
$ rm $LABELMAPDIR/label.lok
Diagnostic Checks
- Check whether
label.mapneeds updating, then removelabel.lokto release the lock.
Related Errors / Related Topics
- -32154 — "Label.map file must be owned by DBSSO." A related
label.maperror, on ownership rather than the lock state. - -32156 — "Cannot open file." A related
label.map/label.lokerror, on file access rather than a stale lock.
tbload was locked by a stale label.lok file — update label.map if needed and remove
label.lok.