EM 13c: Executing any emcli Command Results in Error - "Internal Error: The EM CLI System Has Encountered An Internal Error. Details have been added to the OMS log files" (Doc ID 2197390.1)

Last updated on APRIL 25, 2017

Applies to:

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

Symptoms

Executing any Enterprise Manager (EM) 13c Cloud Control command (except sync) fails with the following error:

./emcli sync
Synchronized successfully
./emcli get_targets
Internal Error: The EM CLI system has encountered an internal error. Details have been added to the OMS log files.

-  The <gc_inst>/em/EMGC_OMS1/sysman/log/emoms.trc reports the below errors for the emcli command:

2016-10-13 12:19:08,266 [EMUI_12_19_07_/console/cli] ERROR emCLI.CLIPageHandler render.671 - ORA-14400: inserted partition key does not map to any partition
ORA-06512: at "SYSMAN.EM_CLI", line 303

java.sql.SQLException: ORA-14400: inserted partition key does not map to any partition ORA-06512: at "SYSMAN.EM_CLI", line 303

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

-  The EM Diagkit (from Doc ID 1426973.1) reports:

 verifyCORE
0002. Missing DBMS_SCHEDULER jobs: 36

-  All the DBMS Scheduler jobs related to the EM repository are shown to be down in the Setup -> Manage Cloud Control > Repository, page in the Console UI.

-  Log in to EM 13c Cloud Control through a browser works without any errors.

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