My Oracle Support Banner

Grid Infrastructure Upgrade Fails Running '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 to [Release 12.1 to 12.2]
Information in this document applies to any platform.
Ran '/bin/su grid -c "/opt/oracle/oak/onecmd/tmp/"',
Exit code 127 #Step -1#
"/opt/oracle/oak/onecmd/tmp/" did not complete successfully


ODA during an upgrade to 12.2.1.x

The problem can happen during the Grid Infrastructure upgrade on: 

The errors are related to Grid Patching


Upgrade from 12.1.2.X->

 is strongly recommended the preferred over
 upgrades must be from or (only)


To view full details, 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 a vibrant support community of peers and Oracle experts.