My Oracle Support Banner

Opatchauto -analyze fails with the error: "The user is root. OPatch cannot continue if the user is root.]" (Doc ID 2356750.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 

opatchauto -analyze execution as root user fails with the error "The user is root. OPatch cannot continue if the user is root"

ERROR
-----------------------

# /u01/app/12.2.0/grid/OPatch/opatchauto apply <unzipped_patch_location>/27100009 -analyze

==Following patches FAILED in analysis for apply:

Patch: <unzipped_patch_location>/27100009/27335416
Log: /u01/app/12.2.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-01-29_12-14-31PM_1.log
Reason: Failed during Analysis: CheckNApplyReport Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:
The user is root. OPatch cannot continue if the user is root.] <<<<<---------------------------------

 From opatch auto log for the above failure:

-----------------------------------------------

 

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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.