📖 ~1 min read
Table of contents
Symptom & Impact
smit menus exit with ‘ODM database locked’ errors.
Environment & Reproduction
Concurrent smit/installp sessions or a crashed installer left a lock.
Root Cause Analysis
Stale lock files under /etc/objrepos/..lock remain on disk.
Quick Triage
Check for running installp, lppchk or smit with ps -ef | egrep ‘installp|smit’.
Step-by-Step Diagnosis
Inspect /etc/objrepos/*.lock and verify no PID still owns the file.

Solution – Primary Fix
Remove stale lock files only after confirming no installer runs: rm /etc/objrepos/lock.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Reboot the LPAR if the lock cannot be cleared safely.
Verification & Acceptance Criteria
smit launches normally and lslpp -L completes without locking errors.
Rollback Plan
Restore from a mksysb-era /etc/objrepos backup if ODM is corrupted.
Prevention & Hardening
Avoid running multiple installp/SMIT sessions and use cfgmgr serially.
Related Errors & Cross-Refs
May appear after a failed installp run or aborted alt_disk_copy.
Related tutorial: View the step-by-step tutorial for aix-7.1.
View all aix-7.1 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM Docs: ODM, installp locking and smit troubleshooting.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.