On Oracle Big Data Appliance 4.* Enabling EM Plugin Fails with Errors while Executing emcli Login Command
(Doc ID 2068348.1)
Last updated on DECEMBER 18, 2019
Applies to:
Enterprise Manager for Big Data Appliance - Version 12.1.0.4.0 and laterBig Data Appliance Integrated Software - Version 4.0 and later
Linux x86-64
Symptoms
NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.
On Oracle Big Data Appliance 4.2, enabling 12.1.0.4 Enterprise Manager(EM) plugin fails with below error
INFO: Setting up Enterprise Manager Command Line Interface
INFO: Executing setupemcli.sh on nodes /opt/oracle/BDAMammoth/bdaconfig/tmp/all_nodes #Step -1#
ERROR: Error code 2 when executing setupemcli.sh on host <HOSTNAME1> #Step -1#
ERROR: Error is : Log file location is : /root/.emcli/.emcli.log #Step -1#
.................................
ERROR: Error code 2 when executing setupemcli.sh on host <HOSTNAMEn> #Step -1#
ERROR: Error is : Log file location is : /root/.emcli/.emcli.log #Step -1#
ERROR: Errors executing setupemcli.sh. Continuing anyway. #Step -1#
ERROR: Failed setting up Enterprise Manager Command Line Interface
ERROR: Errors found verifying EM setup requirements.
ERROR: Please fix the issues and re-run this step.
INFO: Executing setupemcli.sh on nodes /opt/oracle/BDAMammoth/bdaconfig/tmp/all_nodes #Step -1#
ERROR: Error code 2 when executing setupemcli.sh on host <HOSTNAME1> #Step -1#
ERROR: Error is : Log file location is : /root/.emcli/.emcli.log #Step -1#
.................................
ERROR: Error code 2 when executing setupemcli.sh on host <HOSTNAMEn> #Step -1#
ERROR: Error is : Log file location is : /root/.emcli/.emcli.log #Step -1#
ERROR: Errors executing setupemcli.sh. Continuing anyway. #Step -1#
ERROR: Failed setting up Enterprise Manager Command Line Interface
ERROR: Errors found verifying EM setup requirements.
ERROR: Please fix the issues and re-run this step.
From /root/.emcli/.emcli.log
oracle.sysman.emCLI.verb.LoginVerb execute
SEVERE:
oracle.sysman.emCLI.omsbrowser.HttpConnectionException:
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:337)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:741)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:666)
at oracle.sysman.emCLI.verb.LoginVerb.doLogin(LoginVerb.java:580)
at oracle.sysman.emCLI.verb.LoginVerb.execute(LoginVerb.java:344)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at oracle.sysman.emCLI.StandAloneLaunchHandler.invoke(StandAloneLaunchHandler.java:363)
at oracle.sysman.emCLI.StandAloneLaunchHandler.launch(StandAloneLaunchHandler.java:262)
at oracle.sysman.emSDK.emCLI.CLIController.launch(CLIController.java:191)
at oracle.sysman.emSDK.emCLI.CLIController.main(CLIController.java:181)
Caused by: javax.net.ssl.SSLException: Received fatal alert: close_notify
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2011)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1113)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:167)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3461)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:3373)
at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3124)
at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3115)
at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:729)
at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5560)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:3115)
at HTTPClient.HTTPConnection.Get(HTTPConnection.java:935)
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:147)
SEVERE:
oracle.sysman.emCLI.omsbrowser.HttpConnectionException:
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:337)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:741)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:666)
at oracle.sysman.emCLI.verb.LoginVerb.doLogin(LoginVerb.java:580)
at oracle.sysman.emCLI.verb.LoginVerb.execute(LoginVerb.java:344)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at oracle.sysman.emCLI.StandAloneLaunchHandler.invoke(StandAloneLaunchHandler.java:363)
at oracle.sysman.emCLI.StandAloneLaunchHandler.launch(StandAloneLaunchHandler.java:262)
at oracle.sysman.emSDK.emCLI.CLIController.launch(CLIController.java:191)
at oracle.sysman.emSDK.emCLI.CLIController.main(CLIController.java:181)
Caused by: javax.net.ssl.SSLException: Received fatal alert: close_notify
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2011)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1113)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:167)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3461)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:3373)
at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3124)
at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3115)
at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:729)
at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5560)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:3115)
at HTTPClient.HTTPConnection.Get(HTTPConnection.java:935)
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:147)
Also manually executing the emcli login command fails with the same error stack as above
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 |
References |