My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control emcli login or setup Commands Fail: Error: Login failed. Retry with correct hostname, port or username / password else check the log files for further details (Doc ID 2744702.1)

Last updated on MAY 13, 2021

Applies to:

Enterprise Manager Base Platform - Version 13.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Enterprise Manager (EM) 13.3 Cloud Control is authenticated with OAM SSO
The emcli login or setup commands fail with the following error: 

$ emcli login -username=sysman -password=*******
Error: Login failed. Retry with correct hostname, port or username / password else check the log files for further details.
Log file location is :<EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/.emcli.log

$ emcli setup -url="https://<OMS_Console_URL>/em" -nocertvalidate -trustall -noautologin -username=sysman
Oracle Enterprise Manager 13c Release 3.
Copyright (c) 1996, 2018 Oracle Corporation and/or its affiliates. All rights reserved.

Enter password
Error: Login failed. Retry with correct hostname, port or username / password else check the log files for further details.
Log file location is : /home/oracle/.emcli/.emcli.log

/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/.emcli.log

Jan 14, 2021 6:15:30 AM oracle.sysman.emCLI.verb.LoginVerb execute
SEVERE:
javax.security.auth.login.FailedLoginException
at oracle.sysman.emCLI.omsbrowser.LoginSystem.doEMLogin(LoginSystem.java:681)
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:249)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:930)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageCommon(OMSBrowser.java:854)

Changes

 

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
Changes
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.