Creating DB Control fails with ORA-01921
Last updated on MARCH 25, 2017
Applies to:Enterprise Manager for Oracle Database - Version 184.108.40.206 and later
Information in this document applies to any platform.
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 220.127.116.11.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
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