Home > Oracle > Error: Connection to the current OMS could not be established. Check the log files for further details.

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

When you try and setup emcli from your workstation and run the following command


emcli setup -username=sysman -password=xxxxxxx  -url=http://ukem12x01.group.com:7801/em -trustall -autologin

I kept on getting the following error

Error: Connection to the current OMS could not be established. Check the log files for further details.
Log file location is : C:\Users\michael.dsouza\.emcli\.emcli.log

I tried the following and it seemed to setup successfully


$ ./emcli setup -url="http://ukem12x01.group.com:7801/em" -username="sysman" -trustall -novalidate
Oracle Enterprise Manager 12c Release 4.
Copyright (c) 1996, 2014 Oracle Corporation and/or its affiliates. All rights reserved.

Enter password

Emcli setup successful


$ ./emcli status
Oracle Enterprise Manager 12c Release 4 EM CLI.
Copyright (c) 1996, 2014 Oracle Corporation and/or its affiliates. All rights reserved.

Instance Home : C:\Users\michael.dsouza\.emcli
Verb Jars Home : null
Status : Configured
EM CLI Home : C:\emcli\.
EM CLI Version : 12.1.0.4.0
Java Home : C:\Program Files (x86)\Java\jre1.8.0_40
Java Version : 1.8.0_40
Log file : C:\Users\michael.dsouza\.emcli\.emcli.log
EM URL : http://ukem12x01.group.com:7801/em
EM user : sysman
Auto login : false
Trust all certificates : true

Advertisements
Categories: Oracle
  1. February 2, 2016 at 5:46 am

    Worked for me thanks..

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: