My Oracle Support Banner

EM 13c: UPDATE_SIHA Enterprise Manager 13c Cloud Control Fleet Maintenenace Job Fails at Switch Clusterware Instance Step with Error: Insufficient privileges to execute this script. Cause: The root script was not run by the user named root with UID 0 (Doc ID 2699300.1)

Last updated on MAY 13, 2021

Applies to:

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


In Enterprise Manager (EM) 13.3.2 Cloud Control, the Fleet UPDATE_SIHA job fails at the Switch Clusterware Instance step:

$ emcli db_software_maintenance -performOperation -name=updatesiha -purpose=UPDATE_SIHA -target_type=has  -target_list="<has_Name>"  -normal_credential=normal:SYSMAN -privilege_credential=normal:SYSMAN

Job Steps Log for Job :Switch Clusterware Instance

Switch SIHA oracle home to [<PATH>/grid/] ...
2020-06-04 05:11:21: Executing
<PATH>/grid/ -postpatch -dstcrshome <PATH>/grid/
2020-06-04 05:11:21: Executing cmd:
<PATH>/grid/ -postpatch -dstcrshome <PATH>/grid/
Using configuration parameter file: <PATH>/grid/
The log of current session can be found at:

Insufficient privileges to execute this script.Cause: The root script was not run by the user named 'root'with UID 0.
Action: Make sure the root username is 'root' with UID 0 and rerun the script as the root user.The command '<PATH>/grid/
-I<PATH>/grid/ -I<PATH>/grid/ <PATH>/grid/ -postpatch -dstcrshome
<PATH>/grid/' execution failed
Switch SIHA Oracle home completed with exit code: 2

In the above command, a root credential was not used, but, instead a normal credential was passed.



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

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