Grid Infrastructure Upgrade Fails as Incorrect Locations Are Picked Up in config.sh

(Doc ID 2360709.1)

Last updated on APRIL 02, 2018

Applies to:

Oracle Database Appliance Software - Version 12.1.2.12 and later
Information in this document applies to any platform.

Symptoms

ODA upgrade to 12.2.1.2 failed during grid patching:

There is no directory as: /u01/app/12.2.0/grid/perl/bin/ exist in the server

 ERROR : Ran '/bin/su grid -c "/opt/oracle/oak/onecmd/tmp/gridconfig.sh"' and it returned code(127) and output is:
/u01/app/12.2.0.1/grid/crs/config/config.sh: line 48: /u01/app/12.2.0/grid/perl/bin/perl: No such file or directory

: ERROR : /bin/su grid -c "/opt/oracle/oak/onecmd/tmp/gridconfig.sh" did not complete successfully. Exit code 127 #Step -1#

The can happen on node0 (first Node) cause both nodes upgrade failed or node1(second node) only.  We have different solution for these two situation.

Changes

 Upgrade from 12.1.2.X->12.2.1.2

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms