I was patching my 126.96.36.199 home installation to the latest patchset today, and got the following error:
C:\oracle\stage\22581007>opatch apply Oracle Interim Patch Installer version 188.8.131.52.10 Copyright (c) 2016, Oracle Corporation. All rights reserved. Oracle Home : C:\oracle\product\1210~1.2 Central Inventory : C:\Program Files\Oracle\Inventory from : n/a OPatch version : 184.108.40.206.10 OUI version : 220.127.116.11.0 Log file location : C:\oracle\product\1210~1.2\cfgtoollogs\opatch\22581007_Mar_31_2016_18_32_02\apply2016-03-31_18-32-01 PM_1.log Unable to lock Central Inventory. OPatch will attempt to re-lock. Do you want to proceed? [y|n]
My first thought was this was due probably to the fact that I’ve got countless installations on this laptop, some running, some stopped, etc etc.
Turns out to be a much simpler issue. When running OPatch on Windows, make sure you are running it with the “As Administrator”.