My Oracle Support Banner

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 and later
Information in this document applies to any platform.


OMS version:
Agent Version:

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.


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.