The following problem was caused by our recent migration, the inventory was pointing to a home that was no longer on the server.
We need to attach the current home to the inventory, by using below command we can solve this issue.
$ ./runInstaller -silent -invPtrLoc "/etc/oraInst.loc" -attachHome ORACLE_HOME="/u01/app/oracle/product/220.127.116.11" ORACLE_HOME_NAME="ORACLEHOME"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 18432 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oracle/oraInventory
'AttachHome' was successful.