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 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.

Symptoms

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(OMSBrowser.java:701) 
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:678) 
at oracle.sysman.emCLI.verb.SynchronizeVerb.synchronize(SynchronizeVerb.java:273) 
at oracle.sysman.emCLI.verb.SynchronizeVerb.execute(SynchronizeVerb.java:161) 
at oracle.sysman.emCLI.CLIController.execute(CLIController.java:508) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:597) at oracle.sysman.emCLI.CLIController.go(CLIController.java:310) 
at oracle.sysman.emCLI.CLIController.main(CLIController.java:148) 
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException

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
Solution


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