Creating DB Control fails with ORA-01921

(Doc ID 2248086.1)

Last updated on MARCH 25, 2017

Applies to:

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

Symptoms

While creating Enterprise Manager (EM) Database Control fails with following error stack:

$ ./emca -config dbcontrol db -repos create

STARTED EMCA at Mar 24, 2017 5:25:10 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
.
.
Mar 24, 2017 5:25:40 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/dacf2/emca_2017_03_24_17_25_10.log.
Mar 24, 2017 5:25:41 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 24, 2017 5:25:42 PM oracle.sysman.emcp.EMReposConfig createRepository
WARNING: ORA-01921: role name 'MGMT_USER' conflicts with another user or role name

Mar 24, 2017 5:25:42 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository

 

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