EM 12c: Enterprise Manager 12c Cloud Control Job Fails with Message: ERROR: Failed To Impersonate User (Doc ID 2043908.1)

Last updated on AUGUST 19, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

OMS version: 12.1.0.5.0
Agent Version: 12.1.0.5.0

The EM Agent is deployed and running as Linux user gridagent while the database Oracle Home is owned by oracle:

[root@<hostname> ~]# id gridagent
uid=1041(gridagent) gid=1102(oinstall) groups=1102(oinstall),1000(sshusers),1101(dba)

[root@<hostname> ~]# id oracle
uid=1002(oracle) gid=1102(oinstall) groups=1102(oinstall),1000(sshusers)

The EM job is using oracle for named credentials.

Job executes properly using user gridagent, hence, authentication should be successful. Since the jobs are failing as user oracle, it is a problem with privileges or resources.

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