Issue
Set the environment for WebTier under Fusion Middleware in Applications Tier. Then issue following command on terminal and get error:
opatch lsinventory
Error
Now examining product Oracle Fusion Middleware (FMW) - Web Tier.
chmod: changing permissions of `/u01/install/VISION/fs1/FMW_Home/webtier/.patch_storage': Operation not permitted
Error checking inventory. Error code: 1.
Ensure FMW - Web Tier home is registered in oraInventory.
Exiting.
Resolution
Run attachHome.sh script present under WebTier directory. In my case I gave following commands to fix the error:
/u01/install/VISION/fs1/FMW_Home/webtier/oui/bin/attachHome.sh
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 10239 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-11-16_10-08-09AM. Please wait ...
$ The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/install/oraInventory
'AttachHome' was successful.
Environment
+ Oracle E-Business Suite Release 12.2.4
+ Oracle Linux x86-64