3 Replies Latest reply: Jan 8, 2013 5:51 AM by Srini Chavali-Oracle RSS

    About opatch version

    Sabrina711
      Hi experts,

      I'm running database upgrade from 11.1.0.7 to 11.2.0.3.
      I just installed a new ORACLE_HOME and updated the env to the new one.
      my env file is like this:
      PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/appsutil/scripts/VIS_infsgvm09/

      [oracle@infsgvm09 11.1.0]$ cd $ORACLE_HOME
      [oracle@infsgvm09 11.2.0]$ opatch version
      OPatch Version: 11.1.0.9.9

      OPatch succeeded.


      look,the opatch is old.
      But when I go into the OPatch folder,it's right.

      [oracle@infsgvm09 11.2.0]$ cd OPatch/
      [oracle@infsgvm09 OPatch]$ opatch version
      Invoking OPatch 11.2.0.1.7

      OPatch Version: 11.2.0.1.7

      OPatch succeeded.
      [oracle@infsgvm09 OPatch]$ cd ..
      [oracle@infsgvm09 11.2.0]$ opatch version
      OPatch Version: 11.1.0.9.9

      OPatch succeeded.


      Why?Is there other parameters should be update?
      Thanks a lot.