My Oracle Support Banner

EM 12c: Agent Deployment fails at Securing Agent with error: java.lang.Exception: INIT operation failed ERROR:203:Invalid agent registration password (Doc ID 1490588.1)

Last updated on FEBRUARY 01, 2022

Applies to:

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

Symptoms

The Agent Deployment from Enterprise Manager 12c Cloud Console fails at Securing Agent with the error:

From <OMS_HOME>/sysman/prov/log/AgentPush<timestamp>.log:

2012-07-30_15-34-27:INFO:Targets.xml on oms does not exist <OMS_HOME>/sysman/prov/agentpush/2012-07-30_15-18-09-PM/targets/<AGENT_HOSTNAME>_targets.xml
2012-07-30_15-34-27:INFO: ACTION Addition of Host and Agent Targets
2012-07-30_15-34-27:INFO: OUT null
2012-07-30_15-34-27:INFO: ERR null
2012-07-30_15-34-27:INFO: EXIT CODE0
2012-07-30_15-34-27:INFO:InvocationTargetException Exception
2012-07-30_15-34-27:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Caused by: CommandException: err: null out: null exitcode: 0
stacktrace: null
       at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.addInternalTargetsFromOms(BaseDeployerOps.java:422)
       at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doSecureAgent(BaseDeployerOps.java:667)

2012-07-30_15-34-27:INFO:=========Command Exception :Error Message:Not Available<br><br> Exit Code :0
2012-07-30_15-34-27:INFO:Updating Action SecureAgentwith Status FAILED and error Message :Error Message:Not Available
Exit Code :0 and problem Addition of Host and Agent Targets Failed and recommendation Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
               <AGENT_BASE_DIR>/agent_inst/bin/emctl secure agent
              <AGENT_BASE_DIR>/agent_inst/bin/emctl start agent
              <AGENT_BASE_DIR>/agent_inst/bin/emctl config agent addinternaltargets
2012-07-30_15-34-27:INFO:=================action status is not empty FAILED

From <AGENT_BASE_DIR>/agent_inst/sysman/log/secure.log:

[30-07-2012 13:24:53] USERINFO ::Securing agent...   Started.
2012-07-30 13:24:53,781 [main] INFO  agent.SecureAgentCmd secureAgent.235 - Requesting an HTTPS Upload URL from the OMS
2012-07-30 13:24:53,785 [main] INFO  agent.SecureAgentCmd openPage.838 - Opening: https://<OMS_HOSTNAME>:<PORT>/empbs/genwallet
2012-07-30 13:24:55,124 [main] INFO  agent.SecureAgentCmd openPage.864 - Response Status Code: 200
2012-07-30 13:24:55,125 [main] INFO  agent.SecureAgentCmd openPage.872 - RESPONSE_STATUS header: OK
2012-07-30 13:24:55,126 [main] INFO  agent.SecureAgentCmd openPage.873 - Response body: 1159
2012-07-30 13:24:55,126 [main] INFO  agent.SecureAgentCmd getOMSSecurePort.820 - OMS Secure Port:  1159
2012-07-30 13:24:55,127 [main] INFO  agent.SecureAgentCmd secureAgent.256 - Requesting an Oracle Wallet and Agent Key from the OMS...
2012-07-30 13:24:55,131 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.373 - Performing INIT
2012-07-30 13:24:55,131 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.374 - Agent Host: <AGENT_HOSTNAME>
2012-07-30 13:24:55,132 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.375 - Agent Port: 3872
2012-07-30 13:24:55,132 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.376 - Agent Version: 12.1.0.1.0
2012-07-30 13:24:55,132 [main] INFO  agent.SecureAgentCmd openPage.838 - Opening: https:/<OMS_HOSTNAME>:<PORT>/empbs/genwallet
2012-07-30 13:24:55,268 [main] INFO  agent.SecureAgentCmd openPage.864 - Response Status Code: 200
2012-07-30 13:24:55,269 [main] INFO  agent.SecureAgentCmd openPage.872 - RESPONSE_STATUS header: ERROR:203:Invalid agent registration password
2012-07-30 13:24:55,269 [main] INFO  agent.SecureAgentCmd openPage.873 - Response body: ERROR:203:Invalid agent registration password
2012-07-30 13:24:55,270 [main] ERROR agent.SecureAgentCmd secureAgentWithOMS.391 - INIT operation failed: ERROR:203:Invalid agent registration password
2012-07-30 13:24:55,273 [main] ERROR agent.SecureAgentCmd main.212 - Failed to secure the Agent:
java.lang.Exception: INIT operation failed
       at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgentWithOMS(SecureAgentCmd.java:392)
       at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:257)
       at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:205)
[30-07-2012 13:24:55] USERINFO ::Securing agent...   Failed.

 

 

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.