EMCA Fails With The Error 'Failed to unlock all EM-related accounts' when Creating DBConsole (Doc ID 756076.1)

Last updated on MARCH 28, 2016

Applies to:

Enterprise Manager for Oracle Database - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 28-Mar-2016****

Symptoms

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.

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