This discussion is archived
1 Reply Latest reply: Aug 26, 2013 11:50 AM by Richard Harrison . RSS

Oracle 12c agent install fails with java error

rks Newbie
Currently Being Moderated

I am trying to install oracle 12c agent on windows(64 bit) server and my oracle OMS is running on unix server.

 

I have downloaded the agent using the below command and copied it to the destination server.

 

emcli get_agentimage -destination=/tmp/agentImage1 -platform="Microsoft Windows x64 (64-bit) " -version=12.1.0.2.0

 

When i tried to install the agent through a response file i am getting the below error.

Can anyone help me to resolve this issue..

 

Thanks in advance..

 

Please find the log details below..

 

 

 

 

 

D:\agentHome\AgentCore>agentDeploy.bat AGENT_BASE_DIR= D:\agentHome RESPONSE_FILE=agent.rsp

D:\agentHome\AgentCore

Present working directory:D:\agentHome\AgentCore

Archive location:D:\agentHome\AgentCore  directory

AGENT_BASE_DIR

AGENT_BASE_DIR

D:\agentHome

Agent base directory:D:\agentHome

D:\agentHome

RESPONSE_FILE

agent.rsp

Agent base directory:D:\agentHome

OMS Host:

Agent image loc : "D:\agentHome\AgentCore"

D:\agentHome configonlyfalse

Reading the properties file: "D:\agentHome\AgentCore"\agentimage.properties

        1 file(s) copied.

This is the version 12.1.0.2.0

This is the type core

This is the aru id 233

"Validating the OMS_HOST & EM_UPLOAD_PORT"

"D:\agentHome\core\12.1.0.2.0"

"Executing command : D:\agentHome\core\12.1.0.2.0\jdk\bin\java -classpath D:\agentHome\core\12.1.0.2.0\jlib\agentInstaller.jar:D:\agentHome\core\12.1.0.2.

t.installer.AgentInstaller D:\agentHome\core\12.1.0.2.0 "D:\agentHome\AgentCore" D:\agentHome -prereq"

 

Validating oms host & port with url: http://usa0300uz1302.apps.mc.xerox.com:4889/empbs/genwallet

Validating oms host & port with url: https://usa0300uz1302.apps.mc.xerox.com:4889/empbs/genwallet

Return status:0

"D:\agentHome\AgentCore"\12.1.0.2.0_PluginsOneoffs_233.zip

A duplicate file name exists, or the file

cannot be found.

'mv' is not recognized as an internal or external command,

operable program or batch file.

"Executing command : D:\agentHome\core\12.1.0.2.0\jdk\bin\java -classpath D:\agentHome\core\12.1.0.2.0\jlib\OraInstaller.jar:D:\agentHome\core\12.1.0.2.0\

12.1.0.2.0\jlib\xmlparserv2.jar:D:\agentHome\core\12.1.0.2.0\jlib\srvm.jar:D:\agentHome\core\12.1.0.2.0\jlib\emCfg.jar:D:\agentHome\core\12.1.0.2.0\sysman

nstaller.AgentInstaller D:\agentHome\core\12.1.0.2.0"

java.io.FileNotFoundException: agent.rsp (The system cannot find the file specified)

        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:178)

java.io.FileNotFoundException: agent.rsp (The system cannot find the file specified)

        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:178)

java.io.FileNotFoundException: agent.rsp (The system cannot find the file specified)

        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:178)

java.io.FileNotFoundException: agent.rsp (The system cannot find the file specified)

        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:178)

 

 

Executing agent install prereqs...

Executing command: D:\agentHome\core\12.1.0.2.0\oui\bin\setup.exe -ignoreSysPrereqs -prereqchecker -silent -ignoreSysPrereqs -waitForCompletion  -prereqlo

agentDeploy -entryPoint oracle.sysman.top.agent_Complete -detailedExitCodes PREREQ_CONFIG_LOCATION=D:\agentHome\core\12.1.0.2.0\prereqs

Prereq Logs Location:D:\agentHome\core\12.1.0.2.0\cfgtoollogs\agentDeploy\prereq<timestamp>.log

Agent install prereqs completed successfully

 

Cloning the agent home...

Executing command: D:\agentHome\core\12.1.0.2.0\oui\bin\setup.exe -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=D:\a

sp  AGENT_BASE_DIR=D:/agentHome AGENT_BASE_DIR= RESPONSE_FILE=agent.rsp -noconfig  ORACLE_HOME_NAME=agent12c1 -force b_noUpgrade=true AGENT_PORT=-1

Clone Action Logs Location:C:\Program Files\Oracle\Inventory\logs\cloneActions<timestamp>.log

Cloning of agent home completed successfully

 

Attaching sbin home...

Executing command: D:\agentHome\core\12.1.0.2.0\oui\bin\setup.exe -ignoreSysPrereqs -attachHome -waitForCompletion -nowait ORACLE_HOME=D:\agentHome\sbin O

Attach Home Logs Location:D:\agentHome\core\12.1.0.2.0\cfgtoollogs\agentDeploy\AttachHome<timestamp>.log

Attach home for sbin home completed successfully.

 

Updating home dependencies...

Executing command: D:\agentHome\core\12.1.0.2.0\oui\bin\setup.exe -ignoreSysPrereqs -updateHomeDeps -waitForCompletion HOME_DEPENDENCY_LIST={D:\agentHome\

D:\agentHome\core\12.1.0.2.0\oraInst.loc -force

Update Home Dependencies Location:D:\agentHome\core\12.1.0.2.0\cfgtoollogs\agentDeploy\UpdateHomeDeps<timestamp>.log

Update home dependency completed successfully.

 

Performing the agent configuration...

Executing command: D:\agentHome\core\12.1.0.2.0\oui\bin\runConfig.bat ORACLE_HOME=D:\agentHome\core\12.1.0.2.0 RESPONSE_FILE=D:\agentHome\core\12.1.0.2.0\

ENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true

Configuration Log Location:D:\agentHome\core\12.1.0.2.0\cfgtoollogs\cfgfw\CfmLogger<timestamp>.log

ERROR: Agent Configuration Failed

D:\agentHome\AgentCore>

  • 1. Re: Oracle 12c agent install fails with java error
    Richard Harrison . Expert
    Currently Being Moderated

    Hi,

    can you rerun using the full path to the response file in your command?

     

    RESPONSE_FILE=d:\xxxxxx\agent.rsp

     

    also does the zip you downloaded contain the plugins file twice somehow? I'd ont think the error should matter it just seems strange.

     

    cheers,

    harry

     

    <moderator edit - removed link to personal blog - pl see FAQ link on top right of this page>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points