6 Replies Latest reply: Mar 2, 2014 4:13 AM by user11153253 RSS

    ./crs/auto_patch.pl: No such file or directory

    user11153253

      Hi folks,

       

      i have created oc.rsp file and trying to applying patch it give me below error

       

      [root@vserv-EPPM-DB3 OPatch]# ./opatch auto /oracle/software/Patches/p17272731/  -ocmrf /oracle/app/grid/ocm.rsp

      ./opatch: line 173: ./crs/auto_patch.pl: No such file or directory

       

       

      Any suggestion will be higly appreciated

        • 1. Re: ./crs/auto_patch.pl: No such file or directory
          Ravinder Rathi-Oracle

          ++ Please try out by using latest opatch version and let us know the results.

          How To Download And Install The Latest OPatch Version (https://mosemp.us.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=274526.1Doc ID 274526.1)

          • 2. Re: ./crs/auto_patch.pl: No such file or directory
            Vandana B -Oracle

            Hi,

             

            Please try the following

             

            ./opatch auto /oracle/software/Patches/p17272731  -ocmrf /oracle/app/grid/ocm.rsp


            Regards,

            Vandana - Oracle

            • 3. Re: ./crs/auto_patch.pl: No such file or directory
              user11153253

              Hi vandana,

               

              yes  ./opatch auto /oracle/software/p17272731 -ocmrf /oracle/app/grid/ocm.rsp

               

              one server all patches succesfull but on another server one pactch is fail on  dbhome_1

               

              DB3 server

               

              [root@vserv-EPPM-DB3 OPatch]#  ./opatch auto /oracle/software/Patches/p17272731/ -ocmrf /oracle/app/grid/ocm.rsp

               

               

              [root@vserv-EPPM-DB3 OPatch]# ./opatch auto /oracle/software/Patches/p17272731/

              Executing /oracle/app/11.2.0/grid/perl/bin/perl ./crs/patch11203.pl -patchdir /                                                                                        

               

               

              cle/app/11.2.0/grid/crs/install/crsconfig_params

               

               

              This is the main log file: /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-0

               

               

              This file will show your detected configuration and all the steps that opatchau

              /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-02-24_10-04-07.report.log

               

               

              2014-02-24 10:04:07: Starting Clusterware Patch Setup

              Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconf

               

               

              Stopping RAC /oracle/app/oracle/product/11.2.0/dbhome_1 ...

              Stopped RAC /oracle/app/oracle/product/11.2.0/dbhome_1 successfully

               

               

              patch /oracle/software/Patches/p17272731/17076717/custom/server/17076717  apply

              patch /oracle/software/Patches/p17272731/16902043  apply successful for home  /                                                                                        

               

               

              oracle/app/oracle/product/11.2.0/dbhome_1

               

               

              Stopping CRS...

              Stopped CRS successfully

               

               

              patch /oracle/software/Patches/p17272731/17076717  apply successful for home  /oracle/app/11.2.0/grid

              patch /oracle/software/Patches/p17272731/16902043  apply successful for home  /oracle/app/11.2.0/grid

               

               

              Starting CRS...

              CRS-4123: Oracle High Availability Services has been started.

               

               

              Starting RAC /oracle/app/oracle/product/11.2.0/dbhome_1 ...

              Started RAC /oracle/app/oracle/product/11.2.0/dbhome_1 successfully

               

               

              opatch auto succeeded.

               

               

               

               

               

               

              This is the main log file: /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-02-24_10-04-07.log

               

              but on DB4 server

               

              [root@vserv-EPPM-DB4 OPatch]# ./opatch auto /oracle/software/p17272731 -ocmrf /oracle/app/grid/ocm.rsp

              Executing /oracle/app/11.2.0/grid/perl/bin/perl ./crs/patch11203.pl -patchdir /oracle/software -patchn p17272731 -ocmrf /oracle/app/grid/ocm.rsp -paramfile /oracle/app/11.2.0/grid/crs/install/crsconfig_params

               

               

              This is the main log file: /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-02-24_17-54-43.log

               

               

              This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:

              /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-02-24_17-54-43.report.log

               

               

              2014-02-24 17:54:43: Starting Clusterware Patch Setup

              Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params

               

               

              Stopping RAC /oracle/app/oracle/product/11.2.0/dbhome_1 ...

              Stopped RAC /oracle/app/oracle/product/11.2.0/dbhome_1 successfully

               

               

              patch /oracle/software/p17272731/17076717/custom/server/17076717  apply successful for home  /oracle/app/oracle/product/11.2.0/dbhome_1

              patch /oracle/software/p17272731/16902043  apply failed  for home  /oracle/app/oracle/product/11.2.0/dbhome_1

               

               

               

              please suggest me if you have ideas on that

               

              thanks & Regards.

              • 4. Re: ./crs/auto_patch.pl: No such file or directory
                Shah Firdous

                Hi,

                 

                I guess one issue can be with this server..

                 

                Since opatch auto retrieves the db home information from the configured databases. So, if there is no existing database, then “OPatch auto” will skip that RDBMS Home while patching.

                 

                 

                 

                What you may do is..

                 

                <GRID_HOME>/OPatch/opatch auto ./ -ocmrf ocmunconfig.rsp -oh <GRID_HOME>,<DB_HOME>

                • 5. Re: ./crs/auto_patch.pl: No such file or directory
                  Shah Firdous

                  I guess one issue can be with this server..

                   

                  The opatch auto retrieves the db home information from the configured databases. So, if there is no existing database, then “OPatch auto” will skip that RDBMS Home while patching.

                   

                   

                   

                  What you may do is..

                   

                  <GRID_HOME>/OPatch/opatch auto ./ -ocmrf ocmunconfig.rsp -oh <GRID_HOME>,<DB_HOME>

                  • 6. Re: ./crs/auto_patch.pl: No such file or directory
                    user11153253

                    Hi 

                     

                    i have solved. optach version is lower than what is required.