My Oracle Support Banner

EM 12c, 13c: Agent Secure Fails with Error "The OMS is not set up for Enterprise Manager Security" Reporting in secure.log File (Doc ID 2706888.1)

Last updated on SEPTEMBER 19, 2020

Applies to:

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

Symptoms

Securing any of the agents in the environment fails with the following errors:

$ ./emctl secure agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Agent successfully restarted... Done.
Securing agent... Failed.

AGENT_INST_HOME/sysman/log/secure.log  

2020-08-20 01:52:43,045 [main] INFO agent.SecureAgentCmd openPage.870 - Response body: <head><title>OMS is unavailable</title></head><body><br><br><div align=center><b><font size=5>Backend WLS or EM application seems to be down</font></b><br><b><font size=5>Retry</font></b></div></body>
2020-08-20 01:52:43,045 [main] INFO agent.SecureAgentCmd getOMSSecurePort.814 - Non-numeric response obtained: <head><title>OMS is unavailable</title></head><body><br><br><div align=center><b><font size=5>Backend WLS or EM application seems to be down</font></b><br><b><font size=5>Retry</font></b></div></body>
2020-08-20 01:52:43,046 [main] INFO agent.SecureAgentCmd getOMSSecurePort.816 - OMS Secure Port: -1
2020-08-20 01:52:43,046 [main] ERROR agent.SecureAgentCmd secureAgent.289 - The OMS is not set up for Enterprise Manager Security.
2020-08-20 01:52:43,048 [main] ERROR agent.SecureAgentCmd main.260 - Failed to secure the Agent:
java.lang.Exception: The OMS is not set up for Enterprise Manager Security.
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:290)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:247)

Accessing EM Console URL also gives an error "Backend WLS or EM application seems to be down" though 'emctl status oms' shows all the components of EM are UP.

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


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