A colleague has been struggling for some time in order to get the correct Oracle Home name for the Grid Infrastructure18.3.0 when running gridSetup.sh.
In the graphical Oracle Universal Installer there is no way (as far as we could find) to set the Home name. Moreover, it was our intention to automate the install of Grid Infrastructure.
The complete responsefile ($OH/inventory/response/oracle.crs_Complete.rsp) contains the parameter:
|
1 2 3 4 5 6 7 |
#------------------------------------------------------------------------------- #Name : ORACLE_HOME_NAME #Datatype : String #Description: Oracle Home Name. Used in creating folders and services. #Example: ORACLE_HOME_NAME = "OHOME1" #------------------------------------------------------------------------------- ORACLE_HOME_NAME="OraGI18Home1" |
However, when using a responsefile with such parameter, gridSetup.sh fails with the error:
|
1 2 3 4 5 |
Cause - Syntactically incorrect response file. Either unexpected variables are specified or expected variables are not specified in the response file. Action - Refer the latest product specific response file template Summary - cvc-complex-type.2.4.a: Invalid content was found starting with element 'ORACLE_HOME_NAME'. One of '{..... long list .....}' is expected. |
After some tries (and a SR), this happens to actually work:
- strip the ORACLE_HOME_NAME parameter from the responsefile
- pass it as a double-quoted parameter at the end of the gridSetup.sh command line
|
1 |
./gridSetup.sh -debug -responseFile inventory/response/Grid_Config.rsp "ORACLE_HOME_NAME=YourGIHomeName" |
HTH
The following two tabs change content below.
Latest posts by Ludovico (see all)
- Data Guard 26ai – #17: Automatic standby tempfile creation - February 20, 2026
- Data Guard 26ai – #16: Configuration and member tagging - February 19, 2026
- Data Guard 26ai – #15: Prevent standby databases from becoming primary - February 19, 2026