EMCA Fails With The Error 'Failed to unlock all EM-related accounts' when Creating DBConsole
Last updated on JANUARY 13, 2018
Applies to:Enterprise Manager for Oracle Database - Version 10.2.0.1 to 22.214.171.124 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Creating dbconsole via Enterprise Manager Configuration Assistant (EMCA) fails with:
CONFIG: Failed to unlock mgmt_view account oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
The error below is also reported in emca logs
Connecting to database <SID> in home <ORACLE_HOME> with user "SYS" role "SYSDBA".
CONFIG: Couldn't connect to the db. at <DATABASE_HOME>\sysman\admin\scripts\emca\emcaDbUtil.pl line 85, <STDIN>
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