Hello -
OMS is running on Windows 2019 with oracle 19c and trying to install agent on windows 2016 running oracle 12.2.I copied the agent to target machine and ran agentdeploy.bat with response file. It fails everytime with agent config has failed. Below is the log. I see connection refused error but dont know how to resolve it as i've verified that port is open. Kindly advise.
INFO: Parametes passed to agent configuration are:
1.ORACLE_HOME=c:\oracle\product\agent13c\agent_13.5.0.0.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=wfivm01245.us.oracle.com
4.b_doDiscovery=true
5.AGENT_BASE_DIR=c:\oracle\product\agent13c
6.AGENT_INSTANCE_HOME=c:\oracle\product\agent13c\agent_inst
7.s_hostname=wfivm01245.us.oracle.com
8.OMS_HOST=wfivm02600.us.oracle.com
9.START_AGENT=true
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=1159
14.b_forceAgentDefaultPort=false
15.PROPERTIES_FILE=
16.b_skipValidation=false
17.REMOTE_AGENT=false
INFO: The value of chainInstall : false forceConfigure : false skipValidation : false
INFO: Validating oms host & port with url: https://wfivm02600.us.oracle.com:1159/empbs/genwallet
INFO: Return Status in https block:0
INFO: Validating oms host & port with url: http://wfivm02600.us.oracle.com:1159/empbs/genwallet
SEVERE: Connection refusedUnexpected end of file from server ret 0
INFO: Sbin Home is : https
INFO: The free port value is oracle.sysman.agent.util.AgentPortHandler@131276c2
INFO: Trying for host : wfivm01245/10.22.71.220 and port : 3872
INFO: Trying for host : wfivm01245/0:0:0:0:0:0:0:1 and port : 3872
INFO: Trying for host : /127.0.0.1 and port : 3872
INFO: Trying port : 3872
INFO: Trying Socket port : 3872
INFO: ** Agent Port Check completed successfully.**
INFO: Agent Port from User Passed Port3872 skip validation false
INFO: Paths after canonical format conversions are :
1. state_dir=C:\oracle\product\agent13c\agent_inst
2. agentBaseDir=C:\oracle\product\agent13c
3. oracleHome=C:\oracle\product\agent13c\agent_13.5.0.0.0
INFO: Parent directory of agent instance home:C:\oracle\product\agent13c
INFO: Executing command: c:\oracle\product\agent13c\agent_inst
INFO: replaceDelims:substitutions made=1 in line=' set DEFAULT_EMSTATE=#DEFAULT_EMSTATE#' for token='#DEFAULT_EMSTATE#' replaced with value='c:\oracle\product\agent13c\agent_inst'
INFO: InstantiateFile:Substitutions made=1, destination file=C:\oracle\product\agent13c\agent_13.5.0.0.0\bin\emctl.bat
INFO: AgentConfiguration:configAgent:Calling the configration for C:\oracle\product\agent13c\agent_13.5.0.0.0 and hosts=wfivm01245.us.oracle.com returned Port to Use=3872
INFO:
Agent install prerequisites completed successfully
INFO:
Cloning the agent home...
INFO: Plugin homes:
INFO: Plugin homes:
SEVERE: STDERR:
STDOUT=
INFO: The command: cmd /c set NEED_EXIT_CODE=1&&C:\oracle\product\agent13c\agent_13.5.0.0.0\bin\emctl.bat deploy agent -L -o wfivm02600.us.oracle.com:1159 -N c:\oracle\product\agent13c\agent_inst wfivm01245.us.oracle.com:3872 wfivm01245.us.oracle.com completed with status=-1073741515
INFO: emctl deploy agent command has failed.
INFO: Exit value 0
INFO: AgentUpgradeMain Service "Oracleagent13c1Agent" create SUCCESS
INFO: Successfully created service Oracleagent13c1Agent
INFO: Writing following contents to c:\oracle\product\agent13c\agent_inst\install\deploy.success file:
INFO: Command is empty.
INFO: Executing command:cmd /c set NEED_EXIT_CODE=1&&c:\oracle\product\agent13c\agent_inst\bin\emctl.bat setproperty agent -name agentBaseDir -value C:\oracle\product\agent13c
INFO: Plugin homes:
INFO: The system cannot find the path specified.
INFO: Plugin homes:
SEVERE: STDERR:
The system cannot find the path specified.
STDOUT=
INFO: emctl setproperty agent command has failed.
INFO: Agent configuration has failed