<<Back to DB Administration Main Page
[FATAL] [INS-30024] Installer has detected that the location determined as Oracle Grid Infrastructure home is not a valid Oracle home
$ /u01/grid/12.2.0.1/grid/gridSetup.sh -silent -ignorePrereqFailure -responseFile /u01/grid/12.2.0.1/grid/install/response/gridsetup.rspLaunching Oracle Grid Infrastructure Setup Wizard...
[FATAL] [INS-30024] Installer has detected that the location determined as Oracle Grid Infrastructure home (/u01/app/12.1.0.2/grid/grid), is not a valid Oracle home.
ACTION: Ensure that either there are no environment variables pointing to this invalid location or register the location as an Oracle home in the central inventory.
Solution: Rename olr.loc and ocr.loc and unset the oracle related variables and re-run the installation
# mv /etc/oracle/olr.loc /etc/oracle/olr.loc_orig
# mv /etc/oracle/ocr.loc /etc/oracle/ocr.loc_orig
$unset ORACLE_HOME
$unset ORACLE_BASE
$unset ORACLE_SID
$unset ORA_CRS_HOME
$unset ORACLE_BASE
$unset ORACLE_SID
$unset ORA_CRS_HOME
In my case I had oracle Installation on this server which was not properly uninstalled and I found the file
orc.loc and olr.loc present which was causing the issue. After I renamed and re-run the installation It completed successfully
Comments
Post a Comment