OEM 12c agent install on windows server 2008
ZARdbaJul 18 2012 — edited Jul 19 2012Windows server 2008
OEM 12c agent 12.1.0.1.0
Hi there,
I'm trying to do a silent install of OEM12c agent on windows server 2008. I'm folllowing the advanced install guide but getting error's.
Here are the steps I have taken :
From OEM 12c host server :
E:\oracle\app\oms\oms\BIN\emcli login -username=sysman -password=passwd123
E:\oracle\app\oms\oms\BIN\emcli sync
E:\oracle\app\oms\oms\BIN\emcli get_supported_platforms
E:\oracle\app\oms\oms\BIN\emcli get_agentimage -destination=E:\temp -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.1.0
Copied over agent software to destination host
Add to the agent.rsp
OMS_HOST=abc1236.xxx.corp
EM_UPLOAD_PORT=4899
AGENT_REGISTRATION_PASSWORD=passwd123
AGENT_INSTANCE_HOME="C:/oracle"
AGENT_PORT=
b_startAgent=true
ORACLE_HOSTNAME=xxx.corp
s_agentHomeName=agent12gR1
C:\Users\sadmin>C:\software\12.1.0.1.0_AgentCore_233\agentDeploy.bat AGENT_BASE_DIR=C:/oracle RESPONSE_FILE=C:\software\12.1.0.1.0_AgentCore_233
C:\software\12.1.0.1.0_AgentCore_233
Present working directory:C:\software\12.1.0.1.0_AgentCore_233
Archive location:C:\software\12.1.0.1.0_AgentCore_233 directory
AGENT_BASE_DIR
AGENT_BASE_DIR
C:/oracle
Agent base directory:C:/oracle
C:/oracle
RESPONSE_FILE
C:\software\12.1.0.1.0_AgentCore_233
Agent base directory:C:/oracle
OMS Host:
Agent image loc : "C:\software\12.1.0.1.0_AgentCore_233"
Invalid switch - "oracle\tmp.txt".
C:/oracle configonlyfalse
Reading the properties file: "C:\software\12.1.0.1.0_AgentCore_233"\agentimage.properties
1 file(s) copied.
This is the version 12.1.0.1.0
This is the type core
This is the aru id 233
"Validating the OMS_HOST & EM_UPLOAD_PORT"
"C:/oracle\core\12.1.0.1.0"
The syntax of the command is incorrect.
"Executing command : C:/oracle\core\12.1.0.1.0\jdk\bin\java -classpath C:/oracle\core\12.1.0.1.0\jlib\agentInstaller.jar:C:/oracle\core\12.1.0.1.
0\oui\jlib\OraInstaller.jar oracle.sysman.agent.installer.AgentInstaller C:/oracle\core\12.1.0.1.0 "C:\software\12.1.0.1.0_AgentCore_233" C:/orac
le -prereq"
java.io.FileNotFoundException: C:\software\12.1.0.1.0_AgentCore_233 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.agent.installer.AgentInstaller.main(AgentInstaller.java:147)
java.io.FileNotFoundException: C:\software\12.1.0.1.0_AgentCore_233 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.agent.installer.AgentInstaller.main(AgentInstaller.java:147)
java.io.FileNotFoundException: C:\software\12.1.0.1.0_AgentCore_233 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.agent.installer.AgentInstaller.main(AgentInstaller.java:147)
java.io.FileNotFoundException: C:\software\12.1.0.1.0_AgentCore_233 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.agent.installer.AgentInstaller.main(AgentInstaller.java:147)
java.io.FileNotFoundException: C:\software\12.1.0.1.0_AgentCore_233 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.agent.installer.AgentInstaller.main(AgentInstaller.java:147)
ERROR: OMS_HOST cannot be null.
"Validating OMS_HOST & EM_UPLOAD_PORT failed."
Please help