My Oracle Support Banner

EM 12c: Agent Status Fails With "Status agent Failure:unable to connect to http server at <agent_url> [failed to match hostname host1 with certificate DN CN=host2]' (Doc ID 2125236.1)

Last updated on AUGUST 17, 2018

Applies to:

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

Symptoms

12c agent start fails with following error:

<AGENT_INST_HOME>/bin>./emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Agent status could not be determined. Check the agent process
Consult emctl.log and emagent.nohup in: /opt/ora11g/product/agent12/agent_inst/sysman/log

Checking the agent Status shows following error:

<AGENT_INST_HOME>/bin>./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://agenthost.domain.com:1830/emd/lifecycle/main/. [failed to match hostname agenthost.domain.com with 
certificate DN CN=host2.domain.com]

       The hostnames shown in the error message are different hostnames.

 

       /core/12.1.0.5.0/cfgtoollogs/oui/configActions2016-04-05_02-42-12-PM.log


       Agent Configuration completed successfully
      Oracle Enterprise Manager Cloud Control 12c Release 5
      Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
      Agent status could not be determined. Check the agent process
      Consult emctl.log and emagent.nohup in: /opt/ora11g/product/agent12/agent_inst/sysman/log
      Verificando agente ...
      Oracle Enterprise Manager Cloud Control 12c Release 5
      Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
      ---------------------------------------------------------------
      Status agent Failure:unable to connect to http server at https://agenthost.domain.com:1830/emd/lifecycle/main/. [failed to match hostname agenthost.domain.com with certificate DN CN=agenthost]

 

OR

./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://agenthost.domain.com:3872/emd/lifecycle/main/. [failed to match hostname agenthost.domain.com with certificate DN CN=agenthost]

/cfgtoollogs/oui/configActions2016-04-05_02-42-12-PM.log
Agent Configuration completed successfully
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Agent status could not be determined. Check the agent process
Consult emctl.log and emagent.nohup in: /agent_inst/sysman/log
Verificando agente ...
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://agenthost.domain.com:1830/emd/lifecycle/main/. [failed to match hostname <hostname> with certificate DN CN=agenthost.domain.com]

The hostnames shown in the error are the fully qualified domain name (FQDN) and the short hostname.

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!


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