My Oracle Support Banner

11g Grid Control: EMCLI Login Command And Other EMCLI Commands Throw 'Error: Connection to the current OMS could not be established. Check the log files for further details' (Doc ID 1558445.1)

Last updated on NOVEMBER 08, 2019

Applies to:

Enterprise Manager Base Platform - Version to [Release 11.1]
Information in this document applies to any platform.


EMCLI login and other commands fails with the error "OMS could not be established. Check the log files for further details".

The command emcli setup completed successfully without any error.

The file .emcli.log shows:

Jan 11, 2013 11:34:38 AM oracle.sysman.emCLI.verb.SetupVerb execute INFO: 
SETUP: localdir=/u01/app/oracle/emcli/secdb2, omsurl=https://vboddeti:7799/em, username=sysman, 
trustall=false, validate=true, ssousername=null, autologin=true, certvalidate=true 
Apr 8, 2013 5:26:48 PM oracle.sysman.emCLI.verb.SynchronizeVerb execute SEVERE: oracle.sysman.emCLI.omsbrowser.HttpConnectionException: 
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal( 
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage( 
at oracle.sysman.emCLI.verb.SynchronizeVerb.synchronize( 
at oracle.sysman.emCLI.verb.SynchronizeVerb.execute( 
at oracle.sysman.emCLI.CLIController.execute( 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke( 
at sun.reflect.DelegatingMethodAccessorImpl.invoke( 
at java.lang.reflect.Method.invoke( at oracle.sysman.emCLI.CLIController.go( 
at oracle.sysman.emCLI.CLIController.main( 
Caused by:


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

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