EMCA Fails With The Error 'Failed to unlock all EM-related accounts' when Creating DBConsole

(Doc ID 756076.1)

Last updated on JANUARY 13, 2018

Applies to:

Enterprise Manager for Oracle Database - Version to [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".
oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Couldn't connect to the db. at <DATABASE_HOME>\sysman\admin\scripts\emca\emcaDbUtil.pl line 85, <STDIN>
line 2.




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