Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
emcli login errors in OEM12C

I am trying to connect OMS by EMCLI and i am getting following errors.
Aug 13, 2014 2:38:39 PM oracle.sysman.emCLI.verb.SynchronizeVerb execute
SEVERE:
oracle.sysman.emCLI.omsbrowser.HttpConnectionException:
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:618)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:595)
at oracle.sysman.emCLI.verb.SynchronizeVerb.synchronize(SynchronizeVerb.java:280)
at oracle.sysman.emCLI.verb.SynchronizeVerb.execute(SynchronizeVerb.java:162)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:540)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.sysman.emSDK.emCLI.CLIController.go(CLIController.java:343)
at oracle.sysman.emSDK.emCLI.CLIController.main(CLIController.java:157)
Caused by: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.testURL(OMSBrowser.java:1248)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:611)
... 10 more
Answers
-
error indicates something is wrong, but the total lack of details not provided by you only leaves you with a mystery & us with no clues
-
Sol,
Thanks for your response. This is the message i saw in EMCLI.log. Everytime i tried to connect , it says that "cannot login to OMS. We are in WIN 2008R2 64 bit & our OMS repository database is 11.2.0.3, OEM 12c is 12.1.0.1 , oms is 12.1.0.1 agent 12.1.0.1.
-
when was the last time it worked without error?
what changed since then?
why are you posting EM problem in database forum?
-
Instance Home : E:\middelware\plugins\oms\emcli\.emcli
EM URL : https://xxxxxxxx:7800/em
EM user : sysman
Trust all certificates : true
E:\middelware\plugins\oms\emcli>emcli login -username=sysman
Error: Connection to the current OMS could not be established. Check the log fil
es for further details
-
i installed the base OEM 12C and trying to install agents in offline method by EMCLI. It is a new installation and nothing being changed .
-
Check the log files for further details
So post log file contents here!
Can you log into the database as SYSMAN successfully using a different client?
-
Log in to OMS database is successful not problem. However i cannot connect by EMCLI as sysman. I will post the contents soon. Thanks for your time and efforts.
-
Do i have to use fully qualified domain name while setting up EMCLI like below ?
/emcli setup -username=sysman -password="<sysman_password>" -url="https://<OMS_HOSTNAME>.domain.com:7799/em"
-
Aug 13, 2014 4:04:36 PM oracle.sysman.emCLI.verb.SetupVerb execute
INFO: SETUP: localdir=E:\RAC\product\11.2.0\dbhome\emcli, omsurl=https://xxxxxxxxx:7800/em, username=sysman, trustall=true, validate=false, autologin=true, certvalidate=true
Aug 13, 2014 4:04:41 PM oracle.sysman.emCLI.verb.SetupVerb saveUserOmsProps
INFO: trying to save oms props
Aug 13, 2014 4:04:41 PM oracle.sysman.emCLI.verb.SetupVerb saveUserOmsProps
INFO: OMS props saved
Aug 13, 2014 4:07:54 PM oracle.sysman.emCLI.verb.SynchronizeVerb execute
SEVERE:
oracle.sysman.emCLI.omsbrowser.HttpConnectionException:
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:618)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:595)
at oracle.sysman.emCLI.verb.SynchronizeVerb.synchronize(SynchronizeVerb.java:280)
at oracle.sysman.emCLI.verb.SynchronizeVerb.execute(SynchronizeVerb.java:162)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:540)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.sysman.emSDK.emCLI.CLIController.go(CLIController.java:343)
at oracle.sysman.emSDK.emCLI.CLIController.main(CLIController.java:157)
Caused by: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.testURL(OMSBrowser.java:1248)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:611)
... 10 more
-
If you were using the java8u20, then please try jdk-7u67. I got the same error and was able to setup
successfully now after installing Java 7.
Also add the -dir= parameter at the end
Hope this helps.
Sujith