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

Last updated on AUGUST 18, 2014

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://vgdclohsws101.corp.intranet: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%2flJWxag5FxN8rcRU0U40nz6YQG%2fEw%2b9S7P9188IOiT%2fS29VF5Zzt%2f9x4ZamKaDmODeuL31H%2bp22c8bSy6zFf%2broubwRqqjAnzQcNmK%2f5sF5JoKkP7mWQe8oDu7OqZWsULOS8CBYUxPYhLg1w87IHNVUW02zk0xatJxvuf0EqrFF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UYfl%2bs7ZNQ8H7fpJGehcQxfbFzV0pcWqHYuzrK%2fhYfNweBhgZfPHW5xwVFS7KYZTBHK7w4Dhb5HJ7Qtd1ZM09CTsIPI3UG9702BSA0p10DNpv5%2fn1cKj"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="resource_url" value="https%3A%2F%2Filsv0496.test.qintra.com%3A4901%2Fempbs%2Fgenwallet%3FreqAgentSecVer%3D12.1.0.2.0%26reqstatus%3Dquery"></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%2flJWxag5FxN8rcRU0U40nz6YQG%2fEw%2b9S7P9188IOiT%2fS29VF5Zzt%2f9x4ZamKaDmODeuL31H%2bp22c8bSy6zFf%2broubwRqqjAnzQcNmK%2f5sF5JoKkP7mWQe8oDu7OqZWsULOS8CBYUxPYhLg1w87IHNVUW02zk0xatJxvuf0EqrFFKvoDhBx%2fOA7NgPseeKRMl20QXai%2bt5AX8VSO1ADox2cry3axJaLefyD7BlaqlHhx0n1kZsoPN1JgWKUZHduY3FWFE%2fkl%2by1ZAkQe3DP8Q4m%2fj4Q7lUhqJbwQvyzp1LfM9MedVJC61dmmChuxexgTX6NuHcohuAcfA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eNUKoGScn6aV7TKKv%2fUMmSejEA7EfE6sLIG6CMRSTt6AwEe2X4jcHFt3T2kW%2fDqOS63ZSd3vhxQHt0g8UsXi6PhB7HFcQtJh4gWaoMuL99CVGFhoUduLFBpUS%2fSQs7p6NKaiGVlP3taFMOHAhK%2bo4ouFUU%2fD1%2bZf2KiphsUukTL6L0dU%2b99VN9Z0DHW9BUfZ8eEWWWzHBuoFRDg9ACmCsLmtYr4ekeZ%2bck5e0U%2bzy3WwH3hk8VaiRBFGU77pRifvkW0P4eBDLDQgJAEg9c7AROZv0Pt8Ounq3MyNr%2fp1b0u6AYcqL8hmBMVGUVttHq6LwBi0K3l4HBTCP7XU4WZvGfrAZmNlr63F0UDHTWUN0MCtZhGZ5K73eDkchK3lm7mE5hlrj%2fOsswFOcv5xuBr889CVdJSB%2bt58xHINXAX4fesoW0O4WgLMZmgevLOVNZ7he3MGWh6d89XcRFTHcCp9ZN7iMTgL7Hl1poYifbKIcYI%2fiokhx%2f31HkD9Er%2b2mM6YEb9Q0A0%2fcS3oY670j8FvVDG4mqyyJRmsMEDV1PFbZySg%2btXnwnY1rPXtDc7x%2bB%2bkeKvfMmRejqEITgypPouoq2mkZlBdXrAd0rzb9pvxSaJZxv0T6agq6eajlTpHuF01i6ewZupsHlkvcIYdCziiSQw5bbOtHv6gUmFGDQOSfln%2fTfDI5CAgZxiSTj4IM5nv2cj2mTCh0hKi1065x%2fQu1atNs5Mxz3WNu1MMkOuS3blHVJdNI2A0OU9Mo2z2MkUM9ir9T4z3tsMPwd6EmCEohfUuaXLmM0LBvmWXDThzmo27PqqvyWuvOXFo%2bq%2fuPi6p7Poh5Gq2bB%2fuPT2%2fPPUaUYfl%2bs7ZNQ8H7fpJGehcQxfbFzV0pcWqHYuzrK%2fhYfNweBhgZfPHW5xwVFS7KYZTBHK7w4Dhb5HJ7Qtd1ZM09CTsIPI3UG9702BSA0p10DNpv5%2fn1cKj"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="resource_url" value="https%3A%2F%2FOMS_HOSTNAME%3A4901%2Fempbs%2Fgenwallet%3FreqAgentSecVer%3D12.1.0.2.0%26reqstatus%3Dquery"></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

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 hundreds of Community platforms