Skip to content
Home » Oracle Database » How to Resolve PRCT-1402 : Attempt to retrieve version of SRVCTL from Oracle Home

How to Resolve PRCT-1402 : Attempt to retrieve version of SRVCTL from Oracle Home

PRCT-1402 or PRCT-01402

When we updated the new oracle home location to the cluster after manually moving the database home to another place, we saw the error PRCT-01402.

[oracle@primary01 ~]$ srvctl modify database -d orclcdb -o "/oracle/product/19.3.0/db_1"
PRCT-1402 : Attempt to retrieve version of SRVCTL from Oracle Home /oracle/product/19.3.0/db_1/bin failed.
PRCT-1011 : Failed to run "srvctl". Detailed error: PRCZ-3002 : failed to locate Oracle base

PRCT-1402 means that the Oracle home you specified in the command conflicts with the information in orabasetab file which is used to persist some information including ORACLE_BASE and ORACLE_HOME.

I think you forgot to update the new Oracle home path to orabasetab. The path of the file is at:

$ORACLE_HOME/install/orabasetab

Solution

To solve PRCT-1402, we have to make sure that orabasetab has been set correctly on all nodes.

Node 1

[oracle@primary01 ~]$ grep $ORACLE_HOME $ORACLE_HOME/install/orabasetab
/u01/app/oracle/product/19.3.0/db_1:/u01/app/oracle:OraDB19Home1:N:

Node 2

[oracle@primary02 ~]$ grep $ORACLE_HOME $ORACLE_HOME/install/orabasetab
/u01/app/oracle/product/19.3.0/db_1:/u01/app/oracle:OraDB19Home1:N:

If there's any mismatch in the first field, please correct them to point to the new home, then try again.

In fact, using clone.pl to automatically configure the new Oracle home is safer than the manual operation.

Leave a Reply

Your email address will not be published. Required fields are marked *