RE: 12C agent deploy failing on windows

From: Peter Sharman <pete.sharman_at_oracle.com>
Date: Mon, 28 Apr 2014 15:34:05 -0700 (PDT)
Message-ID: <be8a2fb1-82e8-4df4-b324-6e8812fe26e7_at_default>



Just following back up on this one, it seems the error message was actually incorrect (which is also being addressed), but the main issue was doing the silent install without specifying the absolute path to agent.rsp. The response file location has to be passed like this:

RESPONSE_FILE=c:\temp\agent.rsp

rather than:

RESPONSE_FILE=agent.rsp

HTH someone else in future.

Pete

Pete Sharman
Principal Product Manager
Enterprise Manager Product Suite
33 Benson Crescent CALWELL ACT 2905 AUSTRALIA

Phone: HYPERLINK "tel:+61262924095"+61262924095 | | Fax: HYPERLINK "fax:+61262925183"+61262925183 | | Mobile: +61414443449


"Controlling developers is like herding cats."

Kevin Loney, Oracle DBA Handbook  

"Oh no, it's not, it's much harder than that!"

Bruce Pihlamae, long term Oracle DBA


 

From: Peter Sharman
Sent: Thursday, April 3, 2014 9:38 AM
To: JBECKSTROM_at_gcrta.org; oracle-l-freelists; oracle-db-l Subject: RE: 12C agent deploy failing on windows  

Jeffrey

Let me look into this one and get back to you. The ADE references are internal things that shouldn't be there so we need to fix that. L

Pete

Pete Sharman
Principal Product Manager
Enterprise Manager Product Suite
33 Benson Crescent CALWELL ACT 2905 AUSTRALIA

Phone: HYPERLINK "tel:+61262924095"+61262924095 | | Fax: HYPERLINK "fax:+61262925183"+61262925183 | | Mobile: +61414443449


"Controlling developers is like herding cats."

Kevin Loney, Oracle DBA Handbook  

"Oh no, it's not, it's much harder than that!"

Bruce Pihlamae, long term Oracle DBA


 

From: Jeffrey Beckstrom [mailto:JBECKSTROM_at_gcrta.org] Sent: Thursday, April 3, 2014 5:13 AM
To: oracle-l-freelists; oracle-db-l
Subject: 12C agent deploy failing on windows  

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 Tue Apr 29 2014 - 00:34:05 CEST

Original text of this message