emctl start oms Fails with "Connection to the repository failed. Verify that the repository connection information provided is correct." and EMGC_OMS1.out File Reports "ORA-04063: package body "SYSMAN.MGMT_USER" has errors"

(Doc ID 2340498.1)

Last updated on DECEMBER 18, 2017

Applies to:

Enterprise Manager Base Platform - Version 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

OMS fails to start with the following error:

$<OMS_HOME>/bin>./emctl start oms

Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server is not functioning because of the following reason:
Connection to the repository failed. Verify that the repository connection information provided is correct.

$EM_INSTANCE_BASE/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/logs/EMGC_OMS1.out file reports following errors:

Fetched repository credentials from Credential Store
Fetched repository credentials from Credential Store
Invalid Connection Pool. ERROR = Unable to set EM Context: java.sql.SQLException: ORA-04063: package body "SYSMAN.MGMT_USER" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 18
ORA-06512: at line 1

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