EM12c : Securing agent fails with : NumberFormatException
(Doc ID 2154682.1)
Last updated on FEBRUARY 19, 2020
Applies to:
Enterprise Manager Base Platform - Version 12.1.0.4.0 and laterInformation in this document applies to any platform.
Symptoms
Securing the Enterprise Manager (EM) Cloud Control agent fails,
$ ./emctl secure agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Agent successfully restarted... Done.
Securing agent... Failed.
Securing agent with SLB & Direct OMS URL also fails with the same error. Stack from secure log file below,
Agent secure with SLB URL:
2016-06-17 14:01:33,673 [main] ERROR agent.SecureAgentCmd main.257 - Failed to secure the Agent:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getProxyInfo(SecureAgentCmd.java:1130)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:269)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:244)
Agent secure with Direct OMS URL:
2016-06-21 11:26:12,767 [main] ERROR agent.SecureAgentCmd main.257 - Failed to secure the Agent:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getProxyInfo(SecureAgentCmd.java:1130)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:269)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:244)
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 |