Oracle 12c (12.1.0.4) Agent Installation :
Silent Method (Using Agent Deployment Script)
Failed with SEVERE: Agent configuration has failed
with the exception: For input string: ""
Silent Method (Using Agent Deployment Script)
Failed with SEVERE: Agent configuration has failed
with the exception: For input string: ""
Enterprise Manager Cloud - Version 12.1.0.4.0 (Release 4)
Approach Support ID : Doc ID 1506983.1
Installation of 12c agent using Silent Method failed with the
following error:
WARNING: oracle.sysman.top.agent:SEVERE: Agent configuration has failed with the exception:For input string: ""
agentDeploy_2015-06-23_18-37-39-PM.log file has the following errors:
more
/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-06-23_18-37-39-PM.log
Update home dependency completed successfully.
INFO: Executing command:
/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/oui/bin/runConfig.sh
ORACLE_HOME=/u01/app/oracle/Agent12cR4/core/12.1.0.4
.0 RESPONSE_FILE=/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/agent.rsp
ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11
_1_0_1_0.xml} RERUN=true
INFO: Setting the invPtrLoc to
/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/oraInst.loc
INFO:
INFO:
perform - mode is starting for action: configure
INFO:
INFO:
java.lang.NumberFormatException: For input string: ""
INFO: at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
INFO: at java.lang.Integer.parseInt(Integer.java:470)
INFO: at
java.lang.Integer.parseInt(Integer.java:499)
INFO: at
oracle.sysman.agent.config.AgentConfiguration.perform(AgentConfiguration.java:277)
INFO: at
oracle.sysman.agent.config.AgentConfiguration$RunPlug.run(AgentConfiguration.java:1257)
INFO:
SEVERE: Agent configuration has failed with the exception:For input string:
""
INFO:
INFO:
perform - mode finished for action: configure
INFO:
INFO: You can see the log file:
/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/cfgtoollogs/oui/configActions2015-06-23_06-38-08-PM.log
INFO: Plugin homes:
INFO: Plugin homes:
INFO:
/u01/app/oracle/Agent12cR4/core/12.1.0.4.0/oui/bin/runConfig.sh
ORACLE_HOME=/u01/app/oracle/Agent12cR4/core/12.1.0.4.0 RESPONSE_FILE=/u
01/app/oracle/Agent12cR4/core/12.1.0.4.0/agent.rsp
ACTION=configure MODE=perform
COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN
=true completed with status=3
SEVERE:
ERROR: Agent
Configuration Failed
SEVERE:
ERROR: Agent
Deployment Failed
CAUSE
Response
File contains an empty parameter.
AGENT_PORT=
[oracle@rac127 AGENT_12C]$ more agent.rsp
####################################################################
## copyright (c) 1999, 2012 Oracle. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
##
##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## ##
## Please specify the values in the following format: ##
##
##
## Type Example ##
## String "Sample Value" ##
## Boolean True or False ##
## Number 1000 ##
## StringList {"String value 1","String
Value 2"} ##
## ##
## The values that are given as <Value Required> need to
be ##
## specified for a silent installation to be successful. ##
##
##
##
##
## This response file is generated by Oracle Software ##
## Packager.
##
###################################################################
RESPONSEFILE_VERSION=2.2.1.0.0
#-------------------------------------------------------------------------------
#OMS_HOST:<String> OMS host info required to connect to OMS
#EM_UPLOAD_PORT:<String> OMS port info required to connect
to OMS
#AGENT_REGISTRATION_PASSWORD:<String> Agent Registration
Password needed to
# establish a secure
connection to the OMS.
#AGENT_INSTANCE_HOME:<String> Agent instance home is the
location of agent state directory.
#AGENT_PORT:<String> Agent port on which the agent process
should be started.
#b_startAgent:<boolean> Agent will not be started after
configuration if the value specified is false.
#ORACLE_HOSTNAME:<String> Fully qualified domain name of
host where is the agent is deployed.
#s_agentHomeName:<String>Customized Oracle home name for the
agent home. Example: s_agentHomeName="agent12gR1"
#-------------------------------------------------------------------------------
#OMS_HOST=<Value Unspecified>
#EM_UPLOAD_PORT=<Value Unspecified>
#AGENT_REGISTRATION_PASSWORD=<Value Unspecified>
#AGENT_INSTANCE_HOME=<Value Unspecified>
#AGENT_PORT=<Value Unspecified>
b_startAgent=true
#ORACLE_HOSTNAME=<Value Unspecified>
#s_agentHomeName=<Value Unspecified>
#-------------------------------------------------------------------------------
#s_agentSrvcName:<String> Sets the agent Service Name and
this variable can be
# used to overrite the
agent service name calculated by the install. This is
# required for only
Windows.
# Example:
# s_agentSrvcName =
"GridAgent" ; User specified value
#-------------------------------------------------------------------------------
#s_agentSrvcName=""
####################################################################################
#Please Don't change the values of these variables
####################################################################################
#-------------------------------------------------------------------------------
#EM_INSTALL_TYPE:<STRING> install type
#-------------------------------------------------------------------------------
EM_INSTALL_TYPE="AGENT"
OMS_HOST=oem250.ora.com
EM_UPLOAD_PORT=4903
AGENT_REGISTRATION_PASSWORD=amit1234
AGENT_INSTANCE_HOME=/u01/app/oracle/Agent12cR4
AGENT_PORT=
b_startAgent=true
ORACLE_HOSTNAME=rac127.ora.com
s_agentHomeName="agent12gR4"
Mandatory Parameters can
not be passed empty. Either they should be with comment symbol or with any value.
Example:
AGENT_PORT=3872
####################################################################################
#Please Don't change the values of
these variables
####################################################################################
#-------------------------------------------------------------------------------
#EM_INSTALL_TYPE:<STRING>
install type
#-------------------------------------------------------------------------------
EM_INSTALL_TYPE="AGENT"
OMS_HOST=oem250.ora.com
EM_UPLOAD_PORT=4903
AGENT_REGISTRATION_PASSWORD=amit1234
AGENT_INSTANCE_HOME=/u01/app/oracle/Agent12cR4
AGENT_PORT=3872
b_startAgent=true
ORACLE_HOSTNAME=rac127.ora.com
s_agentHomeName="agent12gR4"
Once done in agent.rsp (response file), retry the installation
No comments:
Post a Comment