12C agent deploy failing on windows

From: Jeffrey Beckstrom <JBECKSTROM_at_gcrta.org>
Date: Wed, 02 Apr 2014 14:13:20 -0400
Message-Id: <533C1B000200000B0051E8A6_at_groupwise.gcrta.org>



Running the agentpull.bat script at it failed at the end with: Performing the agent configuration...
Executing command: f:\OracleHomes\agent12c\core\12.1.0.3.0\oui\bin\runConfig.bat  ORACLE_HOME=f:\OracleHomes\agent12c\core\12.1.0.3.0 RESPONSE_FILE=f:\OracleHome s\agent12c\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML ={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true Configuration Log Location:f:\OracleHomes\agent12c\core\12.1.0.3.0\cfgtoollogs\c fgfw\CfmLogger<timestamp>.log
ERROR: Agent Configuration Failed
U:\ent_mgr_12_1_0_3>  

In the agentdeploy log file we saw:

INFO: Update home deps end time:2014-04-01_13-42-27-PM
INFO: f:\OracleHomes\agent12c\core\12.1.0.3.0\oui\bin\setup.exe -debug   -ignoreSysPrereqs -updateHomeDeps -waitForCompletion HOME_DEPENDENCY_LIST={f:\OracleHomes\agent12c\sbin:f:\OracleHomes\agent12c\core\12.1.0.3.0} -invPtrLoc f:\OracleHomes\agent12c\core\12.1.0.3.0\oraInst.loc -force completed with status=-1
INFO: Update home dependency completed successfully.
INFO: Executing command: f:\OracleHomes\agent12c\core\12.1.0.3.0\oui\bin\runConfig.bat ORACLE_HOME=f:\OracleHomes\agent12c\core\12.1.0.3.0 RESPONSE_FILE=f:\OracleHomes\agent12c\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true
INFO: 
INFO: F:\OracleHomes\agent12c>REM Copyright (c) 2003, 2010, Oracle and/or its affiliates.  
INFO: 
INFO: F:\OracleHomes\agent12c>REM All rights reserved.  
INFO: 
INFO: F:\OracleHomes\agent12c>"C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\jdk\jre\bin\java" -classpath "C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\OraInstallerNet.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\OraInstaller.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\xmlparserv2.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\srvm.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\emCfg.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\share.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\ojmisc.jar;C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui\jlib\xml.jar" oracle.sysman.oii.oiic.OiicRunConfig C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3.0\oui ORACLE_HOME=f:\OracleHomes\agent12c\core\12.1.0.3.0 RESPONSE_FILE=f:\OracleHomes\agent12c\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true  
INFO: The system cannot find the path specified.
INFO: 
INFO: F:\OracleHomes\agent12c>exit /b 3 
INFO: Plugin homes:
INFO: Plugin homes:
INFO: f:\OracleHomes\agent12c\core\12.1.0.3.0\oui\bin\runConfig.bat ORACLE_HOME=f:\OracleHomes\agent12c\core\12.1.0.3.0 RESPONSE_FILE=f:\OracleHomes\agent12c\core\12.1.0.3.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
So we edited the runconfig.bat file replacing c:\ade\... references with the correct values and reran that portion. That errored complaining about a missing agent.rsp file. Created one based on agentdeploy instructions because those the missing variables matched the ones for that deployment method. However, it is still failing with references to c:\ade\... Any ideas as to what has to be changed to correct this. We are pursuing a SR but so far have not made any progress. Latest error shown is below. Also note the service name - why 11G? value passed to dir splitC:/ADE/v/oracle/work/Shiphome\oracle length of temp is2
Return value:C:\/ADE/v/oracle/work/Shiphome\oracle ** Agent Port Check completed successfully.** SEVERE:File handle exception:C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0.3. 0\install\oragchomelist (The system cannot find the path specified) java.io.FileNotFoundException: C:\ADE\v\oracle\work\Shiphome\oracle\core\12.1.0. 3.0\install\oragchomelist (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
at oracle.sysman.agent.config.AgentConfiguration.perform(AgentConfigurat ion.java:399)
at oracle.sysman.agent.config.AgentConfiguration$RunPlug.run(AgentConfig uration.java:1237)
SEVERE:Create service for service name:Oracleagent11gR2Agent has failed.

Jeffrey Beckstrom
Database Administrator
Information Systems
Greater Cleveland Regional Transit Authority 1240 W. 6th Street
Cleveland, Ohio 44113

.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 02 2014 - 20:13:20 CEST

Original text of this message