Grid Infrastructure Upgrade Fails Running config.sh 'There is no directory as: /u01/app/12.2.0/grid/perl/bin/' or 'Oracle Home already exists at this location' or 'Exit code 127 #Step -1#'
(Doc ID 2360709.1)
Last updated on MARCH 05, 2023
Applies to:
Oracle Database Appliance Software - Version 12.1.2.12 to 12.2.1.4 [Release 12.1 to 12.2]Information in this document applies to any platform.
Ran '/bin/su grid -c "/opt/oracle/oak/onecmd/tmp/gridconfig.sh"',
'/u01/app/12.2.0/grid/perl/bin/perl'
code(127)
Exit code 127 #Step -1#
"/opt/oracle/oak/onecmd/tmp/gridconfig.sh" did not complete successfully
Symptoms
ODA during an upgrade to 12.2.1.x
The problem can happen during the Grid Infrastructure upgrade on:
- Node0 only
- Node1 only
or - Both nodes
The errors are related to Grid Patching
- 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#
Changes
Upgrade from 12.1.2.X->12.2.1.2
Note:
12.2.1.4 is strongly recommended the preferred over 12.2.1.2
12.2.1.3 upgrades must be from 12.1.2.12 or 12.2.1.2 (only)
12.2.1.4 is strongly recommended the preferred over 12.2.1.2
12.2.1.3 upgrades must be from 12.1.2.12 or 12.2.1.2 (only)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |