My Oracle Support Banner

EM 11g: Emcli Commands Fail with 'Error: Connection to the current OMS could not be established. Check the log files for further detail' (Doc ID 1565400.1)

Last updated on NOVEMBER 04, 2019

Applies to:

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

Symptoms

Executing any emcli commands fail with the following error though the 'emcli setup' is successful:

Error: Connection to the current OMS could not be established. Check the log files for further detail

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
 Use Case 1: java.io.IOException: HTTPS hostname wrong
 Use Case 2: Error: Connection to the current OMS could not be established.
 Use Case 3: oracle.sysman.emCLI.omsbrowser.HttpConnectionException
Solution
 Solution for Use Case 1
 Solution for Use Case 2
 Solution for Use Case 3
 Special case
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.