Oracle 11g RAC 打18841764补丁报错
[grid@rac1 18841764]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.15
Copyright (c) 2017, Oracle Corporation. All rights reserved.
Oracle Home : /u01/11.2.0/grid
Central Inventory : /u01/app/oraInventory
from : /u01/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.15
OUI version : 11.2.0.4.0
Log file location : /u01/11.2.0/grid/cfgtoollogs/opatch/opatch2017-07-25_10-39-39AM_1.log
Unable to lock Central Inventory. OPatch will attempt to re-lock.
多用户共享oraInventory,grid用户没权限写locks
ll /u01/app/oraInventory/locks
drwxr-x--- 2 weblogic oinstall 4096 Jun 28 15:45 locks
解决方法:
cd /u01/app/oraInventory
chmod 770 locks/