My Oracle Support Banner

Securing Agent Fails with Error 'OMS is not set up for Enterprise Manager Security' (Doc ID 1918124.1)

Last updated on FEBRUARY 25, 2020

Applies to:

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

Symptoms

Securing Agent Fails and error below is logged in secure.log

21-07-2014 12:25:18] USERINFO ::Securing agent... Started.
2014-07-21 12:25:24,835 [main] INFO agent.SecureAgentCmd secureAgent.237 - Requesting an HTTPS Upload URL from the OMS
2014-07-21 12:25:24,838 [main] INFO agent.SecureAgentCmd openPage.840 - Opening:https://<OMS HOSTNAME>:<UPLOAD PORT>/empbs/genwallet
2014-07-21 12:25:25,825 [main] INFO agent.SecureAgentCmd openPage.866 - Response Status Code: 200
2014-07-21 12:25:25,827 [main] INFO agent.SecureAgentCmd openPage.874 - RESPONSE_STATUS header: null
2014-07-21 12:25:25,827 [main] INFO agent.SecureAgentCmd openPage.875 - Response body: <html><head><base target="_self"></head><body onLoad="document.myForm.submit()"><noscript><p>JavaScript is required. Enable JavaScript to use OAM Server.</p></noscript><form action="https://<OMS HOSTNAME>:<UPLOAD PORT>/CustomLoginPage/ssogenericlogin.jsp" method="post" name="myForm"><input type="hidden" name="authn_try_count" value="0"><input type="hidden" name="contextType" value="external"><input type="hidden" name="username" value="string"><input type="hidden" name="contextValue" value="/oam"><input type="hidden" name="password" value="sercure_string"><input type="hidden" name="challenge_url" value="https://OAM_HOSTNAME:4443/CustomLoginPage/ssogenericlogin.jsp"><input type="hidden" name="max-age" value="43200"><input type="hidden" name="request_id" value="-5163931179704394393"><input type="hidden" name="OAM_REQ" value="VERSION_4~4ptHEEABpftNjSykS71OLMQqDlPfOoAyPmOMh8RUG2ca8I/lJWxag5FxN8rcRU0U40nz6YQG/Ew+9S7P9188IOiT/S29VF5Zzt/9x4ZamKaDmODeuL31H+p22c8bSy6zFf+roubwRqqjAnzQcNmK/5sF5JoKkP7mWQe8oDu7OqZWsULOS8CBYUxPYhLg1w87IHNVUW02zk0xatJxvuf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n1cKj"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="resource_url" value="https://<OMS HOSTNAME>:<UPLOAD PORT>:4901/empbs/genwallet?reqAgentSecVer=12.1.0.2.0&reqstatus=query"></form></body></html>
2014-07-21 12:25:25,827 [main] INFO agent.SecureAgentCmd getOMSSecurePort.820 - Non-numeric response obtained: <html><head><base target="_self"></head><body onLoad="document.myForm.submit()"><noscript><p>JavaScript is required. Enable JavaScript to use OAM Server.</p></noscript><form action="https://OMA_HOSTNAME:4443/CustomLoginPage/ssogenericlogin.jsp" method="post" name="myForm"><input type="hidden" name="authn_try_count" value="0"><input type="hidden" name="contextType" value="external"><input type="hidden" name="username" value="string"><input type="hidden" name="contextValue" value="/oam"><input type="hidden" name="password" value="sercure_string"><input type="hidden" name="challenge_url" value="https://OAM_HOSTNAME:4443/CustomLoginPage/ssogenericlogin.jsp"><input type="hidden" name="max-age" value="43200"><input type="hidden" name="request_id" value="-5163931179704394393"><input type="hidden" name="OAM_REQ" value="VERSION_4~4ptHEEABpftNjSykS71OLMQqDlPfOoAyPmOMh8RUG2ca8I/lJWxag5FxN8rcRU0U40nz6YQG/Ew+9S7P9188IOiT/S29VF5Zzt/9x4ZamKaDmODeuL31H+p22c8bSy6zFf+roubwRqqjAnzQcNmK/5sF5JoKkP7mWQe8oDu7OqZWsULOS8CBYUxPYhLg1w87IHNVUW02zk0xatJxvuf0EqrFFKvoDhBx/OA7NgPseeKRMl20QXai+t5AX8VSO1ADox2cry3axJaLefyD7BlaqlHhx0n1kZsoPN1JgWKUZHduY3FWFE/kl+y1ZAkQe3DP8Q4m/j4Q7lUhqJbwQvyzp1LfM9MedVJC61dmmChuxexgTX6NuHcohuAcfA2w5jiqHWYDw+27RbN3q2Pz/MOrawjq0rH0ekKQioBoRVa4OMYtQPOI4molQr76H68nttr4uYycKFyrx+h1/APh6L9Idy44pKOZFNsENkV9Adi/z2dk3w7OGLO2SBQjDM24a0GOrjDIQUjdRWQGeJnSa0s5HqnNOx40aiaug9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ekeZ+ck5e0U+zy3WwH3hk8VaiRBFGU77pRifvkW0P4eBDLDQgJAEg9c7AROZv0Pt8Ounq3MyNr/p1b0u6AYcqL8hmBMVGUVttHq6LwBi0K3l4HBTCP7XU4WZvGfrAZmNlr63F0UDHTWUN0MCtZhGZ5K73eDkchK3lm7mE5hlrj/OsswFOcv5xuBr889CVdJSB+t58xHINXAX4fesoW0O4WgLMZmgevLOVNZ7he3MGWh6d89XcRFTHcCp9ZN7iMTgL7Hl1poYifbKIcYI/iokhx/31HkD9Er+2mM6YEb9Q0A0/cS3oY670j8FvVDG4mqyyJRmsMEDV1PFbZySg+tXnwnY1rPXtDc7x+B+keKvfMmRejqEITgypPouoq2mkZlBdXrAd0rzb9pvxSaJZxv0T6agq6eajlTpHuF01i6ewZupsHlkvcIYdCziiSQw5bbOtHv6gUmFGDQOSfln/TfDI5CAgZxiSTj4IM5nv2cj2mTCh0hKi1065x/Qu1atNs5Mxz3WNu1MMkOuS3blHVJdNI2A0OU9Mo2z2MkUM9ir9T4z3tsMPwd6EmCEohfUuaXLmM0LBvmWXDThzmo27PqqvyWuvOXFo+q/uPi6p7Poh5Gq2bB/uPT2/PPUaUYfl+s7ZNQ8H7fpJGehcQxfbFzV0pcWqHYuzrK/hYfNweBhgZfPHW5xwVFS7KYZTBHK7w4Dhb5HJ7Qtd1ZM09CTsIPI3UG9702BSA0p10DNpv5/n1cKj"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="resource_url" value="https://OMS_HOSTNAME:4901/empbs/genwallet?reqAgentSecVer=12.1.0.2.0&reqstatus=query"></form></body></html>


2014-07-21 12:25:25,827 [main] INFO agent.SecureAgentCmd getOMSSecurePort.822 - OMS Secure Port: -1
2014-07-21 12:25:25,827 [main] ERROR agent.SecureAgentCmd secureAgent.242 - The OMS is not set up for Enterprise Manager Security.
2014-07-21 12:25:25,829 [main] ERROR agent.SecureAgentCmd main.214 - 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:243)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:207)

 

Changes

 OMS is Authenticated and Accessed using an SSO Server (OAM SSO in this case)

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
References


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