Friday, March 18, 2016

no emocmrsp oracle respose file found in OPTACH directory

grid@Linux211:[/u01/app/11.2/grid_home/OPatch/ocm/bin] $ cd /u01/app/11.2/grid_home/OPatch/ocm/bin/emocmrsp

*************************** ****************************
Missing emosmrsp 
Opatch requires ocm.rsp file. Note 966023.1 describes How To Create An OCM Response File For Opatch Silent Installation.

**************************** ****************************

Note :

The OPatch (Patch p6880880) brings the $GRID_HOME/Opatch/ocm/bin/emocmrsp.
You have to use the most recent OPatch anyway, it's a prerequisite for every PSU and patch to apply.



-bash: cd: /u01/app/11.2/grid_home/OPatch/ocm/bin/emocmrsp: No such file or directory

grid@Linux211:[~] $ cd  $ORACLE_HOME
grid@Linux211:[/u01/app/11.2/grid_home] $ cd OPatch/
grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ ls
crs   emdpatch.pl  ocm     opatch.bat  opatchdiag.bat  opatch.pl      oplan
docs  jlib         opatch  opatchdiag  opatch.ini      opatchprereqs

grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/11.2/grid_home
Central Inventory : /u01/app/grid/oraInventory
   from           : /u01/app/11.2/grid_home/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2/grid_home/cfgtoollogs/opatch/opatch2016-03-16_09-34-04AM_1.log

Lsinventory Output file location : /u01/app/11.2/grid_home/cfgtoollogs/opatch/lsinv/lsinventory2016-03-16_09-34-04AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = Linux211
  Remote node = Linux212

--------------------------------------------------------------------------------

OPatch succeeded.
grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ opatch version
OPatch Version: 11.2.0.3.4

OPatch succeeded.
grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $

*******************************************************************************
UPGRADING OPATCH TO OPatch version    : 11.2.0.3.12
*******************************************************************************

Asumming that you have downloaded and copied patch (6880880) to ORACLE_HOME

grid@Linux211:[/u01/app/11.2/grid_home] $ unzip p6880880_112000_Linux-x86-64.zip
Archive:  p6880880_112000_Linux-x86-64.zip
   creating: OPatch/
  inflating: OPatch/opatchdiag
  inflating: OPatch/opatch.pl
   creating: OPatch/jlib/
  inflating: OPatch/jlib/oracle.opatchcore.classpath.jar
  inflating: OPatch/jlib/opatch.jar
  inflating: OPatch/jlib/oracle.opatch.classpath.jar
  inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar
  inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar
  inflating: OPatch/jlib/opatchsdk.jar
  inflating: OPatch/jlib/oracle.opatchcore.classpath.unix.jar
  inflating: OPatch/jlib/oracle.opatchcore.classpath.windows.jar
   creating: OPatch/crs/
  inflating: OPatch/crs/patch11203.pl
  inflating: OPatch/crs/installPatch.excl
  inflating: OPatch/crs/patch11202.pl
  inflating: OPatch/crs/auto_patch.pl
   creating: OPatch/crs/log/
  inflating: OPatch/crs/patch112.pl
  inflating: OPatch/crs/patchDB.pl
  inflating: OPatch/crs/opatchauto
  inflating: OPatch/crs/CRSProductDriver.jar
  inflating: OPatch/crs/driver.jar
   creating: OPatch/ocm/
   creating: OPatch/ocm/doc/
 extracting: OPatch/ocm/ocm.zip
  inflating: OPatch/ocm/ocm_platforms.txt
   creating: OPatch/ocm/lib/
  inflating: OPatch/ocm/lib/emocmclnt.jar
  inflating: OPatch/ocm/lib/xmlparserv2.jar
  inflating: OPatch/ocm/lib/http_client.jar
  inflating: OPatch/ocm/lib/emocmclnt-14.jar
  inflating: OPatch/ocm/lib/regexp.jar
  inflating: OPatch/ocm/lib/jnet.jar
  inflating: OPatch/ocm/lib/jsse.jar
  inflating: OPatch/ocm/lib/osdt_core3.jar
  inflating: OPatch/ocm/lib/osdt_jce.jar
  inflating: OPatch/ocm/lib/emocmcommon.jar
  inflating: OPatch/ocm/lib/log4j-core.jar
  inflating: OPatch/ocm/lib/jcert.jar
   creating: OPatch/ocm/bin/
  inflating: OPatch/ocm/bin/emocmrsp
  inflating: OPatch/opatch
   creating: OPatch/opatchauto-dir/
   creating: OPatch/opatchauto-dir/opatchautocore/
  inflating: OPatch/opatchauto-dir/opatchautocore/oplan
  inflating: OPatch/opatchauto-dir/opatchautocore/opatchautobinary
   creating: OPatch/opatchauto-dir/opatchautocore/jlib/
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/ValidationRules.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/patchsdk.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/ProductDriver.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/osysmodel-utils.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/OsysModel.jar
   creating: OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/commons-compress-1.4.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/commons-cli-1.0.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/oplan_core.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/oracle.oplan.classpath.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/bundle.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/oplan_sample.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/Validation.jar
   creating: OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/activation.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jsr173_1.0_api.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jaxb-api.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jaxb-impl.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/jlib/automation.jar
  inflating: OPatch/opatchauto-dir/opatchautocore/oplan.bat
  inflating: OPatch/opatchauto-dir/opatchautocore/README.txt
  inflating: OPatch/opatchauto-dir/opatchautocore/README.html
   creating: OPatch/opatchauto-dir/opatchautodb/
   creating: OPatch/opatchauto-dir/opatchautodb/jlib/
  inflating: OPatch/opatchauto-dir/opatchautodb/jlib/oracle.oplan.db.classpath.jar
  inflating: OPatch/opatchauto-dir/opatchautodb/jlib/oplan_db.jar
  inflating: OPatch/emdpatch.pl
   creating: OPatch/scripts/
  inflating: OPatch/scripts/opatch_wls.bat
  inflating: OPatch/scripts/opatch_jvm_discovery.bat
  inflating: OPatch/scripts/opatch_wls
  inflating: OPatch/scripts/opatch_jvm_discovery
  inflating: OPatch/operr
  inflating: OPatch/operr_readme.txt
  inflating: OPatch/operr.bat
   creating: OPatch/opatchprereqs/
  inflating: OPatch/opatchprereqs/prerequisite.properties
   creating: OPatch/opatchprereqs/oui/
  inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml
   creating: OPatch/opatchprereqs/opatch/
  inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml
  inflating: OPatch/opatchprereqs/opatch/rulemap.xml
  inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml
  inflating: OPatch/opatch.bat
   creating: OPatch/oplan/
   creating: OPatch/oplan/jlib/
   creating: OPatch/oplan/jlib/apache-commons/
  inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar
   creating: OPatch/oplan/jlib/jaxb/
  inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar
  inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar
  inflating: OPatch/oplan/jlib/jaxb/activation.jar
  inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar
  inflating: OPatch/oplan/jlib/Validation.jar
  inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar
  inflating: OPatch/oplan/jlib/OuiDriver.jar
  inflating: OPatch/oplan/jlib/EMrepoDrivers.jar
  inflating: OPatch/oplan/jlib/JMXDrivers.jar
  inflating: OPatch/oplan/jlib/bundle.jar
  inflating: OPatch/oplan/jlib/CRSProductDriver.jar
  inflating: OPatch/oplan/jlib/oplan.jar
  inflating: OPatch/oplan/jlib/ValidationRules.jar
  inflating: OPatch/oplan/jlib/osysmodel-utils.jar
  inflating: OPatch/oplan/jlib/automation.jar
  inflating: OPatch/oplan/README.html
  inflating: OPatch/oplan/README.txt
  inflating: OPatch/oplan/oplan.bat
  inflating: OPatch/oplan/oplan
  inflating: OPatch/opatchdiag.bat
  inflating: OPatch/README.txt
 extracting: OPatch/version.txt
   creating: OPatch/docs/
  inflating: OPatch/docs/cversion.txt
  inflating: OPatch/docs/Prereq_Users_Guide.txt
  inflating: OPatch/docs/FAQ
  inflating: OPatch/docs/Users_Guide.txt
 
grid@Linux211:[/u01/app/11.2/grid_home] $ ls -ll p6880880_112000_Linux-x86-64.zip
total 51796

-rw-r--r--.  1 grid oinstall 52733900 Mar 16 09:58 p6880880_112000_Linux-x86-64.zip

grid@Linux211:[/u01/app/11.2/grid_home] $ rm p6880880_112000_Linux-x86-64.zip
grid@Linux211:[/u01/app/11.2/grid_home] $ cd OPatch

grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ ls
crs          jlib    opatchauto-dir  opatchdiag.bat  operr             oplan       version.txt
docs         ocm     opatch.bat      opatch.pl       operr.bat         README.txt
emdpatch.pl  opatch  opatchdiag      opatchprereqs   operr_readme.txt  scripts

grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ PATH=$PATH:/u01/app/11.2/grid_home/OPatch
grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.12
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/11.2/grid_home
Central Inventory : /u01/app/grid/oraInventory
   from           : /u01/app/11.2/grid_home/oraInst.loc
OPatch version    : 11.2.0.3.12
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2/grid_home/cfgtoollogs/opatch/opatch2016-03-16_09-59-17AM_1.log

Lsinventory Output file location : /u01/app/11.2/grid_home/cfgtoollogs/opatch/lsinv/lsinventory2016-03-16_09-59-17AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: Linux211.devquikpayasp.com
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = Linux211
  Remote node = Linux212

--------------------------------------------------------------------------------

OPatch succeeded.
grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ cd bin
-bash: cd: bin: No such file or directory

grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ ls
crs          jlib    opatchauto-dir  opatchdiag.bat  operr             oplan       version.txt
docs         ocm     opatch.bat      opatch.pl       operr.bat         README.txt
emdpatch.pl  opatch  opatchdiag      opatchprereqs   operr_readme.txt  scripts

grid@Linux211:[/u01/app/11.2/grid_home/OPatch] $ cd ocm/bin/

*******************************************************************************
Now we can see the oracle response file. This file is a part of OPTACH  :
*******************************************************************************

grid@Linux211:[/u01/app/11.2/grid_home/OPatch/ocm/bin] $ ls
emocmrsp
grid@Linux211:[/u01/app/11.2/grid_home/OPatch/ocm/bin] $

No comments:

Post a Comment